I started implementing the slots to the slot machine! I made a slider element in GIMP, and then went on to try to make some shaders. I was stuck how to do it, but I found a helpful YouTube video. Now I’m struggling to implement it, they’re overlapping…
Log in to leave a comment
I started working on making the slot machine interactable. Now – if you click E – while being within a certain distance (detected by an Area2D) from the slot machine, it starts playing a beautiful slot machine sound! I tried calculating the distance, but just drawing a rectangle is easier.
What I’m struggling with now, is that it on launch detects the player as if he is within the area. So I need to enter the area, and leave it not to be able to gamble. I don’t know how to solve it yet. I love it though! The sound is too funny!
THANK YOU TO @David (AKA @MadAvidCoder on GitHub) for his enormous support. He went out of his way to clone my game from source to help debugging in #godot. Thank you!
I spent like 2 hours Googling how to make 2 sprites not collide. It called me to use a StaticBody2D, and so I did. But they still were able to walk into each other. I tried getting help from ChatGPT – didn’t work. Google – didn’t help. Existing Reddit threads – didn’t work. Apparently the issue was more rudimentary than I thought! David spotted that it was an issue with how I drew the Collision Polygon in a way that it wasn’t closed, so it didn’t have an area. Hack Clubbers are awesome, and I’m super grateful.
So, now, the player can’t walk into the slot machine! Awesome!!
It opens another problem of the player being able to walk out of the map, but it’s not a bug – it’s a feature! Jokes aside, I’ll figure this out!
Thank you, David!
Log in to leave a comment
I started off by making the main menu kindaaaa functional?? After clicking host it now takes you to the main game scene – which I’ve just created. I also made some pixel art… of questionable quality! It’s a fun slot machine!
I’m worried about not following Godot best practices and general conventions. I don’t know how to do stuff, so I’ll FAFO, I guess? Making the base functionality work might be harder than I thought, lol. I’m yet to figure out how to avoid collisions between the player and the slot machine. And then there’s the issue of making them interact. And then randomizing the outcome. It’s gonna be fun!
Log in to leave a comment
I was working on introducing a main menu, from which the user could host a room and join a room through the room’s code. I made a UI mockup in my notebook – as you can see my beautiful handdrawing on the attached picture. I prepared the UI elements in GIMP and added them to the Godot scene.
I started looking into making multiplayer happen. There is a super deep layer of depth there. So I figured on making the base game first, and then adding multiplayer, if I have the time to. Following the principle of “Make it exist first, make it good after”.
In the next time, I’ll work on building a room and games in the casino. I want to start with a teller which adds you money, and slot machines and/or blackjack. These seem to be the easiest for single-player.
Log in to leave a comment