Can I do this with Game-Editor

Game Editor comments and discussion.

Can I do this with Game-Editor

Postby zexmorf » Tue Mar 07, 2006 2:27 pm

Im very low on days left on my Trial, so before I buy the software I want to make sure that it can do what I want in this release. :) :D (It probally can)

I got alot working already, but cant get the player to move object around the screen.
This is what I want to do on my Qtek 8310
1: PlayerX picksup BlockY move BlockY left or right then release BlockY.
Then picks up BlockZ move BlockZ.

2: Can I create levels that are been read from a .TXT file containing my level info. f.instance
0 = Background block
1 = BlockY
2 = BlockZ
X = Transparent

level.txt contains

000000000000000000
00xxxxxxxx00xxxx00
00xxxxxxxxxxxxxx00
000010000001000000
00000xxxxx00000000
000000220000000000


Sorry for my poor ASCII art skillz.

Hope this makes sence.



ZexMorf
zexmorf
 
Posts: 5
Joined: Mon Feb 20, 2006 1:51 pm
Score: 0 Give a positive score

Postby makslane » Tue Mar 07, 2006 2:51 pm

makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby zexmorf » Tue Mar 07, 2006 5:33 pm

Thanks for the replay Markslane, that looks very good, but what about the first question.

Can my Player actor pickup another actor, move it around and drop to just to pick up another actor.

ZexMorf
zexmorf
 
Posts: 5
Joined: Mon Feb 20, 2006 1:51 pm
Score: 0 Give a positive score

Postby makslane » Tue Mar 07, 2006 6:56 pm

In some event of PlayerX (like when collide with BlockY) add this Script Editor action:

ChangeParent(BlockY, "Event Actor");

To release BlockY:

ChangeParent(BlockY, "no parent");
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Troodon » Wed Mar 08, 2006 1:18 pm

You can do also a 'brake' variable wich is on when there is no collisions.
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby zexmorf » Sat Mar 11, 2006 12:02 pm

TekDino

I just got the program today (yep bought it today), so Im a super noob regarding this, so an example would be great :)
Thanks for helping out.
zexmorf
 
Posts: 5
Joined: Mon Feb 20, 2006 1:51 pm
Score: 0 Give a positive score

Postby Troodon » Sat Mar 11, 2006 3:31 pm

Make a variable (for example brakeVar).
When the actor is not touching the block, it's x and y velocity are 0;
When the actor collides with the block, the brakeVar is off and the actor can move.
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest