BorderScript ^
I am trying to add my Game Over Screen when my Bird falls off the screen.
I’ve been following Game Maker Toolkit’s video on how to recreate Flappy Bird in Unity and now I’m seeing what I can do to improve it and I decided to start with adding another lose condition.
LogicScript ^
One way is by a collider far below that the player hits. Service the collider and call game over.
Another way is to check the player’s Y position versus a known “too far down” position, then call game over.
Whatever it is, code will be the tiniest part of it.
I recommend starting with any tutorial for any game that has such a thing, like a flappy bird tutorial. Nobody wants to retype all that in this little text box and it wouldn’t be very helpful in any case.
Two steps to tutorials and / or example code:
- do them perfectly, to the letter (zero typos, including punctuation and capitalization)
- stop and understand each step to understand what is going on.
If you go past anything that you don’t understand, then you’re just mimicking what you saw without actually learning, essentially wasting your own time. It’s only two steps. Don’t skip either step.
Imphenzia: How Did I Learn To Make Games: