Jump to content


Photo

Surface_save function not working.


  • Please log in to reply
No replies to this topic

#1 onetwothreegone

onetwothreegone

    GMC Member

  • GMC Member
  • 8 posts
  • Version:Mac

Posted 08 August 2012 - 12:10 AM

Hello people. This is my first post on this forum so sorry if I get some terms wrong. I am making a simple drawing/doodling program and the following code works when I am testing the game by hitting the green arrow at the top but not if I hit Create Executable. After I made it in to a application saving no longer works. Here is the code I use:

image_name = get_string('Save as: (Make sure to have .bmp at the end)', 'my_new_image.bmp')
surface_save(surface, image_name)

I also need help making it be able to load the image again. I was thinking it would load the image as a background and as the background of the image is always white no one would notice anything. Sadly I don't know how to do this.

Thanks, :smile:
Philip

P.S. I have Game Maker Pro

Edited by onetwothreegone, 08 August 2012 - 01:34 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users