
Installing the Cocos Creator engine and visual studio code as needed for the course.
In this section we learn how to create a project as well as how to lay out some simple scenes that will be used in the game.
We continue building our game by first enabling the box2D physics and then follow up with an overview of the rigidBody and its options.
We look at the BoxCollider options and how they can be used in a game of this type.
We make sure that the ground is destroyed when it leaves the game scene. We also write code that enables our ground to spawn.
We make the player have the running animation and add the polygon collider component. We then enable the fixed rotation property.
We make the player to be able to jump in this section by applying forces appropriately. We also talk about adding the keyboard event listeners and the touch event listeners.
We see how to detect collisions and see what physics body the player collided with. We use this with our logic to enable the player to jump again.
We add the cactus and bush as obstacles for the player to be able to jump.
We make the obstacles spawn randomly so that the they are unpredictable.
We make the collision detector notice when the player hits the obstacle and then end the game.
I show how to change between two scene using the button on the menu Scene.
I show how to use the label for adding scores to the game
I show how to have music and effects for the game
Building the game information as well as stability updates
This course teaches you how you can create a 2D endless runner game. The player will be jumping obstacles making sure not to hit any of them. We will see how we can spawn different obstacles dynamically on the scene and even add scores to our game. The obstacles will be coming much faster each time making the game have some difficulty. The game will be based on 2D physics with gravity, double jumps, and collision detection working to make a fun experience. We will include sound effects appropriately and use the animation tool that is built into the cocos creator engine. All the files necessary for the course are included and there are no special requirements to be able to participate in this course. This course goes straight to the point of creating a simple 2D endless runner game but gives a good foundation and understanding of the game development principles of Cocos Creator. At the end of the course, you will have a working 2D endless runner game that can be deployed to your preferred platform of choice. Upon completion, the student should be able to understand how to work with the cocos creator component based development paradigm and should be familiar with the common functions and tools used in the engine.