Ashley's Recent Forum Activity

  • Replace it with XAudio2 and check if it still happens! Directsound is being phased out ASAP, so I won't be fixing any bugs or maintaining it!

  • Eh, I don't like those hosting files much anyway. I'm sure most ISPs still give you free FTP space (I use mine regularly). If it still holds true it must be the best kept secret on the internet, given the prevalence of these fairly rubbish hosting sites. If you host your file on your ISP FTP you get:

    • Actually get the file when you click on it (none of this "We're just loading your file at the moment (ahem look at the adverts ahem)" rubbish
    • Doesn't change page when you click the link
    • Faster
    • No ads
    • No "sorry but your file expired" when you need to check out an old bug report .cap
    • Both options are still free

    So from my point of view, one site down, only a bunch more to go...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • I thought it was at least stable but there might be problems with certain plugins. Can you reproduce any of these save/load problems in a fresh .cap file and post them to the tracker?

  • AppPath returns a backslash at the end. And you should use backslashes (\) not forward slashes (/) for local files. So the correct formatting for a subfolder would be:

    AppPath + "Music\File.mp3"

  • includes seem to produce anomalies as per the example I sent you before, Ashley.

    Could you make a .cap that demonstrates events working differently in an include?

    [quote:1eptmrpr]Secondly I'd ike to request a "Local Sheet" feature. so that each background has one dedicated sheet that doesn't muck up the sheet list.

    Each background? Huh? Don't you mean each layout? But each layout already has its own event sheet...

    [quote:1eptmrpr]also while I'm at it, getRefreshRate and GetFPS plzkthx -- and if you're really nice, set override to make things easier

    Meh, okay, I'll try and get them in a build... but I'm not absolutely convinced they're necessary. You can measure the FPS with events by the way, look up Ticks on the wiki.

  • Expressions don't work in the property grid. If you want the text to show the timer, you need to do it in the event sheet editor, ie.

    + Always

    -> Text: set text to timer

  • Quick example showing how you can achieve non-linear movement which is constant at any framerate.

    The sprite chases the mouse cursor by closing in a certain percentage of the distance remaining every tick. Since it uses TimeDelta, it works the same rate at all framerates. Try it - fixed 10fps or unlimited, even with a hundreds of times higher framerate it still goes at the same rate.

    Just thought I'd share it, because the formula is a bit tricky to work out otherwise Also a good example of interesting places to use lerp().

  • Yeah, computers can't calculate math exactly precisely, because they only used a fixed number of digits. For example, if you do one-third times three using only 6 digits of precision, you get:

    0.333333 * 3 = 0.999999

    which clearly isn't 1 - which you'd expect to get from multiplying a third by three. The same thing is happening, but in binary.

  • It's based on David's logo - he'd have to say!

  • 1) How can I display variables in a text object? Everything I try just displays the variable name.

    I bet you're trying stuff like:

    "timer"

    Stuff between quotes is constant text. Don't use quotes for variables:

    timer

  • Here's a screenshot of an animated shader effect I was playing with. Maybe it fits the bill?

    <img src="http://www.scirra.com/images/scirraswirl.png">

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,766,092 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