sidegame
|
|
Posted on: July 14, 2013, 12:45:57 am |
|
|
Joined: Jul 2013
Posts: 13
|
Hi there all! I have recently start working with ENIGMA instead of Game Maker, I found it a very fast and powerful than game maker so, I start to continue my Game maker Project on ENIGMA, but now I face a problem and that is : These functions are not working/missing, anyway to fix this? surface_create(w,h) surface_get_texture(id) surface_set_target(id) draw_surface(id,x,y)
I downloaded the new version of ENIGMA Zip Installer ( ENIGMA + LGM). ***Any help is appreciated*** Thanks
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #1 Posted on: July 14, 2013, 05:55:44 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Those functions should all exist. Are they throwing a syntax error? Or just not working? Some cards (pre-1990 NVidia cards, pre-2005 ATI cards, modern Intel cards) don't support GL FrameBuffer Objects. That could cause them not to work correctly, but not throw a syntax error. If you have a syntax error, it means someone deleted them.
Also, which graphics system are you using? You might try switching to OpenGL3 under the APIs tab in Enigma Settings. If that works, let me know so I can kill Robert.
|
|
« Last Edit: July 14, 2013, 05:57:20 am by Josh @ Dreamland »
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
Goombert
|
|
Reply #2 Posted on: July 14, 2013, 06:09:48 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
sidegame, they do exist, they just are not syntax higlighting in the script editor, I am not sure what is causing this bug, I believe it might be something to do with the mergal of our script editing component, JoshEdit, because JEdit was supposed to use a hard coded keyword list, and I believe this is being passed to JoshEdit now. This needs to be investigated and resolved. Go ahead and use the functions, they just won't be colored like all the other functions inside that window until someone fixes it.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
sidegame
|
|
Reply #3 Posted on: July 14, 2013, 11:21:40 pm |
|
|
Joined: Jul 2013
Posts: 13
|
I tried to change the graphics system > OpenGL3 but it didnt work I think some has removed the function. anyway to fix it?
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #4 Posted on: July 15, 2013, 01:56:37 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Use the function anyway, it just does not have color, trust me it works, it is just not colored, keep it on OpenGL1, OpenGL3 is not necessary. If you get errors please go to http://pastebin.com and upload them for me and post the link.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #6 Posted on: July 15, 2013, 08:54:32 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Yes I do, I am investigating your game now, as you can see I was already aware of them not being "colored" in the code editor, do you understand? surface_reset_target() is colored, I am going to fix that bug. But let me investigate your game. Edit: Your game works fine for me... o_O Make sure you are using OpenGL 1 not 3
|
|
« Last Edit: July 15, 2013, 08:58:40 am by Robert B Colton »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
|
TheExDeus
|
|
Reply #9 Posted on: July 16, 2013, 05:14:26 am |
|
|
Joined: Apr 2008
Posts: 1860
|
Sadly we don't have a way to see which version of GIT a person using. So we can just ask where and when did you download ENIGMA? Also, try this and see if you can see the image: https://dl.dropboxusercontent.com/u/21117924/surface_avatar.exeBecause it works for me as well. If you see it, then you have old ENIGMA and it probably had some bug. If you don't, then there is a bigger problem.
|
|
|
Logged
|
|
|
|
|
Goombert
|
|
Reply #11 Posted on: July 16, 2013, 10:14:00 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
sidegame, how old is your pc?
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #13 Posted on: July 16, 2013, 11:03:49 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Look at his picture Harri, it is at least Windows Vista or later. sidegame, you also did not by chance set DirectX did you? It don't even work.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
|