Jump to content



Recommended Posts

Create an image in any image processing tool (GIMP, Photoshop, Flash, etc.) then show the image in game using guiCreateStaticImage.

The element returned from guiCreateStaticImage can then be used as a parent element for labels, buttons, etc.

This is just a simple example:

windowIMG = guiCreateStaticImage( 10, 300, 200, 150, "windowimage.png", false ); 
guiCreateLabel( 30, 20, 100, 20, "LABEL", false, windowIMG ); -- this label will be drawn on top of the image and will move with the image if you change its position 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...