Game Maker Questions Topic!!!

Need programming help? Want to post programming tips? Are you programming a game and want to show it off? That and more here.

Re: Game Maker Questions Topic!!!

Postby Suyo » March 13th, 2010, 2:46 am

Merged posts from Zed's Engine Topic here.

Post teh code plz.
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Game Maker Questions Topic!!!

Postby Zunar » March 13th, 2010, 8:39 pm

Here's my problem:
I have my game set to show a message extension when you press P.

Game Paused
Resume---Game Info---Quit

How can I make it where you click Resume and the message closes and you continue the room?
User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Re: Back to: Game Maker Questions Topic!!!

Postby Zed98 » March 14th, 2010, 4:26 am

agentms11 wrote:
Zunar wrote:How do you create sprite and object folders?


Right click > Create Group
OR
<Shift> + <Insert>

Zed98 wrote:Name: Super Sonic


Don't put spaces in names.
Use "_" instead.
And it's case sensitive.
So if your object is called Super_Sonic you would have to do Super_Sonic.x
Hope this helps!!!!!
Zed98 wrote:I now get this:

Code: Select all
___________________________________________
ERROR in
action number 1
of  Step Event
for object Missle:

Error in expression:Super_Sonic.x
 position 13: Unknown variable x

___________________________________________
ERROR in
action number 1
of  Step Event
for object Missle:

Error in expression:Super_Sonic.y
 position 13: Unknown variable y


Help me out!
Zed98

Well, I don't appear too often, but I'm still alive!
User avatar
Zed98
The Legacy

 
Posts: 744
Joined: September 22nd, 2009, 1:17 pm
Location: Somewhere in the United States of American

Thumbs Up given: 11 times
Thumbs Up received: 4 times

Re: Game Maker Questions Topic!!!

Postby Suyo » March 14th, 2010, 5:40 am

Superyoshi wrote:Post teh code plz.
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Sonic & Knuckles Doomsday Zone Engine

Postby Zed98 » March 14th, 2010, 5:45 am

agentms11 wrote:I'm assuming you want it in D&D:
Just put this in the step event.
Image
(On the first page ("move") on bottom)
x: sonic.x
y: sonic.y
speed: 5
stop at: solid only

Replace "sonic" with the object you want it to home in on.

Hope this helps!!!!!



(AKA, I did Drag and Drop)
Zed98

Well, I don't appear too often, but I'm still alive!
User avatar
Zed98
The Legacy

 
Posts: 744
Joined: September 22nd, 2009, 1:17 pm
Location: Somewhere in the United States of American

Thumbs Up given: 11 times
Thumbs Up received: 4 times

Re: Game Maker Questions Topic!!!

Postby Suyo » March 14th, 2010, 5:52 am

And your object is EXACTLY called Super_Sonic? The object must be called like this.
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Game Maker Questions Topic!!!

Postby Zed98 » March 14th, 2010, 5:57 am

Yeah, but then about the homing step?
Zed98

Well, I don't appear too often, but I'm still alive!
User avatar
Zed98
The Legacy

 
Posts: 744
Joined: September 22nd, 2009, 1:17 pm
Location: Somewhere in the United States of American

Thumbs Up given: 11 times
Thumbs Up received: 4 times

Re: Game Maker Questions Topic!!!

Postby Suyo » March 14th, 2010, 6:12 am

Zed98 wrote:Yeah, but then about the homing step?


wut?

Call the object SuperSonic or something, then wirte SuperSonic.x and SuperSonic.y
Image

Image

Image

Image

Image

Image
User avatar
Suyo
"quite easily the most manly man of all" --Raz

Error contacting Twitter
Error contacting last.fm
 
Posts: 2771
Joined: July 28th, 2009, 2:41 am
Location: Nuremberg (Germany)

Runouw Votes Winner
For winning the RV New Year 2012 Award for Best Moderator. Like you didn't know. XD

Thumbs Up given: 26 times
Thumbs Up received: 359 times

Re: Game Maker Questions Topic!!!

Postby Zed98 » March 14th, 2010, 6:34 am

Code: Select all
___________________________________________
ERROR in
action number 2
of Alarm Event for alarm 0
for object Missle:

Error in expression:SuperSonic.x
 position 12: Unknown variable x

___________________________________________
ERROR in
action number 2
of Alarm Event for alarm 0
for object Missle:

Error in expression:SuperSonic.y
 position 12: Unknown variable y


This happens when sonic gets hurt, because sonic getting hurt is not the same object.


But the parent of them is an object I called camera (for the view), so that will be the target of the missles.
Zed98

Well, I don't appear too often, but I'm still alive!
User avatar
Zed98
The Legacy

 
Posts: 744
Joined: September 22nd, 2009, 1:17 pm
Location: Somewhere in the United States of American

Thumbs Up given: 11 times
Thumbs Up received: 4 times

Re: Game Maker Questions Topic!!!

Postby LUIGIMAN >:0 » March 21st, 2010, 10:44 am

I need a little help about the lagging in the game
Do you wanna know how to get facepamed *facepalm* Mario & Luigi adventures(chat story) is under construction ( viewtopic.php?f=27&t=4016 )
Image
Click here to level up my card! Go here instead to level up http://www.mubos-md.com/brawlcards/levelup.php?102831 (The monster battle feild viewtopic.php?f=13&t=4121 ) Bartenders needed for food court
User avatar
LUIGIMAN >:0
Mage's Apprentice

 
Posts: 19
Joined: March 11th, 2010, 12:55 pm
Location: I'm luigi i hide inside my room from boo's

Thumbs Up given: 0 times
Thumbs Up received: 0 times

PreviousNext

Return to Programming