Respawn Checkpoint Flags (Game Builder Garage Tutorial)

  Рет қаралды 28,222

DaveNodon

DaveNodon

Күн бұрын

Today we are going to add not only one but two checkpoints to our game in Game Builder Garage. We Start by creating a checkpoint flag and better understanding the logic behind what’s happening. Once we have that down, let’s copy and paste it! After some counting and comparing, we now know what the last tripped checkpoint Is and can teleport ourselves back to it. To expand the system as it currently exists, you could just keep counting up.
As I mentioned in the video I’m sure there are loads of ways to do this better or more efficiently. I’m just trying to keep this conceptually simple so the biggest number of people can follow along and get something from this.
Where to go from here? Some ideas on next steps for you;
* Optimize! Maybe we can use only one set of textures/effects regardless of the number of checkpoints?!
* If you have several checkpoints, use something like the marker nodon system, might bring down the nodon count vs. all those compares and constants.
* More Effects/Audio to sell the character loss state and teleporting reappearance to sell the movement better to players.
* Find a way to independently trigger checkpoints out of order?!
TimeStamps :
00:00 Intro
00:13 Create Checkpoint
05:02 Bonus #1 Multiple Checkpoints
09:35 Bonus #2 Count Down Lives
12:18 Outro
Questions, suggestions, requests? Let me know in the comments.
Thanks for watching,
have a lovely day!
─────────────────
Game: Game Builder Garage
Genre: Programming Game
Platforms: Nintendo Switch
Developer: Nintendo
Publisher: Nintendo
Release Year: 2021
─────────────────
#GameBuilderGarage #Nintendo #GBG

