This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: 1
1
Issues Help Desk / sprite_add not working?
« on: January 17, 2015, 10:18:52 pm »
Hey all,
I have lots of GM experience but only recently started with ENIGMA. I started a project from scratch in LGM, it's the newest ENIGMA portable, I have jdk 8, running Windows 7.
Basically I have:
Any help would be appreciated.
RobotiX
I have lots of GM experience but only recently started with ENIGMA. I started a project from scratch in LGM, it's the newest ENIGMA portable, I have jdk 8, running Windows 7.
Basically I have:
Code: [Select]
image = sprite_add(file_name, 0, false, false, 0, 0)
show_message(string(image))
And then in the draw event:Code: [Select]
draw_sprite(image, 0, x, y)
I get the message and it shows the sprite index but when it tries to call the draw function the game crashes. Any help would be appreciated.
RobotiX
Pages: 1