dop2000's Recent Forum Activity

  • There is a Cordova plugin which you can add to your project:

    npmjs.com/package/cordova-plugin-appavailability

    Then call appAvailability.check method from a script to check if an app with a certain id is installed. I'm not 100% sure if this will work, but you can try.

  • What behavior are you using on the sprite? Try disabling "Set angle" in behavior settings. If this doesn't help, please post your project file.

  • Could you share a sample project with this text object? I think I have the same issue with one font, but it's not as severe.

  • It's just a generic dialog. I don't think it's possible to add arrays to hierarchy. If you want to assign an instance of the array to each instance of another object, you can put them into a container.

    As far as I know, hierarchy works for sprites, tiled backgrounds, 9patch, text and sprite font objects.

  • Creating an object from many pieces connected with joint will be a difficult task. And the joints may not hold.

    It's easier to destroy the original object and spawn a bunch of pieces in its place. Here is a demo:

    dropbox.com/s/lyrnh9od24ewsix/Physics_destructibleBlocks.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If there are no "Waits" in the function, then it's executed in the same tick. If the function call is the last on the event sheet, then after this function is finished, the tick will end.

    The event sheet will run again from the top at the start of a new tick.

  • No, you can't add objects to a family in runtime.

    You need to add all monsters to Monsters family, and define "isEnemy" variable on the family. This way you will be able to easily pick friendly or enemy monsters in the game.

  • ((Car.MoveTo.MovingAngle+355)%360)/10

    I'm not sure this formula is correct. It will return frame 0 if the angle range is between -5 and 5. However, when the moving angle is between 5 and 15, the frame needs to be 1.

    I think this should do the trick:

    Car set frame to round(((Car.MoveTo.MovingAngle+360)%360)/10)%36

  • Yes, I think so. You can create a separate value for radial recoil and use a different easing expression or maybe Tween to change it.

  • OK, thanks, the code on line 2 you posted, which condition are you using?

    "System Is Within Angle", it's a similar condition to "Is between angles"

    And what do you mean with (36-loopindex)? Do I need to add that literally to the action as: Set animation frame to: (36-loopindex)

    Yes, but I don't know if this will be a correct expression in your case.

    Oh and, is this code for 36 frames or 360? I'm trying to understand why you use 5 degrees, and use multiply loopindex by 10.

    It's for 36 frames. I loop in 10 degrees intervals from 0 to 350 degrees - 0, 10, 20, 30 etc. And for each interval checking if car angle is within 5 degrees of it. For example, for loopindex=8 it will check if car angle is between 75 and 85 degrees.

    .

    If your animation has 360 frames, then you can simply set frame to moving angle value. But you will need to convert it to positive number:

    Set frame to (Car.MoveTo.MovingAngle+360)%360

  • Move "Set angle" action from event #10 to #11

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies