|
Asdf64
Guest
|
 |
« Reply #15 on: October 28, 2008, 02:02:18 pm » |
|
HELL YES. MY LIFE HAS A PURPOSE NOW. Er wait, nevermind, it doesn't. Doesn't work.
|
|
|
|
« Last Edit: October 28, 2008, 02:09:32 pm by Asdf64 »
|
Logged
|
|
|
|
ModSlayer
Full Member
 
Offline
Posts: 100
SECOND SENIOR WOOT!
|
 |
« Reply #16 on: October 28, 2008, 03:59:47 pm » |
|
How do you scroll the map? For now Ill I see is my corner...
|
|
|
|
|
Logged
|
|
|
|
|
cspotcode
|
 |
« Reply #17 on: October 28, 2008, 05:33:00 pm » |
|
HELL YES. MY LIFE HAS A PURPOSE NOW.
Er wait, nevermind, it doesn't. Doesn't work.
Easy there. I did say this was a preliminary release. I'm still working out the kinks. I couldn't have discovered these problems on my own, since they don't happen on my computer. How do you scroll the map? For now Ill I see is my corner...
Scroll by dragging with the right-mouse button or pressing the arrow keys.
|
|
|
|
|
Logged
|
"The knack of flying is learning how to throw yourself at the ground and miss." - Douglas Adams
|
|
|
Genesis
Newbie
Offline
Posts: 10
|
 |
« Reply #18 on: October 28, 2008, 10:08:43 pm » |
|
Nice job, this should help some people, though in game after getting the map to work, it seemed like the whole map was "solid," and I couldn't move out of the exact spot where I spawned.
|
|
|
|
« Last Edit: October 28, 2008, 10:43:27 pm by Genesis »
|
Logged
|
|
|
|
|
cspotcode
|
 |
« Reply #19 on: October 28, 2008, 11:53:58 pm » |
|
Nice job, this should help some people, though in game after getting the map to work, it seemed like the whole map was "solid," and I couldn't move out of the exact spot where I spawned.
Was the pixel in the lower left corner the same color as the parts of the walkmask that represent open space (not walls)? In the editor, you can toggle walkmask visibility on and off to make sure it's working correctly.
|
|
|
|
|
Logged
|
"The knack of flying is learning how to throw yourself at the ground and miss." - Douglas Adams
|
|
|
|
cspotcode
|
 |
« Reply #20 on: October 29, 2008, 02:18:02 am » |
|
Problem (should be) solved. Get v1.2, as well as the updated game download (b35, not b36).
It was a DLL issue. The same problem happened on my friend's computer, and I fixed it by switching to static linking of the Microsoft VC runtime.
|
|
|
|
|
Logged
|
"The knack of flying is learning how to throw yourself at the ground and miss." - Douglas Adams
|
|
|
|
AnDrEw
|
 |
« Reply #21 on: October 29, 2008, 06:31:07 pm » |
|
This is totally incredible...
I didn't have much time, but I made this:
[attachment deleted by admin]
|
|
|
|
|
Logged
|
Anne drew Andrew and Drew, and Druanne drew Anne, Drew, Andrew, and Ru.
|
|
|
Genesis
Newbie
Offline
Posts: 10
|
 |
« Reply #22 on: October 29, 2008, 09:46:48 pm » |
|
Make sure you are saving it as the same name as the .png file.
|
|
|
|
|
Logged
|
|
|
|
|
AnDrEw
|
 |
« Reply #23 on: October 29, 2008, 09:54:12 pm » |
|
Yeah. Basically you load the background, the wallmask, and then put in the spawns and such. Then, save the info into the background file, hit save and then click on your background file. It will save the level data inside that background file, which is then a lvl file. You can load that file by putting it into the maps subfolder of the GG2 folder, load map 10, etc...
|
|
|
|
|
Logged
|
Anne drew Andrew and Drew, and Druanne drew Anne, Drew, Andrew, and Ru.
|
|
|
jujyfruit
Newbie
Offline
Posts: 3
|
 |
« Reply #24 on: October 30, 2008, 03:29:23 pm » |
|
I got the updated versions of the editor and b35, but I still get redcap (and only redcap) errors. I just made a tiny little arena to test the editor out:  Is the error my fault? Have I not made the level correctly? ERROR in action number 1 of Key Release Event for <no key> Key for object CustomMapO:
In script CustomMapInit: Error in code at line 1: // Initializes a custom level// argument0: filename{ // load the background background_replace(CustomMapB, argument0, false, false, false); background_xscale[0] = 6; background_yscale[0] = 6; // get the leveldata var leveldata; leveldata = GG2DLL_extract_PNG_leveldata(argument0); if(leveldata == "") { show_message("Error: this file does not contain level data."); break; } // handle the leveldata CustomMapProcessLevelData(leveldata);}
at position 321: Cannot compare arguments.
___________________________________________ ERROR in action number 1 of Begin Step Event for object GameServer:
Error in code at line 280: if global.redCaps ==global.caplimit || global.blueCaps ==global.caplimit && global.mapchanging==0
at position 12: Unknown variable redCaps
___________________________________________ ERROR in action number 1 of Draw Event for object ScorePanel:
Error in code at line 17: draw_text_transformed(xoffset+xsize/2-62, yoffset+ysize-30, string(global.redCaps),2,2,0);
at position 80: Unknown variable redCaps
|
|
|
|
|
Logged
|
|
|
|
|
AnDrEw
|
 |
« Reply #25 on: October 30, 2008, 04:37:33 pm » |
|
I used b36d and it worked fine, so maybe that'll work? 
|
|
|
|
|
Logged
|
Anne drew Andrew and Drew, and Druanne drew Anne, Drew, Andrew, and Ru.
|
|
|
|
cspotcode
|
 |
« Reply #26 on: October 30, 2008, 05:12:16 pm » |
|
Yeah, I'm almost positive that your problem is caused by the DLL issue, which is fixed and included in 36d.
|
|
|
|
|
Logged
|
"The knack of flying is learning how to throw yourself at the ground and miss." - Douglas Adams
|
|
|
jujyfruit
Newbie
Offline
Posts: 3
|
 |
« Reply #27 on: October 30, 2008, 06:03:26 pm » |
|
Thanks guys, I misunderstood cspotcode's "Get ... the updated game download (b35, not b36)" from an earlier post.
b36d fixed the problem.
|
|
|
|
|
Logged
|
|
|
|
Genesis
Newbie
Offline
Posts: 10
|
 |
« Reply #28 on: October 30, 2008, 07:54:00 pm » |
|
Nice job, this should help some people, though in game after getting the map to work, it seemed like the whole map was "solid," and I couldn't move out of the exact spot where I spawned.
Was the pixel in the lower left corner the same color as the parts of the walkmask that represent open space (not walls)? In the editor, you can toggle walkmask visibility on and off to make sure it's working correctly. No. It still won't let me get out.
|
|
|
|
|
Logged
|
|
|
|
|
AnDrEw
|
 |
« Reply #29 on: October 30, 2008, 08:06:54 pm » |
|
Genesis, re-do the level aspect (inserting spawns, etc.) make sure that your spawn guy isn't touching any walls on the wallmask.
|
|
|
|
|
Logged
|
Anne drew Andrew and Drew, and Druanne drew Anne, Drew, Andrew, and Ru.
|
|
|
|