View Single Post
Old 29 December 2018, 17:15   #5
LeCaravage
Registered User
 
LeCaravage's Avatar
 
Join Date: May 2017
Location: AmigaLand
Posts: 459
After laborious debug sessions I have something that don't crash after few seconds.

The collision detection now works fine. The bottom screen flashes when a detection occurs (just a test feature). Red screen for a projectile hitting an ennemy and a green one when the hero is touched by a dangerous bob.

The way, our hero elimates an ennemy is described like this :

Hit ennemy with tomatoes, after several hits the ennemy turns into a big red ball. To finish him, you may pass through the ball and it will be ejected, slams against the walls and disappear.

Need to make the smoke trail a little bit more bigger. Carefull because if the player decide to hit 3 or 4 big balls in a row, it will add a lot of bobs during the next frames. The risk is a slowdown, but I'll try to avoid it.
The ennemy turned into a big red ball stays levitating during few seconds before returning to normal state if nothing happens.

[ Show youtube player ]
LeCaravage is offline  
 
Page generated in 0.04488 seconds with 11 queries