Scrolling Game Development Kit Forum
SGDK Version 1 => Help/FAQ => Topic started by: mattazoso on 2006-08-10, 02:53:39 PM
-
Well, I played Mel Gibson Safari 3 and was inspired. So I'm trying to make a game with a baby and a bunch of zombies in Barbados. I did a bunch of "stuff" and I've got a map, I've got solid ground and the main player sprite. Now I'm trying to test it and I'm getting an Overflow! "Error Playing Map: Display Must Be Open". I also wanted to learn how to make a projectile shoot from the baby, if anyone could help me out with that too. I'm sort of new at this stuff, so I'm not as awesome at it as most of you people are, but baby must find his family!
-
Did you make it so the map has a player sprite?
Did you make sure your main sprite has 'initial instance' checked?
Did you set which map to start on in player settings?
Shooting: Here. (http://sourceforge.net/docman/display_doc.php?docid=9165&group_id=9970) - skip down to step 6.
-
Yes.
Yes.
And yes.
If there's a way to post the code for someone to maybe look at?
-
I made a shortcut, I know the darn baby is there, i click on the shortcut, gamedev starts, then closes.
When I try to run it directly from the developer while its open I get the Overflow! message.
I've tried a bunch of stuff, re-doing the sprite, remaking the map, but it just doesnt cooperate.
oi!
-
yup, copy and paste into a message, highlight it and click the '#' button
-
does it let you edit the map
any sprite goes off the map in any way that is the only way ive ever got an overflow :-\
-
read the tutorial if there is anything you missed then fix it
-
Overflow usually happens when a sprite goes to a distance of more than about 2 billion pixels from the top left corner of the map. That can happen if you forgot to delete a sprite after it left the map (which should have been impossible if you properly set solidity on the sprite) and it's still being affected by gravity.
-
okay, the problem was i didn't save the set as a solidity set, duh man.
now I'm trying to get this baby to shoot a bottle, and I made the script for the sprite of a projectile by useing that cool tutorial, but i push control and nothing happens. does the bottle need to be an initial sequence? do i attach it to the player sprite somehow so it shoots off the baby?
you guys are awesome for hlping me out, thanks.
-
you have to create a shortcut to the prject ad play it from there in order for the script to run with it.
hehe, I can just picture script running through a field with a project into the sunset...*daydreams*lol
-
yeh you have to go <file><Create shortcut> and put in the path to the script and game project type in a name and it should end up on your desktop
-
jam, he already knows how to make a shortcut.
I just wasnt sure if he was using it or not.
-
yeh well you never know ;D