NicoM1 / IceEntity

A simple framework for managing entitys, components, and live-at-runtime scripts in haxeflixel
MIT License
58 stars 7 forks source link

Null Function Pointer #25

Closed soundyogi closed 9 years ago

soundyogi commented 9 years ago

Hi, I get a Null Function Pointer error in my Android and Windows Builds with the Sample Project.

(Is Android Building even Possible? Neko runs fine.

Thanks in Advance!

This is the most exciting thing I've discovered in the haxe Universe !

NicoM1 commented 9 years ago

I'm sorry to say, but this project has kind of died off, so I'm not really sure if I can go back and figure out your issue, especially as I have no android knowledge:/ I'm really sorry though, thanks for your interest in the project, also if you want any recommendations on what to check out in the haxe world I'd be glad to oblige:)

Ps. do you mean the demo on my account? I don't think that runs on current iceentity....

NicoM1 commented 9 years ago

oh, just saw you changed the issue, If you wish I can try to help you solve it, but my honest recommendation would be to move to a more stable library for making games, I can honestly say that I made a complete game in this, and it ended up being a debugging nightmare (unless all you want is the entity component system and xml parsing, then I'd say its fine to use, just stay away from scripts)

soundyogi commented 9 years ago

Shit, you are fast! Thx for your answer!

I'll try without the scripts. Yes I want an ecs system with xml loading which works with haxeflixel.

Live-Reloading is nice but not necessary.

So just entities in xml and the rest with regular haxe?

NicoM1 commented 9 years ago

yes, you can try the components system, and that way you can even add the components through xml, but they must be hardcoded in haxe. tbh, I made a full (small) game in this, and I never once used live-reload, I have the muscle memory for run, close, tweak, rebuild, and haxe builds so fast it barely matters (then again I was doing flash and neko mostly)

NicoM1 commented 9 years ago

(god I'm under selling my own framework lol)

NicoM1 commented 9 years ago

note the components section here, https://github.com/NicoM1/IceEntity#-entity-parser , for whatever reason, it no longer mentions that parameter names have no effect, they must be supplied in order, but I recommend naming them for safety

soundyogi commented 9 years ago

LOL,

Seriously this seems like awesome work. Can you say something about the Performance Impact? I have no Idea how to structure a haxeflixel game but with the ecs system It would make it so much easier.

It would speed up the process so much even alone with the xml parsing (do you have a json example?^^)

I will try to contribute to this if I ever get good enough ^^; Thx for every little bit of info ! thanks thanks thanks and thanks

NicoM1 commented 9 years ago

performance should be negligible if you arent scripting, json was in the works when I stopped working on this, so its not currently possible, its too bad you didnt find this when it was active, but let me know how it goes:)

soundyogi commented 9 years ago

I will try, but perhaps nag you again :D thx!

NicoM1 commented 9 years ago

Just so I can say I said it, my honest recommendation if you have the time would be to learn luxeengine, its a much nicer laid out engine vs. haxeflixel, although a slightly steeper learning curve, but this way you get built in entity systems, a very well thought out engine and more cool stuff in the works, plus more consistency between platforms (imo, however flash is not a platform in it, and neko is unofficially supported, but web (html) and native (desktop/mobile) work very nicely)

soundyogi commented 9 years ago

Sold. Thx! I will try it!

Will try the haxeflixel ecs combi anyway :P

NicoM1 commented 9 years ago

no problem, this is what I've moved to:)

NicoM1 commented 9 years ago

also, if you need guidance or anything in future, feel free to tweet @nico_m__ :D

soundyogi commented 9 years ago

Oh I will, thx!

flow is built using node.js

they use ghost as their blogging platform.

Since I'm a JS fetishist. I will set on their Idea :D

(Dont worry this is my last comment here ^^):

You know any good devblogs / tutorials you would want to share with a gamedev noob?

I was into backend stuff before this, know C, C# and heavy JS.

NicoM1 commented 9 years ago

hmm, gamedevtutsplus has some pretty good series, you're not gonna get much haxe stuff but if you know a fair amount of programming it shouldnt be hard to translate, other than that I'm not sure, also let me know what your twitter is, then I can give you more info if you need:)