Today's episode is brought to you by Squarespace.
So here's the challenge I have to try and make a game within one hour.
I can't use any pre-made art,
but I am allowed to use some sounds and some music if I want.
But that's not all.
After my first hour is up, I'll give myself one more hour
to polish the game and add any finishing touches.
Makes sense.
Time starts now.
I started out by creating a project in Godot.
I knew I wanted the game to be a platformer, so I created a player node.
And I used the classic Godot icon as placeholder art.
After that, I started coding in some gravity and basic movement for the player.
I plopped in a couple of platforms, then ran the game for the first time
to see what would happen.
The good news is that the movement
seemed to be working fine, but for some reason I wasn't able to jump.
No matter how many times I press that button, nothing was working.
So then I proceeded to waste the next six minutes
trying to find out why I couldn't jump.
But of course, as usual,
the problem was very simple and I was just overthinking it.
Most of you may know this, but if you don't, you always want to apply a negative
Y velocity, as that is the up direction where positive is down.
And that's what I was doing every time I pressed Jump.
My player was going down. Nice.
So now that that mess was cleared
up, I focused on trying to add rotation to my jumps.
But why you ask?
My idea was to make a platformer where you're constantly trying to climb up,
but every time you move left or right, you would rotate.
So basically, you need to do flips to get on to the next platform
and not hit your head.
But that's when I got a little bit sidetracked on creating the player art.
I was trying to resist the temptation of working on art.
With that
said, I have no idea why I made a T posing man wearing a top hat.
But let's just go with it.
I also quickly
made some artwork for the platforms and then added both those to the game.
But how are we doing? Oh my gosh...
We only have 30 minutes left and I still don't have a game.
This is when I started to panic a little bit.
I needed to go faster.
It was time for me to go into Game Dev Overdrive.
And speaking of overdrive, did I mention you can make your dream website fast
with today's sponsor?
Squarespace Making your own website or online store
can be a huge pain in the butt from scratch.
Believe me, I've done it many times before, and the best way to cut the hassle
is to use Squarespace from selling your products online
, making a portfolio or gallery of your work,
or even something as tedious as image scaling is so much easier
and saves you so much time with Squarespace as the internet expands.
I truly believe that everyone should have internet real estate,
but creating your own website doesn't mean you have to be disconnected
from social media.
With Squarespace, you can connect your social profiles,
so that way you can instantly post on different platforms, making it
fantastic and easy to post your new product or game.
Make sure to go check out Squarespace.com for a free trial,
and when you're ready, you're all set to launch.
Go to Squarespace.com/Goodgis
to save 10% off your first
purchase of a website or domain.
Remember all that code I just wrote for jumping?
Well, I kind of just threw it all away.
I decided I want to switch my
character to a rigid body that way had more realistic physics.
And speaking of changing things, I also decided that instead
of having to jump up the platforms, why not just roll down them.
easy.
Next, I had to make the platforms move up and then add the rotation
to the movement and wallah.
That's not right? OK, there we go.
I made it to the platforms randomly spawn in the map.
I also added a scoring system that increased every second that you survived.
I also wanted the game to get harder as you played,
so made the platform speed up the more points you got.
It looks like everything is coming together.
Oooh, yeah, I love this silhouette.
Ah, yeah, this is like looking great.
Oh, I guess I forgot to add a way for you to actually lose the game.
So I made it to the game restarts when you fall out of bounds
or if the platforms take you too high.
And also at some point I readjusted the window size.
So the...
Woooh, all right, I'm done.
I felt like I barely had time to add in basic mechanics
and I told even forgot to add sound or music but for a one hour project.
The game is fun. It's fun.
It's f...
Goodgis, I don't know how to tell you this man,
but this game is terrible, I mean, I mean this game in like an hour.
I'm serious.
This is one of the one of the worst games I've ever seen.
Are you kidding me right now? You know, I wish I was joking.
I really do.
You need to go back and change it, dude.
I'm not going to fix it. I'm not going to fix it.
So I decided to spend one more hour
polishing the game and my time starts now.
I knew that for the first hour, I wasted too much time working on art,
but I needed more art for the game, so I just started working on it right away.
I thought it'd be fun to add some variety to the platforms,
so I made a couple of coins and some lovely spikes.
I just thought it was a fun idea
that some of the platforms could hurt you, while others gave you bonus points.
I also create some tiles to show that you can't fall down or go up in the map.
And then I changed a player to blue
because I didn't want to confuse it with the spikes and the pit.
I also quickly made this little tutorial arrows, and that was it for the artwork.
I got to work quickly, implementing the new platforms and coins.
And then I randomized which platforms would spawn in
which just that alone made the game play way more fun.
Before I made the walls solid and I felt like it made the game a little too easy.
So screen wrapping was a good call.
I thought a little tutorial would be nice.
Basically, I just added arrows showing that you can move left and right after
that was one of the most important parts.
Adding in sound effects and music, the very last thing I did, was just
tweaking the spawn rates and platform speed until the game felt good.
Also, just completely ignore that.
That's nothing.
So that's the end of my one hour game challenge.
I'm really glad I tried the challenge out.
Of course, I wish I had time to polish it up
even more as there's a lot of weird bugs and glitches
where platforms are on top of each other.
But it's fine.
That's the whole goal.
This challenge, it's not to make a great game, it's just to make a game.
And if you want to push yourself or test your game
dev skills, I would highly recommend that you try this challenge for yourself.
And if you do, make sure to join my discord and share your game.
I would love to play it and see what you guys come up with.
I also want to just give a huge shout out to James Albert, Skides,
Righbread, and Heath Sargent and the rest of the fantastic Patreon supporters.
For all your support,
you make these videos possible and I appreciate you guys so much.
But that's it for me.
Thanks so much for watching the video, and I'll see you next time for another
game dev adventure.