I need some help

Game Editor comments and discussion.

I need some help

Postby RippeR7420 » Sat Nov 20, 2010 12:20 am

In a game like block breaker,(where you control the platform and use the ball to break all of the bricks) If you lose a ball, How do you make it so another re-spawns?
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: I need some help

Postby skydereign » Sat Nov 20, 2010 12:27 am

You either create a new one with CreateActor, or on the out of vision event (or a collision with a region), you set the ball's xy to the center of the view.
ball -> Out of Vision -> Script Editor
Code: Select all
x=view.x+view.width/2;
y=view.y+view.height/2;
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: I need some help

Postby RippeR7420 » Sat Nov 20, 2010 12:48 am

Thanks for the tip :)

but what Im trying to do is make it so when you lose a ball, A new ball will start off on the platform..
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: I need some help

Postby skydereign » Sat Nov 20, 2010 12:51 am

Oh yeah, its been a while since I played those games. Well, you'd create the ball in front of the paddle then. I assume you have some state that makes the ball follow the paddle around, if not tell me, as this assumes you have some variable controlling that.
ball -> Out of Vision -> Script Editor
Code: Select all
x=paddle.x;
y=paddle.y-paddle.height;
ballState=0; // the follow paddle state
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: I need some help

Postby RippeR7420 » Sun Nov 21, 2010 9:16 am

how do I upload a file that is 9mb?

I want to upload it and let you take a look at it for me :)
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: I need some help

Postby skydereign » Sun Nov 21, 2010 9:23 am

You'll have to use the java uploader. That or upload it to a file hosting site, and post the link.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: I need some help

Postby RippeR7420 » Sun Nov 21, 2010 6:45 pm

heres the exported version of it..
Attachments
Block Buster Demo.exe
(1.5 MiB) Downloaded 85 times
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: I need some help

Postby RippeR7420 » Mon Nov 22, 2010 12:53 am

ahhh, so would I just export in Linux Exe. format?
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: I need some help

Postby NightOfHorror » Mon Nov 22, 2010 1:05 pm

Yup, so pretty much when you export the game click on the bottom tab and a list of exe format appear
viewtopic.php?f=2&t=12136
"I have not failed. I just found 10,000 ways that wont work." quoted by Thomas Edison.
Over the year, I decided my motto for me is I am knowledgeable, but not practical.
User avatar
NightOfHorror
 
Posts: 1823
Joined: Fri Aug 27, 2010 2:50 am
Location: Cedar Hill, MO, of the USA
Score: 51 Give a positive score

Re: I need some help

Postby RippeR7420 » Mon Nov 22, 2010 3:26 pm

Alright, Maybe I'm doing something wrong, But it keeps telling me "The extension is not allowed."
What does mean?? Haha sorry for sounding so... Noobish right now..
CURRENT PROJECTS:

-Olo: The Sword Shaman http://game-editor.com/forum/viewtopic.php?f=4&t=12919

-The Wrath of Blob: (On the back burner)

-StickMcGee - Blast to the Future http://game-editor.com/forum/viewtopic.php?f=4&t=13660
User avatar
RippeR7420
 
Posts: 391
Joined: Mon Apr 27, 2009 4:16 pm
Location: Salt Lake City, Utah.
Score: 23 Give a positive score

Re: I need some help

Postby lcl » Mon Nov 22, 2010 7:27 pm

RippeR7420 wrote:Alright, Maybe I'm doing something wrong, But it keeps telling me "The extension is not allowed."
What does mean?? Haha sorry for sounding so... Noobish right now..


Are you sure you have the newest version of GE?
In the old demo version (where there is that "made with game editor" -thing in exported games) it is not possible to export on some platforms.
Might be that linux is one of them. :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron