Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Buttons

A topic by GreylockR4Z created Mar 25, 2023 Views: 382 Replies: 3
Viewing posts 1 to 4

I need some help, How does the Button script work? i seem to be unable to get mine to work.

Developer

You need to load an image first with "image" command. Then you use this image's name (that you set it to) in "button" command. The image should be a horizontal sprites-sheet consisting of three uniform images

Thank you for the answer. I've known about the image command, but the problem is that when I execute the code, it just freezes the game.

(2 edits)

Hi does anyone here know how do i fix the button not appearing even if the script seems correctly written here's the script : 

procedure saveb

game save slot 1

end

cursor 1

image saveb Sprites/assets/button(3).png

button saveb 400 400 saveb