Hi Everyone,
So, I have finished to port the great UnityLearn SpaceShooter project to PlayMaker, not a single line of code for the exact same gameplay.
It's on
github for the one who want to clone it quick.
I haven't fully documented everything, so please don't hesitate to dive into this, check out all the Fsm and ask questions where you don't get how it works.
The most difficult fsm being the ennemy evasive routine, which can be definitly simplified but I wanted to do a one to one port, so it's for intermediate levels. The rest is totally fine for beginners to dive in and advanced users to check it out and comments on how it could be done better or differently.
Also I produce webgl builds,
one with PlayMaker and
the original one so that you can compare perfs, and it's very positive,:
only 1Mb more for the build size, 0.5Mb more memory allocated and 1-2 FPS drop. I say this is pretty amazing knowing how totally different the development approach is compared to scripting. Fair enough I know most of the pitfalls...
so I encourage you to actually start a new project with the raw SpaceShooter, and start by redoing the asteroid, the background scrolling, the player spaceship, the ennemies, etc etc and whe you are stuck, look it up on this port and then go back and try to progress this way.
Bye,
Jean