Posted January 21, 2021 by b._.render
#2d #3d #blender #godot #mac #day4 #day5 #gamejam #gdscript
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.
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.
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