Пікірлер: 94
@goingdiagonal6693
@goingdiagonal6693 3 жыл бұрын
You can also use Swap Game nodon, since they keep a number after swap, and they can swap to the game your still playing! Make it so you swap with 1 if you die before CP, swap with 2 if you have. Then at the start, make a teleporter that works with 2 only. This works good for games that have enemies that you want to reappear.
@DaveNodon
@DaveNodon 3 жыл бұрын
Not only logical and easy to follow, but not hard to implement either. An all around great solution!
@IceMetalPunk
@IceMetalPunk 3 жыл бұрын
And if you use a marker nodon with the output of the Swap Game nodon, it becomes extremely easy to expand to any number of checkpoints. (Well, up to 8 because there's only 8 teleporter IDs, but still.)
@goingdiagonal6693
@goingdiagonal6693 3 жыл бұрын
@@IceMetalPunk If you put a teleporter on a free slide nodon, you get more than 8 teleporters! Though set ing up the coordinates may be tricky.
@IceMetalPunk
@IceMetalPunk 3 жыл бұрын
@@goingdiagonal6693 True! And maybe it wouldn't be too tricky (though perhaps it would require a lot of nodons). You can use a map nodon to multiply values without needing a constant, so imagine this setup: you have a Move Marker, inside which is a row of pairs of bulls-eyes. Each bulls-eye leads into a Map that maps 0-1 onto 0-X for the first bulls-eye in the pair, and 0-1 onto 0-Y for the second. All of the "0-X" maps join up in the X coordinate of the free slide connector, all of the "0-Y" maps join up in the Y coordinate. So now, you've basically got yourself a little Move Marker that can scan down the line and select a pair of (x,y) coordinates at will. Obviously you just connect that up to the output of a Swap Game nodon (mapped to 0-1) and boom, done. With this, you could use the same teleporter for infinite checkpoints, and it would only cost 4N + 5 nodons (including the teleporter, the Swap Game nodon, the Marker nodon, and the map into the Marker, and the Free Slide connector).
@pawngrabber4853
@pawngrabber4853 3 жыл бұрын
So you came to the same idea as i did. I already used that for the first game i made and thought how long will it take until others do.
@CamTGM
@CamTGM 3 жыл бұрын
I REALLY NEEDED THIS THANK YOUUU
@100cgi
@100cgi 2 жыл бұрын
same
@whospwow
@whospwow 2 жыл бұрын
I really like the fact that you’re a purple constant 😃
@cross3153
@cross3153 3 жыл бұрын
Great video on checkpoints! I was wondering how you would implement them, turns out it’s as simple as that; Also, I have a quick tip: In 11:40 , you said how in order to fix that “Touch Sensor Nodon” issue you use a “Trigger from 0 Nodon”; There are two other ways you can do it that doesn’t require a “Trigger from 0 Nodon”: 1. In the “Counter Nodon” settings you can put the Count Timing to “On change from 0” instead of the default “While not 0” 2. In the “Touch Sensor Nodon” settings you can put the Output Timing to “On Touch” instead of “While Touched” This only saves you one Nodon in this instance, but it could be useful if you’re making a game with a high amount of Nodons, could maybe save you more Nodons if you use a lot of “Trigger from 0” Nodons for Counter and Touch Sensors Nodons, etc.
@Spottedplanet
@Spottedplanet 3 жыл бұрын
Thanks so much! I think this’ll really make my games more tolerable 😅
@Drachenbauer
@Drachenbauer 6 ай бұрын
the touch sensor can be as big as the flag texture, so touching the flag activates the checkpoint, in super mario games, the collision area uf checkpoint-flags is also just as big as the flagpole or gate.
@Kromer__
@Kromer__ 3 жыл бұрын
This is super cool. In scratch me and my friend made a game and I wanted to make the sequel in game builder garage but i had no idea how to do the check points
@pandadragongaming
@pandadragongaming 3 жыл бұрын
Great Video. I love your tutorials.
@Luigistupid5731
@Luigistupid5731 10 ай бұрын
Along with the nodons among those nodons who typically do not have any sensitivities, the trigger from 0 nodon is the only thing to use when you make a level that is not the most effective thing, not just the fact that it is but no at all, it's Almost impossible to reach levels on impact, so if you're trying to make it easier then use them all over again and use you're nodons again.
@ramonalavigne5508
@ramonalavigne5508 3 жыл бұрын
Dom sent me over. I think it was a good call :) I'm gonna try this out when I make my next game
@SilentKnightJL
@SilentKnightJL Жыл бұрын
Thank you so much! Did have to re watch a couple times though because I kept on messing up😅
@graysonlegend1039
@graysonlegend1039 3 жыл бұрын
thanks for all the tutorials
@Trigora
@Trigora 3 жыл бұрын
first ever vid i saw without any dislikes
@heatherbrown723
@heatherbrown723 2 жыл бұрын
Thanks this is a great video
@Omega_Mart_Employee_K1Z
@Omega_Mart_Employee_K1Z 2 жыл бұрын
Is there a way that this can work with the object break nodon?
@A_kool_Person
@A_kool_Person 2 жыл бұрын
The and nodon won't connect with the teleport object exit nodon Is my switch outdated or sm? Plz reply
@chrisf7015
@chrisf7015 2 жыл бұрын
The game swap method mentioned means other than one passed value you would lose any other counters or object states right? I suppose you would have to encode anything you needed to keep into that single passed number and use up nodons to translate it back.
@ashleymakebyterminalmontag3362
@ashleymakebyterminalmontag3362 3 жыл бұрын
Can you make a video like : "A ennemy touch you but you can respawn at the checkpoint"
@DaveNodon
@DaveNodon 3 жыл бұрын
This should be easy to adapt with this. That signal we are sending to the respawn system, just make it when an enemy touches you.
@anidiotontheinternet2184
@anidiotontheinternet2184 3 жыл бұрын
Great video! Btw, you can attach a touch sensor nodon to the bottom of the person and make it detect the world then activate the retry
@DaveNodon
@DaveNodon 3 жыл бұрын
Yes! Or even a location sensor and if their Y goes below your intended point retry that way too.
@leolionking6102
@leolionking6102 25 күн бұрын
Amazing tutorial! The only problem that I encountered is that because I have aliens in my platformer, if I die to them, I restart from the very beginning, regardless if I got the checkpoint or not. Is there a way to fix it?
@skunktronix
@skunktronix 2 жыл бұрын
I've done something similar to this, but I set mine up so that you can put a checkpoint literally anywhere in the world and it'll work. You can even move just the checkpoint flag and touch sensor, and the location for the teleport changes with it. Working on a video to show it.
@DaveNodon
@DaveNodon 2 жыл бұрын
Awesome. Can’t wait to see it. I think since I made this, my new favorite method is using the swap game to restart the game and send a value of the current checkpoint. Uses a lot less nodon than the way in this video. Your method sounds like a lot of fun. I can see someone building some gameplay or puzzles around the concept of a movable checkpoint.
@skunktronix
@skunktronix 2 жыл бұрын
I posted my dynamic checkpoint video if you want to see it. It's on my channel. 😅
@turtlemaster4017
@turtlemaster4017 3 жыл бұрын
Thanks for the tutorial, anyway for your next video can you teach me how to use the angle calculation nodons
@DaveNodon
@DaveNodon 3 жыл бұрын
Hi there! The angle nodons just give you the angle that something is facing in from -180 to 180. You need to know how you want to use them first. What kind of project are you thinking of ? For an example project you can check out the car follow video I have up. We use the angle difference nodon to get the difference of an angle to know what way to turn. I think the facing player video also uses angles.
@ElionnieHB
@ElionnieHB 2 жыл бұрын
Good
@marlosuper
@marlosuper 3 жыл бұрын
how do you make that kind of camera you use in these videos where its 2d platformer based until you turn it and you still press left and right to go those directions
@DaveNodon
@DaveNodon 3 жыл бұрын
Hi there! The camera is the same as a normal 3D. Up/Down Left/Right on the right stick. I set the camera settings to Z -3 or so so it is behind the player. The difference for these is in the player character. I don’t put any input on the forward/back & you have to set the relative movement in the person settings to world and not camera. That will make sure they go only x & y no matter what. If you do that with this tutorial just play around with the teleport settings so there’s no glitches or something.
@marlosuper
@marlosuper 3 жыл бұрын
@@DaveNodon ok it worked thanks
@lotharheidel3320
@lotharheidel3320 3 жыл бұрын
Your Videos are so amazing. To be honest almost every video of yours, helps me with my Parcours Edit: Because of my game engine, the checkpoints dont work 😓 Edit2: Hey it is me, again. With a request: For my 2'D Parcours I wanted to implemend a spinning chamber (X-Axis). And my problem is (like always), I don't know which nodons' to use.😐 I hope that you can help me. If you can not: It is ok. Best wishes.
@lotharheidel3320
@lotharheidel3320 3 жыл бұрын
Thanks for the heart i finally decided to subscribe
@DaveNodon
@DaveNodon 3 жыл бұрын
Thank you! You can try to use the moving objects - rotating object. Make it unmovable and Attach it to the thing you want to rotate with. Then to test it give in a constant input and play around with the X/Y/Z direction until you have the effect you're looking for. Let me know if this helped at all.
@lotharheidel3320
@lotharheidel3320 3 жыл бұрын
@@DaveNodon I have tried it, but some settings are not able to be changed. The chamber doesn't rotate at all.😂😭 So could you please make a video about it?
@digi102
@digi102 2 жыл бұрын
Before I watch, I wanna guess what it is. Fancy object, connected to box, connected to texture, and the box has a teleport exit. If you touch it, it turns a flag on which is connected to an AND nodon. When you die, a teleport entrance connected to the player activates and sends the player to the respawn flag. Probably wouldn’t work since I’m not the best at GBG yet, but that’s how I would try. Btw the fancy object is just to like, detect the difference between respawn flags if there’s multiple.
@DaveNodon
@DaveNodon 2 жыл бұрын
Remarkably close! If you’re not experienced with GBG yet, no one would be able to tell. This was the first way I came up with respawns but since this upload I think I like the game swap nodon method better, you can trigger the game to replay and send a value equal to the checkpoint you achieved. Then in the game just start the player at the checkpoint dictated by the number that got passed in! This flag and teleport method starts to use up a lot of resources when you add in more checkpoints!
@Brett_Gamingg
@Brett_Gamingg 2 жыл бұрын
This might be useful for neon pushing
@lil_2580
@lil_2580 2 жыл бұрын
How do you put the live counter on the top left?
@DaveNodon
@DaveNodon 2 жыл бұрын
You could attach it to the head using some connectors and the head nodon. I think in my minimal video I show how to set up a HUD element like that.
@miguelautistic7409
@miguelautistic7409 Жыл бұрын
What about when you got hit and die?
@Luigistupid5731
@Luigistupid5731 10 ай бұрын
Wow 😮😮😮😮😮 I'm getting a burning error, that is easy
@alanelmore3500
@alanelmore3500 2 жыл бұрын
Hey Dave, I was going to make a UFO game where you shoot down unlimited aliens, but I can’t get the aliens to respawn, if it’s fine, could you make a guide on that? I don’t see much else explaining respawns.
@DaveNodon
@DaveNodon 2 жыл бұрын
Hi there, I have a few things I’m working on so let’s see if I can help like this. It’s not going to be easy and it’s teleport intensive. You can have a teleport attached to the alien. When it is “destroyed” you can add a sound/effect to mask it and teleport it out to a neutral area(in a box if you want to prevent movement or something) and then you can teleport it back into the arena somewhere. You technically need two teleports for this method. One to take it off the game arena and one to bring it back. So you can’t have that many aliens doing the constant recurrance. I can also think of a way more possibly complex method where you’re projectile has a teleporter attached at the end of it that sends the aliens off to a “waiting bay” area. Then you can randomly have a teleport or two in that waiting bay that sends them back into the arena in bulk. This would free up each one needing its own pair of teleports. And I just thought of a third method. If the aliens aren’t physical for example you can turn all the textures off when they are “dead” and send them back to a specific point before turning them all back “on”.
@alanelmore3500
@alanelmore3500 2 жыл бұрын
Thanks for replying! I figured out how to do it, the option where the alien teleports when hit works with a touch sensor set for the thing it’s getting hit with, and the teleporter with the alien, thanks for helping me out, I’ll put the code here for the game when it’s finished if you want to test it out!
@SuperDZ555
@SuperDZ555 2 жыл бұрын
But what if i wanna have a ton of checkpoints, while not wanting to use up all the teleport exit nodon. What should I do? I imagine it would have something to do with moving the teleport exit nodon around somehow, but idk?
@DaveNodon
@DaveNodon 2 жыл бұрын
Since this video came out I’ve seen a lot of awesome new solutions. Some like you mentioned, involve moving the teleport exit. Probably one of the best I’ve seen though is using the Swap Game nodon but setting it to the same game and passing a Checkpoint Value. So at the start of the game, it compares that Checkpoint value you got before you died, to a list and spawns you at the corresponding teleport exit. That way you use much less nodon in the setup
@SuperDZ555
@SuperDZ555 2 жыл бұрын
@@DaveNodon but what if i want a LOT of checkpoints for whatever reason? or did i misunderstand something in what you said?
@DaveNodon
@DaveNodon 2 жыл бұрын
@@SuperDZ555 if you want ALOT probably the best way is to have the exit teleport on a Freeslide Connector. Then you ca use some step-ladder kind of logic to move it around the level map as you progress
@SuperDZ555
@SuperDZ555 2 жыл бұрын
@@DaveNodon I don't quite understand, can you please explain?
@WednesdayWorks
@WednesdayWorks 3 жыл бұрын
My Wormhole Exit is always active for some reason? whenever i connect it to a retry nodon it just has retry always active! How did you get the wormhole exit to not always be putting out a signal, i'm really stumped!
@DaveNodon
@DaveNodon 3 жыл бұрын
Hmm. Well it would depend what goes into the wormhole exit. I used touch sensors as an example. Find out why those touch sensors(if that’s your set up) are being activated all the time
@WednesdayWorks
@WednesdayWorks 3 жыл бұрын
yeah for some reason the wormhole exit only stops being active when i move. i've tried setting this up on a couple of levels and i cant quite figure out whats triggering it. I'm using touch sensors and im not spawning on those or anything
@DaveNodon
@DaveNodon 3 жыл бұрын
@@WednesdayWorks maybe try deleting them and replacing? Or changing the method for player loss. Like if location goes below a certain Y coordinate. Etc.
@WednesdayWorks
@WednesdayWorks 2 жыл бұрын
I figured it out! The sprites i was using also had wormholes with the same ID. I totally forgot about them, they were what were making it active the whole time, man i feel so foolish! Btw thanks for all your tutorials and responding to comments even on older videos. You are a hero to the community
@danieldutoit2187
@danieldutoit2187 3 жыл бұрын
I've developed a way for a person nodon to stay in one Z-position without pasting invisible walls all over the level. But it has its flaws. Would you like to check it out?
@DaveNodon
@DaveNodon 3 жыл бұрын
Sure! I imagine you can just get rid of the forward/back inputs. Or limit the use of the sticks on those axis.
@danieldutoit2187
@danieldutoit2187 3 жыл бұрын
@@DaveNodon That works for keeping your player in check for so they don't go behind the scenes of their own volition, but if your person hits a negative attract field or a face that isn't flat it can still send them into the Z dimension and they'll slip behind everything and be unable to come back. Here's my solution to that problem G004GFG836
@joonboi84
@joonboi84 3 жыл бұрын
I mean you TECHNICALLY restart after failing before the checkpoints, I’d say that no matter where you fail, after three “lives” the game is over …. (You can then implement a way to gain an extra try)
@DaveNodon
@DaveNodon 3 жыл бұрын
Yeah I kinda hid it in the last part of the video with the lives if people got that far. For lives to make sense you need to be able to die/fail at any point even before any checkpoints.
@OswaldoRGZ
@OswaldoRGZ 3 жыл бұрын
I would love you if you try this G-001-PDC-RMV Thank you.
@DaveNodon
@DaveNodon 3 жыл бұрын
Good job. This game was awesome. The backdrop was excellent. Even little details like the music changing when the score got low. The only thing I would improve is, I wasn't always sure if I'd hit the ball, how it would react or if the volley or "celebration" action did something. So I'd try to make what happens to the ball more apparent.
@OswaldoRGZ
@OswaldoRGZ 3 жыл бұрын
@@DaveNodon OMG! Thank you for playing my game, thanks for the feedback, it's my first game and your videos helps a lot. I'll be more careful to those details in my next game. You're amazing.
@bigboiLikesPrograming
@bigboiLikesPrograming 2 жыл бұрын
it work's but wen you make a 2player game then you can't move
@DaveNodon
@DaveNodon 2 жыл бұрын
Yeah making something two player and having two person objects will throw a wrench into a lot of builds!
@IC-MrbananaVR
@IC-MrbananaVR 6 ай бұрын
This did not work when I did it my character didn’t respawn
@LilyTheCuteKitty432
@LilyTheCuteKitty432 3 жыл бұрын
TAKE ME TO YOUR LEADER!!!
@graysonlegend1039
@graysonlegend1039 3 жыл бұрын
pog
@azazel4025
@azazel4025 2 жыл бұрын
Dave
@tiarnanmccaughey
@tiarnanmccaughey Жыл бұрын
gamebuildergarge yeah🤣
@sanbaba1944
@sanbaba1944 3 жыл бұрын
tutorial to go in a car with the character please
@DaveNodon
@DaveNodon 3 жыл бұрын
Tomorrow morning!
@sanbaba1944
@sanbaba1944 3 жыл бұрын
THX
@Gabby_AKA_Gup
@Gabby_AKA_Gup Жыл бұрын
Yo yo
@jessicastonecypher233
@jessicastonecypher233 3 жыл бұрын
5:04
@MrMwellington
@MrMwellington Жыл бұрын
Easy way just teleport the players back
@Nitrogrinnade
@Nitrogrinnade 10 ай бұрын
It doesn't work
@Nora_Muse_
@Nora_Muse_ 3 жыл бұрын
Too bad it's impossible when they break to respawn elsewhere
@Elfaridinsano7
@Elfaridinsano7 Жыл бұрын
that
@azazel4025
@azazel4025 2 жыл бұрын
E
@LilyTheCuteKitty432
@LilyTheCuteKitty432 3 жыл бұрын
9:35 Easier method: Just make the game retry instead of using another teleport nodon.
@DaveNodon
@DaveNodon 3 жыл бұрын
True! the reason I added the extra teleport only when doing the lives is that usually games with lives count them down no matter where you die. Like a Mario level before you get to a midway flag.
@LilyTheCuteKitty432
@LilyTheCuteKitty432 3 жыл бұрын
@@DaveNodon I made it destroy you after the third time you touch the enemy. Then I made a seperate game over screen for when you lose all your lives. Then it restarts the game. It's simple. It works with teleportation and retry. Then you would go back to the beginning anyway.
Game Builder Garage Keeps Getting BETTER AND BETTER!!!
28:17
Каха заблудился в горах
00:57
К-Media
Рет қаралды 6 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
The Most Impressive Scratch Projects
11:00
DenshiVideo
Рет қаралды 4,8 МЛН
MINECRAFT 2: Only Available In Game Builder Garage
19:14
I Remade Super Mario 64 From Memory
10:59
PolyMars++
Рет қаралды 507 М.
I Played GAME BUILDER GARAGE In 2024...
23:52
DGR
Рет қаралды 34 М.
AI Learns How To Play Doodle Jump
12:02
Tyler Mommsen
Рет қаралды 17 М.
I tried to make Tetris in Scratch
17:42
Xenon Neko
Рет қаралды 113 М.
Making the World's Hardest Mobile Game
11:51
Sam Hogan
Рет қаралды 3,3 МЛН
[Game Builder Garage Tutorial] Game Select Menu
17:16
Oribloop
Рет қаралды 38 М.
🤫Что скрывается за сюжетом Duck Season?
22:56