Summary

You learned a lot of different things in this chapter, from changing the size of the game window and layout to using an imagepoint to spawn a new object relative to an existing object. You then learned about different objects to store data: arrays, dictionaries, and WebStorage. You also learned how to store data in an array and dictionary.

You then learned in a bit more detail about the differences between an array and a dictionary and when to use them. Another small but useful thing that you learned is how to disable and re-enable events. After that, we found out how we can store data on the player's computer instead of saving it only in the game. After that, we retrieved this data in the later playing sessions. Finally, we discovered a concept called loop, which can be used to create a leaderboard.

If you want to delve deeper into the complicated topics I covered here, you can visit some of the pages at Scirra's online manual; for example:

That's a lot of stuff covered this time around; I hope you understood all of it. You learned about a lot of things Construct 2 can do for you, but there's still one more thing you can do with the tool: create smarter enemies. In the next chapter, we will make our enemies capable of telling where the player is and acting accordingly.

..................Content has been hidden....................

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