The Daily Click ::. Projects ::. Breakfast Battle
 

Project: Breakfast Battle
Project Started: 8th July, 2009 Last Update: 18th August, 2009
Project Owner: s-m-r Project Members:
Project Type: Early Morning Shmup Project Progress:

Update: Monday, 20th July, 2009
Posted 20th Jul 09, by s-m-r  
Boss #2 (the short stack of pancakes) now has movement and attacks coded in. Next step is to make sure the components blow up when the player hits them enough times...For some reason, my Group conditions aren't working properly.

For this boss, I experimented a little bit in providing different movements (listed as "Movement #1", "Movement #2" etc. in the object's properties panel), and enabled it to work rather smoothly. There's a definite transition from one movement to the next; essentially, the two movements used for this boss are simple paths, but they are both very different from one another. I set up a few timers to determine when the boss object needs to change, and now the different pancakes flit about the screen using different movements.

An inconvenience I noticed in the coding was that I'd not found a way to code something related to a specific Movement reaching the end of its path. I'm just being fussy, but this means that essentially I need to code in separate switches for the completion of each of the movements to allow the movements to switch back and forth. I may eventually figure out a way to clean up the code (using flags more creatively, for instance) but in the meantime it's annoying.

No comments have been posted for this post.


 



Project Forums


Favourite

Advertisement

Worth A Click