When the player touches this goal post, we should regenerate the level, spawn the player at the beginning of it again (this can all be done via just reloading PlayState), and make it a little longer than it was before.Goal posts can be found in flags.png feel free to use whichever one you’d like! Note that the flag and the pole are separated, so you’ll have to spawn a GameObject for each segment of the flag and one for the flag itself. Once the lock has disappeared, trigger a goal post to spawn at the end of the level.The key should unlock the block when the player collides with it, triggering the block to disappear. In a, generate a random-colored key and lock block (taken from keys_and_locks.png in the graphics folder of the distro). ![]() Program it such that when the player is dropped into the level, they’re always done so above solid ground.Read and understand all of the Super Mario Bros.Super Mario Bros., the Key and Lock Update Objectives
0 Comments
Leave a Reply. |