Page 1 of 1

Help me!

PostPosted: Tue May 01, 2007 3:08 am
by odnom
hi iam new to this program and i seen another game that was made with this and it was pretty cool and i'am trying it now and i have a few questions
1. how do i make my character move to where i want when i want (like in the caveman game)

2. if i add my own background thats one big picture can i add ledges behind it so i can stand on things?

3. if i want to make a fighting sort of game how would i make him attack like in the cave man game you cant kill the snake??

if someone could help me that would be great thanks


(cave man game i am talking about is the one in the tutorials)
the tutorials are to hard for me :S

PostPosted: Tue May 01, 2007 1:44 pm
by Caaz Games
2. if i add my own background thats one big picture can i add ledges behind it so i can stand on things?
to make edges i would use a wire frame actor, have a collision event with the player actor.
1. how do i make my character move to where i want when i want (like in the caveman game)
do you mean like in a key down event or a move to event or a path?

PostPosted: Tue May 01, 2007 2:20 pm
by odnom
yea like if i press left arrow key he moves left or right he moves right and how do i make him stand on the edges and not fall through?

observe

PostPosted: Tue May 01, 2007 3:26 pm
by d-soldier
Your actor needs a collision event set for colliding with the "ledges"(are you using an image or wireframe region?) On that collision event (player) set a physical response to contact with any side of (ledges) and make sure to check the box that says "repeat while colliding". Play the game and see what happens... you will no doubt need to adjust the physical response settings to your liking.

PostPosted: Tue May 01, 2007 5:32 pm
by Sgt. Sparky
if you are using a wire frame region set the physical responce of specified mass for the event actor to 0.000001,
set the physical responce(final velocity multiplier) to .1
:D

PostPosted: Wed May 02, 2007 12:05 pm
by Zehper48
to make your guy move
add a keydown event then hit the up arrow key then click script editor and type
Code: Select all
y=y-5;
that will make your guy go up, to make him go right do the same thing and type
Code: Select all
x=x-5;

PostPosted: Wed May 02, 2007 9:32 pm
by Sgt. Sparky
Zehper48 wrote:to make him go right do the same thing and type
Code: Select all
x=x-5;

x + is right,
x - is left,
y - is up,
and y + is down.
(x - is not right)
:D