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: 218 Replies: 2
Viewing posts 1 to 3

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.