PedroX
|
|
Reply #15 Posted on: February 10, 2014, 02:33:37 pm |
|
|
Joined: Dec 2012
Posts: 17
|
Hey. I could compile some projects. But when I try to compile a specific project: http://pastie.org/8719828Could you take a look please?
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #16 Posted on: February 10, 2014, 02:37:41 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Yes you are loading a GMX project that has sprites with no size. Width (0) and height (0) cannot be <= 0 Can I ask why you are using images with no data? I am going to add the ability to load these projects in the next release of LateralGM (1.8.4), but really you shouldn't need images of no size. Also if you don't mind uploading the GMX project itself, It will allow me to debug with it and I can ensure that the project will safely load in the next LGM release.
|
|
|
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.
|
|
|
PedroX
|
|
Reply #17 Posted on: February 10, 2014, 02:50:40 pm |
|
|
Joined: Dec 2012
Posts: 17
|
The project is not mine. http://pastie.org/8719873I deleted the empy sprite, but it still does not work. Any idea?
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #18 Posted on: February 10, 2014, 02:55:40 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
You deleted it from the file tree, which led to more exceptions and the resource not actually being removed. Width (0) and height (0) cannot be <= 0 Remove it from the actual GMX file, make a copy, open the ProjectName.project.gmx in notepad or some other source editor, and remove the sprite from the tree so that it is never loaded at all, thus allowing no exceptions to occur.
|
|
|
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 #20 Posted on: February 10, 2014, 03:32:26 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Oh I am sorry you are correct, is there not a runner icon stored in the GMX? at org.lateralgm.file.iconio.ICOFile.getDisplayImage(ICOFile.java:462) at org.lateralgm.subframes.GameSettingFrame.setComponents(GameSettingFrame.java:1260) This is the path in an example project I have. Project1.gmx\Configs\Default\windows\runner_icon.ico
|
|
|
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 #22 Posted on: February 10, 2014, 03:41:03 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
How was the icon file created? We do not support icons created by createicon.com, if that was the website used. http://enigma-dev.org/forums/index.php?topic=1734
|
|
|
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 #24 Posted on: February 10, 2014, 03:52:02 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Use a different ico file, or you can reconvert that one using a different icon converter, or use the same one but don't go to 192x192.
converticon.com is a broken website, please inform the creator not to ever use it for creating ICO files.
|
|
|
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 #27 Posted on: February 10, 2014, 07:21:59 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
A lot of these errors seem to be stemming from the math functions. Also the apparent use of x and y in scripts, or rather object locals, they don't currently work in scripts and require our new compiler which isn't finished yet. Also there is a variable named goto, goto is a keyword in C++ which is a jump case. http://msdn.microsoft.com/en-us/library/b34dt9cd.aspxIs there any chance you can make a small test example with just a few of the scripts as a minimal test case? So I can try to address each bug individually. Also the graphics for this game look really awesome, do you have an executable I can play? I like strategy games.
|
|
|
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 #29 Posted on: February 10, 2014, 07:43:01 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Yeah ENIGMA supports goto case labels, and I'd rather have the ability to use that then name variables "goto", so games like this we should just make rename those variables. goto test; show_message("too bad, so sad, no goto for you"); test: show_message("ENIGMA supports jump case labels!!!");
But yes, I am going too, because I want to play your friends game! Edit: Is there a version of your friends game with English subtitles? It's hard for me to read.
|
|
« Last Edit: February 10, 2014, 07:48:58 pm 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.
|
|
|
|