NicoM1 / IceEntity

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

Make use of live asset-reloading to update scripts while running #2

Closed NicoM1 closed 10 years ago

NicoM1 commented 10 years ago

I think this is possible, but I'm not gonna attempt it for a while, because I'm not sure how I'll handle passing the relevant scripts to entities, due to many scripts being stored in the main xml file

NicoM1 commented 10 years ago

Works for separate scripts now (ie scripts that aren't specified in xml) which I think its good enough because any script large enough to warrant editing at runtime should really be in its own file. Currently adding an (@)reload function, to allow changing variables after a reload (like what init does at startup)