ArcadEd's Recent Forum Activity

  • Actually, I think I fixed it by make sub events of the sub event.

    <img src="http://content.screencast.com/users/ArcadEd/folders/Jing/media/b269ba3a-75be-4bee-af30-c1cc2f8842d8/2012-08-10_1342.png" border="0" />

  • OK, so I am running into a bit of a bug with this. It worked great with just one object, however I have some different object I want to use this same approach too. Here is a modified CAPX of yours that I added a new object too, and I am using the same code. It seems that once you get into the range of the new object, it no longer checks the DISTANCE element, only the angle of the others. Not sure if I am making sense.

    edfarias.com/games/turret2.capx

    I shortened the range of all objects to test this out, but as you move around I think you will notice what is happening.

    Thanks again.

  • Oh, thanks for the example. I'll have to look back over my code and see what I did wrong. Thanks again for the help :).

  • Quick question. If you use Rotate Towards instead of Set Angle, does the .angle property of the turret always stay zero? I'm asking because I don't want to fire unless it's some what lined up with the chopper, but when I am using angle() to check the angle between the turret and chopper, it's all wacky. So I checked the angle of the turret every tick and it stays as 0 as I watch it rotate.

  • Worked perfect. Actually just added a subevent under the event to check the distance for the Every Tick. Perfecto! Thanks a ton :)

  • Thanks guys, I'm actually not using in every tick right now, it's happened if the player is a certain distance from the turret. However, I will just make that trigger a variable that will be using in the every tick.

    Thanks again.

  • I have a gun turret that is using set angle towards my main character. Problem is it just sets the angle instantly. Is there a way to make it rotate slowly towards the character?

    I'm not really good with the physics object, is that something I should use?

    Thanks,

    Ed

  • Yeah, comments works pretty good on a dedicated event sheet Didn't even think about that. Thanks.

  • If you sign up with hostgator you get a free SSL certificate. At least that was their deal when I signed up last year. Works great for publishing Facebook apps. FYI.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It would cool to have another TAB type that is simply a notepad. I like to write notes, ideas, objectives etc. for the game I am working on. Currently I use a separate notepad file for each game, but it would pretty nice to have it as one of the tabs for my project.

    Thanks

    Ed

  • Awesome, thanks so much :)

  • The reason being is chopper can spin around as fast as you can move the mouse. Thank you though, this was all very helpful

ArcadEd's avatar

ArcadEd

Early Adopter

Member since 3 Jul, 2012

Twitter
ArcadEd has 7 followers

Connect with ArcadEd

Trophy Case

  • 13-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x10
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies