Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - takao

Pages: 1
1
Ask a Question / Enemy Faceup to player?
« on: December 15, 2014, 03:22:45 am »
im newbie, i wanna asking how to make enemy faceup to player?
i make atribute *player X and enemy X

i put that in behaviour
when create : set player X to, X of : self (for player)

when create : set enemy X to,X of : self (for enemy)
and i put this behaviour on enemy

always
if : player X <= enemy X
switch animation to "right" for : self

if : player X>= enemy X
switch animation to "left" for : self

i dont se my enemy face up to my player, why??

i need help here T__T


2
Ask a Question / Need help how to prevent double jump?
« on: December 12, 2014, 11:37:59 pm »
Hello I'm newbie, Iwant making simple game like super mario,
I'm making jump behaviour like this
First I make
 #touchfloor as atribute to prevent double jumping
       
*if self colides tiles
Set #touchfloor to true

Then to making jump
*always
  *If :  X button is down and touchfloor = true
Set Y speed to -55 for self
Set #touch floor to false

The problem is, when my actor hit tiles as platform or walls, my actor can't stop jumping.
I need your help how to make this?

Then how to make double jump & wall jump?
I don't undrstand logic from jump & run kit 

Pages: 1