Boony's Forum Posts

  • RamPackWobble

    Wonderful! The rotation is a lot smoother now. Thanks for that.

    I want to return the favor for helping me out of a bind, so please contact me within the next few days about what you want done. I can design a studio logo or redesign an existing game logo, an illustration or some game art. I'll create something nice for you.

  • RamPackWobble

    Awesome! That's pretty cool how you achieved it. You have me thinking of events in a different way. Thanks!

    My nephew is going to flip when he sees this. PM me with whatever you want in return. I'll get started on it tonight. I can draw a little better than what I let on in the example. It only took me 8-10 minutes to make those sprites.

    Thanks again!

  • The is an event called "Is between angels" which compares if the object is between two angles.

    Thanks cvp, but I'm not sure how to get that to work with the bullet behavior. The helicopter still only tilts in one direction.

    I've attached a link to the C2 project with just the helicopter. I'm a bit desperate because the game is suppose to be a gift for my nephew and I've been trying to get the tilt to work for weeks. I'm going to give it to him either way, but it would be nice if I can get the helicopter to behave a little closer to a real one. He loves helicopters!

    If anyone can fix the tilt for me to work with the bullet behavior controls, I'll return the favor by doing some artwork for them. Maybe a logo or something? I'm not the best artist, but some people like my stuff. Offer only good until 12th because his birthday is on the 13th.

    Rescue Copter

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • How would I check if the Player is moving at a range of motion like between 315-45 degrees?

  • LittleStain

    BluePhaze

    Edit: RamPackWobble was able to help me in another thread. If anyone is looking to add tilt functionality to the bullet behavior, please view the thread here:

    Thumbstick with tilt

    It doesn't have to be used with only a helicopter. Having a character slightly tilt forward when they run might give the impression they are running faster.

    Thanks again to LittleStain for making these amazing thumbstick controls! I've tried so many others and these are my favorites!

  • BluePhaze

    I'm confused. Since angle of motion is circular, isn't everything greater or lesser than a number?

    I tried it with 2 contitions each:

    If Copter.Bullet.AngleOfMotion Lesser or equal to 45 and

    If Copter.Bullet.AngleOf Motion is Greater or equal to 315 then

    Copter Rotate 1 degree toward 10

    If Copter.Bullet.AngleOfMotion Lesser or equal to 225 and

    If Copter.Bullet.AngleOf Motion is Greater or equal to 135 then

    Copter Rotate 1 degree toward -10

    If Copter.Bullet.Speed Less than 2 then Copter Rotate 1 degree toward 0

    That didn't work though.

  • LittleStain

    I'm just trying to make a helicopter tilt slightly in the direction of travel. It's a side scrolling rescue game using your bullet behavior controls. So if the helicopter moves forward, it tilts forward and if it moves back, it tilts back. No tilting on up or down movement.

    If I can't use exactly 0, how do I express a range of numbers and make it work?

  • LittleStain

    How would you set player tilt to the bullet behavior controls? I've been trying to get my helicopter sprite to tilt back or forth in the direction of travel, but the closest I've gotten in getting it to tilt in only one direction and it gets stuck there.

    System | Copter.Bullet.Angle of Motion = 0 | Copter | Rotate 1 degrees toward 10

    System | Copter.Bullet.Angle of Motion = 180 | Copter | Rotate 1 degrees toward -10

    System | Copter.Bullet.Speed = 0 | Copter | Rotate 1 degrees toward 0

    I don't see that doesn't work. Help, please?

  • dafont

  • Hmmm... I'm not sure what do mean by "better?"

    If by "better" you mean "easier," there are a ton of professional vector and paint programs out there that make certain tasks less complicated. ArcadEd mentioned a couple popular ones.

    There's also Flash, CorelDraw, Painter, Inkscape, Sketchbook Pro, iDraw, DrawPlus... to name a few more. There's also a ton of tutorials online if you want to teach yourself how to better use the software. Try DeviantArt or Tuts+.

  • Awesome! I'm going to study how you did that. Thanks, PixelRebirth.

  • I tried Comparing Bullet Speed.

    Enemy - Bullet Speed Greater than 0 | Enemy Rotate 1 degrees toward 8.

    But when it moves backwards, it stays at that angle.

  • Sure, this is what I have. Bullet behavior is attached to the enemy with set angle off so the enemy is always facing the same direction.

    Enemy - Bullet distance traveled > 150 | Enemy - Set Bullet Speed to 0

    Then I wait a second and send it back the other way. I'd like for it to tilt when moving forward and backward.

  • I'm still having some difficulty. The enemy helicopter doesn't have "is moving" because it's not controlled by the player and doesn't have an "8Direction" behavior assigned to it. It has a Bullet Behavior assigned to it. VectorX won't work either because it's associated with the "8direction" behavior.

    Is there any other way to achieve this either using the bullet behavior or just checking if the enemy object is moving?

  • That works great. So "vector" defines the movement direction? This helps a lot. Thank you.