Game Development Reference
In-Depth Information
enemyRed
Do you remember how we managed to build our projectile components in the fruits game?
The same magical component will work efficiently in building these kinds of simple en-
emies.
Using just a projectile component, paper Flipbook , and Sphere collider , I was able to
build an entire enemy.
Just remember that I've made some tweaks to the projectile component to alter its behavior
to match what I had in mind. Set initial speed to 120 , activate Should Bounce , reduce
Bounciness to a very low value such as 0.1 , disable Friction by setting it to 0.0 , and finally
give it a velocity of 200 on the X -axis as this represents the horizontal movement.
Search WWH ::




Custom Search