Page 1 of 1

plzzzzzz help i suck im 11

PostPosted: Sun Dec 05, 2004 9:14 pm
by ashton777
i need help bad i dont get it in the tutorials it says go to data blabablababla and when i do as they say there is no data in actor control. so how do i make him move or any thing anyone give me help

PostPosted: Sun Dec 05, 2004 11:11 pm
by marciadietrich
You are young, and this stuff isn't always easy even for us older college educated folk. Here is a walk thru on adding an actor and having him move left and right with the arrow keys:

Open game editor

Add Actor, name = "player", press "Add"

Right click the player actor and choose "Actor control" ... "player" should be selected on the name then choose the "Add" button, choose "Key down" and press the left arrow key. "Add action" then choose "Script editor" from the list. A box opens that you can type in .. type x = x - 5; and then choose "Add" and "Immediate action" .

Now press the right arrow button, "Add action" and "Script editor" again, this time type x = x + 5; and choose "Add and Immediate action". Close that box and then close the big box. Press "Game Mode" from the top bar and you will be able to press left and right arrows making the character move in those directions. Escape takes you back to the editor.

I think someone suggested going thru the tutorials, they will run by themselves until done, and after it is over you can play around and look at what has been done in the example. Hope that helps... :)

Marcia

PostPosted: Mon Dec 06, 2004 1:33 am
by ashton777
ok thanks alot but how do you jump or fly

whats the code to fly or jump

PostPosted: Mon Dec 06, 2004 2:18 am
by ashton777
ya ineed the code to fly or jump plz

PostPosted: Sun Dec 12, 2004 7:45 am
by brutalDeluxe
and off he rides into the sunset....

Image

jump/fly

PostPosted: Thu Dec 16, 2004 10:16 pm
by willg101
im no pro myself, only being 13, but here's a code for jumping:

first, click 'event add' (asuming you're in the actor control menu)
second, click 'key down'
third, press 'up' (or whatever the jump key is)
fourth, choose 'script editor'
fifth, type
Code: Select all
yvelocity=yvelocity-1;

sixth, click 'add' then 'immediate action'
----
That's for when the player holds the 'up' key down.
Next is for when they press up.
----
first, click 'event add'
second, click 'key up'
third, click 'script editor'
fourth, type:
Code: Select all
yvelocity=yvelocity*(-1);


**Just make sure you have ground or something to land on.
if you dont know how to do this, see the tutorials.

I hope this works ;)