My First Game Jam --> Part 5


        Yesterday was primarily a coding day. I have been replacing the old code I wrote with "cleaner" code. If im being honest Im really glad this project can run still, and at this point Im just trying out code to gain a deeper understanding of gdscript. It is a unfinished mess but It shows Ive learned how to make runnable buggy mess. with more organization and thought/preparation I could maybe actually make a game. 


at this point I begun rewiring the code, I had set the icon to "locked" by default when the item is >0  

         The code below is how I hid the icon using gdscript

  func hide_icon():
    if top.ore <= int(0):
        icon = preload("res://imports/locked.png")
    else:
        icon = preload("res://imports/ore.png")
#how I made the icon "locked" using gdscript

        Today  I was mostly finishing up the re coding process and adding a bunch of functions that I removed with the original script.        I have now set the pop up menus, the buttons , icons and all the logic to scripts and am working on getting a stable version 0.0.5 to release as a test.

Now I have most of the functionality tied to func's :).

      


I will be giving away the assets I made for this project

If you are interested hmu with a follow  and a like so you'll know when they are up, If this devlog gets 10 likes I will also give away my godot project file

Leave a comment

Log in with itch.io to leave a comment.