Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 160 - 2615_KEC
P. 160

    Step  2   Adding Enemy Cars

                         Create Two Enemy Cars:

                        o  These enemy cars move downwards and act as obstacles.

                        o  Tip: Pick different car sprites for variety.
                      Step  3   Adding Start and Restart Sprites

                         Create the Restart Button:

                        o  The restart button is hidden at the start and appears when the player loses.

                         Create the Start Button:

                        o  The start button is visible at the beginning and disappears once the game starts.

                        o  Tip: Customize the start/restart buttons to make them more engaging.
                      Step  4   Creating Boundaries

                         Create Edges for the Player Car to Bounce Off:

                        o  This prevents the player car from moving off the screen.

                        o  Edge sprites act as invisible walls to keep the player on the road.

                      158   Premium Edition-V

| 155 156 157 158 159 160 161 162 163 164 165 |