The Cats Can Now Talk?
Hello everyone, it has been 4 days, and I have done a lot of work on the game for the past few days, and am getting very close to submitting it. So I have finished the last mini game, which is finding the treasure to save the cats (or aid them depending on how you take giving cats treats) and now I have implemented the dialogue part such as the cats and you talking, and the map being found in most of the scenes. So without further to do lets get straight in it and talk about the minigame.
Digging up treasure
So right now I have made the basic part of the treasure scene, it still needs to be decorated and I need to push the borders out a little but to start its good. It will not be in the video posted but it will be tomorrow. So how it works is I have this scene called sand, it is an area 2d and everything is not visible besides the smallest hole and smalest pile of sand, and you can press the area 2d 3 times and it will have the medium pile and hole and large pile and hole. And in it, I have it calling functions from the main scene. So in the main scene I call the scene for every time the press a button (the whole screen consists of 6 buttons, if they dig fully and that button is the treasure one, then you get it for the cats) it mainly consists of buttons and randi functions and caling functions from two different scenes.
Cats are Talking
IF you want to see the desert scene or the cats talking you can see it on https://www.youtube.com/shorts/6k6MWErv86k, anyways the logic for this is we call next dialogue, and this checks the index and then adds one too it and goes to the next. Then if it is cat speaking, it waits for the user to press space (skip) then it adds one to the index and plays the next if it is the users turn to talk (the user can talk using a button they press) then they press a button and the text becomes the dialogue and then it adds one to its index and then plays the next. Then when the index is the second to last I stop it from playing anymore dialogue. Then when the user completes the task like sorting then it makes the map visible and then it plays the last dialogue (when they press the map because it is a button) and it says something like, THANK YOU SO MUCH FOR FINDING IT, PLEASE PUT THAT PIECE OF MAP ON THE CAPTAINS DESK then that will add, and once you have all the pieces you can put the map together. That is all I have to say, and I will do alot more in the next few days, as I need to finish up dialogue and work on the save, and global variables. But for now, bye guys!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.