This is what i have done so far:
I should have made the function common like node manager so i can use the same script again and again now i am just writing the same code for every interactable in the next project i will try to learn and use node manager
Log in to leave a comment
Just made these things:
Now need to add a function to pick up the dropped log and add it to inventory.
Log in to leave a comment
Just added a door with animation to the game so when ever the player collision collides with the door collision the animation starts to play. This is how it works when player first enters the collision i play the opening animation if the player exits the body of the door i play the closing animation i will await until the animation ends and then i will default it to closed animation which is just a frame.
Log in to leave a comment
Just made this map this took so long to make as i animated the water and drew grass using a different method than what i did before it is something called bitmap which allowed me to draw whatever shape i want sometimes a minor adjustments but overall easy to draw.
Log in to leave a comment
Added a player and it’s animation so when player moves around the animation will start to play and for now added a collision shape 2d to it a rect covering the entire body maybe in future when adding rest of the map elements i will shrink the shape to fit the lower half so player don’t bump with objects with head.
Log in to leave a comment