vectorX = (Sprite.Bullet.Speed)*cos(Sprite.Bullet.AngleOfMotion) vectorY = (Sprite.Bullet.Speed)*sin(Sprite.Bullet.AngleOfMotion)
vectorX = (Sprite.Bullet.Speed)*cos(Sprite.Bullet.AngleOfMotion)
vectorY = (Sprite.Bullet.Speed)*sin(Sprite.Bullet.AngleOfMotion)
thanks!
so i got an sprite with bullet behavior and in debug mode i can see the vector x and y of the sprite using bullet behavior, how do I compare that value in C2? there isn't an expression and I have no idea how do i calc that value..
none of the links working, also the quote is kinda wrong, the name of the addons is gone
is it possible to have the sprite inside the tiled_sprite a different frame between them?
It's being worked on, sorry for the problems. It's a tricky problem.
no problem dude
can't find anything too, not sure whats going on
First condition: Keyboard-> On any key pressed Second condition: System-> Compare two values -> (Keyboard.LastKeyCode=49 | Keyboard.LastKeyCode=50 | Keyboard.LastKeyCode=51) =1
First condition:
Keyboard-> On any key pressed
Second condition:
System-> Compare two values -> (Keyboard.LastKeyCode=49 | Keyboard.LastKeyCode=50 | Keyboard.LastKeyCode=51) =1
Develop games in your browser. Powerful, performant & highly capable.
actually no success, key isn't an expression, how do I make in the condition of the picture to trigger either key code 49 50 or 51 is pressed without adding 3 conditions for each key code?? possible or not??
This comes up a lot. You can’t do some thing like Key = 40 | 41 You have to do Key=40 | key=41 The reason is because or is treated like an operator like +. The two numbers get or’d together which isn’t what you wanted in your op.
This comes up a lot. You can’t do some thing like
Key = 40 | 41
You have to do
Key=40 | key=41
The reason is because or is treated like an operator like +. The two numbers get or’d together which isn’t what you wanted in your op.
Oh, ok then thanks!
really liked it
hahaha i love it
Hey all
Trying to put on expression in condition "on key code pressed"(keyboard plugin) many keycodes with | between them as "OR" but it's not working... why?
example: 49|50|51|52
Member since 5 Dec, 2010