View Single Post
Old 05-17-2019, 09:22 AM   #31
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,241
Default

- Create another class just for displaying static images. Should be just a matter of copy + paste + rename from the IButton class I sent you.

- Remove the input methods since you don't care about them.

- Remove the state property and the multiplication in the call to gfx.blit, since you only have one image frame to show.

- Add your image element on a layer behind all of the script's elements (higher Z).

Last edited by Lokasenna; 05-17-2019 at 11:39 AM.
Lokasenna is offline   Reply With Quote