itch.io is community of indie game creators and players

Devlogs

'Cheesing Nachos' #5 | Devtober

Cheesing Nachos
A downloadable game for Windows and macOS

Hello. It has been a few days. Didn't get as much done as I would like, but it is what it is.


Why I Didn't Post Yesterday and the Day Before Yesterday

On the first day I didn't post, well, I had nothing to post. I got sidetracked kinda. I did something else that took up my whole day, which was absolutely not necessary for me to do, but did anyway. Yesterday, the second day I didn't post, I didn't really get a chance to. But did do stuff.


What I did Yesterday

Not a lot honestly. I did finish the shooting mechanism. I got the cooldown working and made the cheese sprite. Then I realized I had another problem. The nacho sprite. I needed it to turn cheesed after it collided with the cheese bullet. Which, was easy to do. Hook up a signal from the nachos area2d, when an area2d enters it, the sprite will change. It worked, but there was a problem with it. If any area2d entered it, the sprite would change. I only wanted it to change when the cheese bullet entered the area2d. But if Dude, who has an area2d, walked up to the nacho, and his area2d entered the nacho's, the sprite would change. Obviously, that is not the desired outcome. I tried messing with collision layers and masks, but nothing worked. So I just decided to forget it and save it for tomorrow.


What I did Today

Well, I got the nacho sprite working. I had it so if the name of the area2d that was entering was the name I wanted, the sprite would change. I then started on the dying and respawning. How it will work is: Dude will have his spawn spot, wherever that is. If he dies, the dying animation (which I have yet to make), will play as well as you not being able to move, cause well, moving while dying wouldn't make sense, would it? I was able to disable Dude from moving with a variable (named 'can_move'). With the toggle of a button, I made the variable false. Obviously, the button toggle is temporary, but I made it just to make sure the 'can_move' variable being false did prevent him from moving.


Pretty sweet, right?
Download Cheesing Nachos
Leave a comment