I am here to talk about something I am currently working on. The title is not determined yet. This is my "first" Flixel game. So I would need your help with a few things. I am willing to share my code as-is at the moment, in hope of someone to give me tips on optimizing the code.
The reason for this is that I want to avoid spaghetti code and keep everything clean, if there is someone to help me do this. Maybe how to keep all code from the PlayState class, tips of functions in other classes, how to do things the most clean way.
Here is a few screenshots of course:
And here is another:
In the second picture I made it visible with purple rectangles where it collides, and the green spots is the interaction spots.
If anyone is willing to check on the code, let me hear!