Ashley's Recent Forum Activity

  • Fixed! Took a couple of hours to work it out, but it was a good catch - thanks for finding it. There was a fairly subtle multithreading issue which was a bit of a headache, but it affected all loaded sounds of any format, so pretty important to fix!

    Attached is the runtime version of XAudio2.csx. Paste it over your Plugins\Runtime copy and it should be fixed. (the edittime plugin has not changed)

  • I'm afraid I can't find the files you say you emailed me in the bug report (this is why I ask all possible files are attached or uploaded to permanent storage). Not sure why I can't find them - might've been junked or auto deleted or something

    If you re-send them or (preferably) upload/attach them then I can have a look at a quick update.

  • Do you mean bug 2863906? I'll see if I can get a hotfix for it at least.

  • I have an 8800GT too. I guess I'll switch back to ATI when I get my next computer, my 8800 tends to overheat, forcing a reboot.

  • You've got the AppPath bit right. You just need to do the same thing when adding in the Sprite value, put & either side of it:

    AppPath & "se\chain" & Sprite('PegSound') & ".wav"

    Remember:

    • "" (two double-quotes) in a string turns in to ", ie: "hello ""world"" " gives: hello "world"
    • Anything "in quotes" never changes, ie.: "You have Sprite('health') health" will literally give the text: You have Sprite('health') health
  • Yes, you should always use the angle functions for angles - I think in Construct angles can, at times, go over 360 and below 0 anyway (eg. 405 would be 45 degrees) so straight comparison as numbers will never be reliable. However, the angle functions always work properly with any angle inputs, taking in to account wrapping and angles outside the 0-360 range.

    If you want to check if an angle is equal to a number, for example, you'd have to just check the anglediff() expression and see if it is within 1 degree (say) of the desired angle. As mentioned above, both anglediff(46, 45) and anglediff(406, 45) are 1, so it takes in to account wrapping, which you cannot do by ordinary comparisons.

  • Lucid is right - basically, because the source code is open, some Prof-UIS files are available on the CVS. However, you cannot download these and go and use them in other C++ projects. Since none of these files are at all used in neither the runtime nor the plugin SDK (which deliberately hides all UI code) then you don't need to worry about Prof-UIS licences at all if you're distributing a game or plugin.

    In retrospect it was a bad decision to go with Prof-UIS - since we have to pay for upgrades, which is always difficult for an open source project. But since we made the decision MFC (a free library with Visual Studio) now has the same features - so in Construct 2, we'll definitely be using that.

  • Don't use greater than/less than tests on angles - it never works properly. They always have problems with the crossover between 0/360 degrees. That's what the angle-specific expressions, like anglediff, are for.

  • What is alpha clipping and how does it work?

  • This is not possible, you cannot change the name of the variable you want at runtime. You could try another data storing object, like Hash Table.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What codec are the .WAV files? Could you post them so we can try them out too?

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,827,081 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
  • x126
    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
  • x44
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs