Ashley's Recent Forum Activity

  • Motion blur is broken in 0.97.7 - fixed in the next build. Turn it off for now to return things to normal-looking.

    I don't know whats wrong with the other things though, I'll try to find the time to take a look soon. If you can reproduce the problems in a blank .cap with as few objects as possible, it'll be much quicker to fix.

  • Put the objects on a layer with the Scroll X rate and scroll Y rate set to 0.

  • Humph, I'll make a thoroughly error-checked version soon and send it to you, maybe that will help identify what's wrong.

  • Looks like it'll be a good article! Going to put it on the wiki?

    + On "Punch" control down

    ->Trigger Once

    This event looks confusing, you probably don't want to use it as an example. 'On punch down' looks like a trigger (ie. on key pressed) and therefore adding Trigger Once has no effect. You could have 'Is key down' and 'Trigger once', but why would you do that instead of 'On key pressed'?

  • Hey, nice use of 3D box

  • A waypoint is just a location to move to. If you say 'Move to X, Y' and enter a coordinate the other side of the map, obviously the unit tries to reach that coordinate. If you say 'Add waypoint at <position other side of map>, Add waypoint at <original position>' then the unit goes to both waypoints, in order. It'll go to the other side of the map, then come back to its original position.

    As for units moving over each other - use 'Avoid moving over object' action on start of layout. The RTS basics template has an example of this. Units will negotiate in to a queue and not overlap too much.

    It's not perfect though and I've been planning on improving it, especially since it's annoyingly easy to set up parameters that make them spin around in a dumb way, and you have to tweak the parameters at the moment to get it to work right. Hopefully I can come up with a better engine. It's really tricky stuff though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, suppose you want to get the value interpolated at X = 4.7. First you want the integer part and float part (4 and 0.7), which are floor(X) and X - floor(X) respectively.

    The expression lerp(a, b, x) does linear interpolation - so we want to interpolate between the two nearest array entries, floor(X) and floor(X) + 1.

    Which is something like:

    lerp(Array(Floor(X)), Array(Floor(X) + 1), X - floor(X))

  • What have I told you about eating the fungi in your back garden, David?

  • Scytos, open a crashing file with the XAudio2 object in Construct, and press Debug All instead of Run all. It should (hopefully) report an error via a messagebox. I just remembered the normal preview silently supresses errors - running a Debug will show you the error messages. If you could paste the error, if any, to me here then I can see what might really be wrong!

  • Actually, I just made a small sample myself that plays a XAudio2 object and it crashed. So there's the problem.

    Hmmm... you do have a sound card, right? Does it just crash straight away or does it crash when you try to play a sample?

  • Deadeye, can you send him a version of the game with the XAudio2 object deleted from all layouts and see if that works?

  • No, that's the Construct runtime wrapper message for when something crashes, so you don't get the 'please report this message to Microsoft' message. It could be anything... they definitely have up to date DirectX installs? Did you build it with the latest version of Construct? Does it crash on just Vista/XP/any other specifics?

Ashley's avatar

Ashley

Online Now
Early Adopter

Member since 21 May, 2007
Last online 23 Jun, 2026

Twitter
Ashley has 1,766,333 followers

Connect with Ashley

Trophy Case

  • 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
  • Forum Mega Brain Made 20,000 posts in the forums
  • x125
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x5
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs