This is a tower defense style game in which you control a witch with powers to exchange trees by powerful turrets to defend your school in each phase. The game is initially planned to have 15 levels
Finally I concluded the plans and put into practice the last tower that had planned for the game.
Posted by mcunha98 on Jul 22nd, 2014
The melting pot-style tower was the last Tower implemented. This tower had a bigger challenge that I needed to win that it's about making the trajectory of projectiles (liquid bubbles which is bubbling and are thrown at enemies).
The problem is do just launching the projectile in the desired path, really was something complex to assemble, but using bezier curves that are fixed at both ends (at the beginning of the path and on the enemy) the projectiles are launched with an excellent accuracy.
Using the concept of bezier curves and a few lines of code (ok, were not so few as well) managed to create the desired path. Next weekend should stay focused on making the projectile hit the enemies and then will begin the second part of the problem because this tower has the feature to change the behavior of the enemies (like for example do they come back in the path rather than following towards the base).
Finally Gets a taste of how was the process at design time and at run time with the path produced, where a cube out of the cylinder to achieve the cylinder B on inofrmada speed and on the angle past through the 4 control points of the bezier curve.