Angry-Squirrels / RadEngine

A Haxe game engine
2 stars 0 forks source link

change the way editor is added to the engine #5

Closed Tomobodo closed 10 years ago

Tomobodo commented 10 years ago

Currently the editor is visible by pressing ctrl + alt + D in debug mode only. But we may want to use the editor in release mode as well. The user should be able to compile the game with the editor in debug and release mode, and without the editor in debug and release mode as well.

Use a macro at compilation time to order the compiler to include the editor or not. Don't use the #debug macro.

When compiled in editor mode, the suer whouldn't have to do anything to see the editor.