Danmakufu .NETWIP: pre-alpha / planning stage
What is it?Danmakufu.NET is yet another danmakufu clone. A very object-oriented clone. Danmakufu.NET reads external C# files, compiles them at runtime, and uses them to let the user create games.
Obviously, you have to know C# (or Java, which is pretty similar) to make scripts.
The current data setup is like this:
Data -> Gamemodes, Players
Gamemode -> Code, Resources, Entities, Scripts, main gamemode file
Player -> Code, Resources, Entities, Scripts, main player file
Code: folder containing useful classes (usually static) that contain useful, often used functions.
Resources: folder containing images, music and sounds for the script.
Entities: folder containing entity classes, such as enemies, bullets, familiars, etc.
Scripts: folder containing bullet pattern classes. You can "attach" one or more patterns to entities.
What's done so far?- Dynamic compilation system (runtime compilation from external .cs files)
- SFML integration
- Primitive entity integration
- Primitive game mode integration
What should I do?Well, I supposed you've read how the program is supposed to work. Since I've done practically nothing, I can radically change the data setup and other stuff. Do you think I should make any changes?
Here's a video of an un-animated Sanae shooting stuff.
http://www.youtube.com/watch?v=txe5URLD8eAAnd here's how it was done.
http://pastebin.com/jzUPYBrP - Sanae player script, main class
http://pastebin.com/7ygZ1Hin - Sanae player script, shot class
http://pastebin.com/SAMg9qjZ - Sanae gamemode script, main class
Do you like this approach? Keep in mind that I will trivialize many of the stuff you've seen in the above pastebins by making some external libraries to quickly making bullets with commands such as CreateShotA or stuff like that. Overall, do you feel this is the right approach?