You are browsing as a guest. Sign up (or log in) to start making projects!

5h 45m 10s logged

This is the devlog for my first project on Stardance. This is going to be a game where you click a button to fish, and depending on your timing, your chances of catching a good fish increase. This devlog is a bit delayed since I was trying to figure out how this whole challenge works, so I have added a few features, but nothing too big. I added the button and a gauge that oscillates back and forth. I did this by moving a bar gameObject across another gauge. I have not added anything to control the probability, but I will likely do that by measuring the x-axis position of the bar when it stops. I also made it so that it appears when you are holding the button and disappears when you catch the fish. There is a 2-second delay from when you let go to when you catch the fish to simulate the time spent reeling the fish in (and because I didn’t want it to be a regular idle clicker). I also added some text above that prints the fish that you caught. I added an inventory system that tracks the amount of fish you have (you can open it using the button in the corner). I used prefabs that instantiate depending on the number of fish in your inventory, and I just made them move over each time they spawn in. This is a really janky and probably unreliable system because it gave me a lot of problems. I did learn how to use anchorMax and anchorMin to define the origin on a panel, since the fish icons (right now they are red boxes as placeholders) have x and y positions relative to the position of the panel. But for some reason, the first prefab that is instantiated spawns in a random location, and I don’t know why. This is probably because of the system I use to spawn the prefabs in (which, as I mentioned earlier, just incrementally adds to the x and y depending on the last position). If you have any idea as to why that could be happening, please let me know in the comments. That is basically everything I have done so far. I learned a lot about how Unity positions objects, and I now feel way more confident about TMP elements like buttons and text. I don’t have much experience with programming and Unity, so any help or tips would also be greatly appreciated. I also would love any suggestions for features or gameplay mechs for this game. Thanks!

0
18

Comments 2

@Camiel

Looks cool! I think it would be nice if you revealed the fish when the fish is caught and not when it’s on the line. Keep building!

@Sharkle

yea the fish in the text bar is the last fish you caught. But im planning on making the reveal more exciting. Thanks!