Author Topic: Howdy folks!  (Read 5482 times)

mattazoso

  • Visitor
  • *
  • Posts: 4
    • View Profile
    • Email
Howdy folks!
« 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!

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
Re: Howdy folks!
« Reply #1 on: 2006-08-10, 03:03:59 PM »
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. - skip down to step 6.

mattazoso

  • Visitor
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Howdy folks!
« Reply #2 on: 2006-08-10, 03:19:30 PM »
Yes.
Yes.
And yes.

If there's a way to post the code for someone to maybe look at?

mattazoso

  • Visitor
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Howdy folks!
« Reply #3 on: 2006-08-10, 04:49:48 PM »
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!

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
Re: Howdy folks!
« Reply #4 on: 2006-08-10, 07:05:55 PM »
yup, copy and paste into a message, highlight it and click the '#' button

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: Howdy folks!
« Reply #5 on: 2006-08-10, 07:10:05 PM »
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 :-\

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: Howdy folks!
« Reply #6 on: 2006-08-10, 07:12:55 PM »
read the tutorial  if there is anything you missed then fix it

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: Howdy folks!
« Reply #7 on: 2006-08-10, 09:49:47 PM »
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.

mattazoso

  • Visitor
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Howdy folks!
« Reply #8 on: 2006-08-11, 02:36:50 PM »
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.

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
Re: Howdy folks!
« Reply #9 on: 2006-08-11, 08:35:19 PM »
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

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: Howdy folks!
« Reply #10 on: 2006-08-13, 12:42:43 AM »
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

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
Re: Howdy folks!
« Reply #11 on: 2006-08-13, 07:31:33 AM »
jam, he already knows how to make a shortcut.
I just wasnt sure if he was using it or not.

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: Howdy folks!
« Reply #12 on: 2006-08-14, 01:13:53 AM »
yeh well you never know ;D