general in GameMaker Studio 2



For day 838 of coding, I have started making a new array to record clear spaces on the map in order to better distribute the resources


For day 837 of coding, I tried altering how much trees and big rocks to spawn so that they will appear on lower sections of the map


For day 836 of coding, I drew a circle and a square to see how the "distance_to_object()" function determines distance


For day 835 of coding, I slowed down the pickups' movement to make sure that the smaller bounce is working. Thankfully, the bounce is working as intended


For day 833 of coding, I gave the pickups a bit of bounce when they appear. Some adjustments will be made later to make it a bit more natural


For day 832 of coding, I added some depth sorting to the pickups


For day 831 of coding, I made sure the new function works for the rocks as well. I've also adjusted the speed on the item pickups


For day 830 of coding, I used the code for spawning resources and turned it into a function to be called by the resource


For day 829 of coding, the trees now also drop wood when the player cuts it down partway


For day 828 of coding, I have addressed the issue by changing the layer target from the object's predefined layer to the specified layer by name. The cause of the error was that the tree's layer ID is at -1, despite being on the same layer as the rocks