Apna khud ka flappy bird khel banain 10 minute mein!

3

Index

Taggé

Fichiers attachés

Les fichiers suivants ont été attachés à ce tutoriel:

Statistiques

10,286 visites, 15,611 vues

Outils

Partager

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 3 Jan, 2015. Last updated 25 Feb, 2019

Step 7

As you can see, only one set of pipes ever appears! We want to create new pipes every second. To do this add a new event. Select "System" and under "Time" select "Every X Seconds". Set the value to "1.5" (you can make it less if you want it to be harder, or more if you want it to be easier!)

For the action, go to "System", "Create object" and select "Top Pipe". Keep "Layer" at "0", set "X" to "400" and set Y to "random(50, -250)" (without quotation marks). Add another action for this event, but create "Bottom Pipe". Set this pipe to be created at "X = 400" and "Y = PipeTop.Y + 700".

Play your game! More pipes will be created until you hit them! You might find the first set of pipes is bunched with the second set, if this is the case go back to your "Layout View" and move the pipes into an easy first position like so:

  • 0 Comments

Want to leave a comment? Login or Register an account!