Mission accomplished

This game has quite a lot going on and it uses a lot of different sprites. It can especially be hard to manage all these different elements. Keeping track of layers to simulate depth can be a challenge. With a bit of thought and planning, we can make it work.

Just remember the relevant information for each object. Think about what it needs to do and what it needs to know in order to do it. This way you can decide whether you need variables; whether these variables need to be made available to all the sprites or you can keep them only for a single sprite.

Then it's just a matter of turning desired actions into script commands like we did with the movement patterns. First, we thought of what the movement should look like. Then we wrote a script to describe that movement.

Mission accomplished
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.186.79