No problem!
You can say that every time the button is touched they will move foward a pixel value.
Thanks everyone.
You can use an instance variable to serve as a durability value.
Like, "block" on collision with "ground" > subtract 1 from "durability" (instance variable)
Then when the value is equal or lower than 0, you can destroy the block.
Try to put your text in the right corner of your window (not the layout).
You can change the resolution of the sprite (in the drawning window), so that it would be smaller then your pixels will be "larger".
(8 x 8), (16 x 16), (32 x 32)...
Thanks, it worked very well.
Thanks!
Develop games in your browser. Powerful, performant & highly capable.
Is there a way to put 3D objects (walls) faster?
I don't like the time that it takes to put one by one, would be much easier if we could use tilemaps or simply increase their width and it clones itself, like a tiled background.
What do you reffer as a "timer"? Is it an action?
So I made a dialogue by changing SpriteFont's text everytime I want to.
And a lot of my friends get tired of accidentaly clicking again on the NPC and having to wait he speak again.
So I made that when the player isReading (boolean) and right-clicked, he could skip the dialogue, but I can't make the event stop from happening (I suppose it's because of the Wait events).
Events: prnt.sc/7qA4zFEexlEi
prnt.sc/YRAFXbhqaccH
You do not have permission to view this post
Member since 27 Jul, 2022