Topic:   Re: Newbie help?   (Read 23272 times)


0 Members and 1 Guest are viewing this topic.

Xiphos


  • GMG-er

  • **


  • Posts: 676
Re: Newbie help?
« on: July 03, 2009, 01:03:12 PM »
It should be working, run the game and tell me what the error says?

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: Newbie help?
« Reply #1 on: July 03, 2009, 01:06:47 PM »
WOW thanks, thats was a fast reply...
your shure you're not a bot? lol
 I changed it already, my bad. :P

I think it set the x to 100100 or something

Here's what I did

CREATESPRITE 2, "Stickman"
MOVESPRITE 2,100,100


See the comma?
¬_¬
« Last Edit: July 03, 2009, 01:07:32 PM by Connors »
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: Newbie help?
« Reply #2 on: July 03, 2009, 01:08:40 PM »
Ummm is there a way to delete my post? I might as well.
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

GMG Tim


  • Administrator

  • GMG-er

  • *****


  • Posts: 465
Re: Newbie help?
« Reply #3 on: July 03, 2009, 01:42:36 PM »
Quote
Ummm is there a way to delete my post? I might as well.

The 'Remove' button in the upper right corner of the post will delete it. If you don't see it, make sure you're logged in!

Best,
Ghost

Xiphos


  • GMG-er

  • **


  • Posts: 676
Re: Newbie help?
« Reply #4 on: July 03, 2009, 01:53:28 PM »
So it works now connors?

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: Newbie help?
« Reply #5 on: July 03, 2009, 02:35:49 PM »
Yes it works...
I'm trying out other stuff now, and I found a far better question: how do you make something move constantly without user input? there's no section for repeating code :|
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Xiphos


  • GMG-er

  • **


  • Posts: 676
Re: Newbie help?
« Reply #6 on: July 03, 2009, 02:49:26 PM »
You can create a timer like this

ON TIMER (period)
code
END TIMER

(period) = in ticks
60 ticks = 1 second

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: Newbie help?
« Reply #7 on: July 03, 2009, 03:01:25 PM »
Thanks, man!
I can maybe even finish a level today!





:F thats my favorite smiley.
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Xiphos


  • GMG-er

  • **


  • Posts: 676
Re: Newbie help?
« Reply #8 on: July 03, 2009, 03:06:38 PM »
Great! Can't wait to see your first creation!

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: Newbie help?
« Reply #9 on: July 03, 2009, 04:27:53 PM »
Is there an easier way to make a whole lot of sprites do the same thing than make code for each one of them?
I want some enemies to come from the right side of the screen for a shooter type game...
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Xiphos


  • GMG-er

  • **


  • Posts: 676
Re: Newbie help?
« Reply #10 on: July 03, 2009, 05:11:19 PM »
Code: [Select]
Let x = 1 to n
CREATESPRITE x
MOVESPRITE x
PUSHSPRITE x

n = total number of sprites

Sorry I was at dinner so it took me a while to post! I got this from eqwanox's shooter game!

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: Newbie help?
« Reply #11 on: July 03, 2009, 05:50:49 PM »
Cool! ...how do i give them different positions? :-/
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Xiphos


  • GMG-er

  • **


  • Posts: 676
Re: Newbie help?
« Reply #12 on: July 03, 2009, 05:54:44 PM »
I think you have to do it separately I have no idea??!!!

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: Newbie help?
« Reply #13 on: July 03, 2009, 06:53:00 PM »
Well, thanks for the help.
I'll ask around. :)
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

GMG Mike


  • Administrator

  • GMG-er

  • *****

  • no avatar

  • Posts: 536
    • mikerichardson.name
Re: Newbie help?
« Reply #14 on: July 04, 2009, 03:52:01 AM »
Quote
Code: [Select]
Let x = 1 to n
CREATESPRITE x
MOVESPRITE x
PUSHSPRITE x

n = total number of sprites

Sorry I was at dinner so it took me a while to post! I got this from eqwanox's shooter game!

That code isn't right. you want FOR, not LET. You also need NEXT at the end.