dop2000's Recent Forum Activity

  • It's just a very common thing beginners do in Construct - they add a new event for everything. Then they discover these events affect all instances and not just the one they want, or that events are firing on every tick instead of just once. People try to fix this by creating complex "state machines" and by adding "trigger once" conditions in every event. And often end up with an entangled and still buggy code.

    When you spawn a new instance, it's better to perform all initial actions with it in the same event. And avoid using "trigger once" condition, especially with multiple object instances.

  • This is a 2-dimentional array. The first column (at Y=0) contains scores, the second column (Y=1) contains names. After sorting, Array.At(0,0) will contain the highest score. Array.At(0,1) will contain the name of the person who made that score.

    Array.At(1,0) - second best score, Array.At(1,1) - its name

    Array.At(2,0) - third best score, Array.At(2,1) - its name

    And you should display the scores in the same event where you parse them (add another sub-event in event #3.

  • Why "ghost racer"?? I meant this example:

    And you can't load your data directly into the C3 array. You need to load (parse) it into JSON object first. Then do something like this:

  • Load into a JSON object. Then use "JSON For each key" loop and insert every value into an empty array. Can't tell you more details because I don't know the format of your JSON data.

    There is an example project in C3 showing how to work with JSON, check it out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need to open the project in an old version of C3 - see which version it was saved with in the c3proj file. For example, if "savedWithRelease":25102, then open this url:

    https://editor.construct.net/r251
    

    Remove the VS plugin from the project and save. Then you should be able to open the project with the latest C3 release.

  • Yeah, you can't use "Pick Nth instance" in a "For each" loop, because it processes one instance at a time. You need to compare loopindex instead.

    For each playerfamily order by score
    ..Compare loopindex=0 : set placement to 1
    ..Compare loopindex=1 : set placement to 2
    ..Compare loopindex=2 : set placement to 3
    

    Or just do this:

    For each playerfamily order by score: set placement to (loopindex+1)
    
  • If I'm not mistaken, this can be done with this expression in C3:

    lerp(0, 200, unlerp(sprite.bboxleft, sprite.bboxright, mouse.x))

  • Why additional events, waits, trigger once etc.? Just spawn the bullet in the same event you set the "fire" animation and adjust its angle of motion. And give it "Destroy outside layout" behavior, so it would be destroyed automatically.

  • Gun.Angle + int(random(10, -10))

    You don't need int() - it will make the spread slightly asymmetrical.

    Otherwise I agree with igortyhon, there is nothing wrong with your gif.

  • See my previous comment - distance(0,0,Gamepad.Axis(0,2),Gamepad.Axis(0,3))*dt expression should move the cursor faster/slower depending on the tilt.

  • To add to the previous comment you can use this event to move the cursor:

    On every tick :

    Cursor move distance(0,0,Gamepad.Axis(0,2),Gamepad.Axis(0,3))*dt at angle: angle(0,0,Gamepad.Axis(0,2),Gamepad.Axis(0,3))

  • I can open your project, but there is nothing in it except for sounds.

    Try a different browser, or maybe clearing browser cache and data.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 followers

Connect with dop2000

Trophy Case

  • 8-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
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies