Ashley's Recent Forum Activity

  • F4

  • Why don't you just disable PNG recompression for testing and enable it for your final export when you're ready to publish?

  • The arcade should stop this by itself, but maldrok is right, for other games not hosted on the arcade you simply need empty 'On key pressed' events and it will block the browser's default action (which is scrolling for spacebar). You have to add blank events because it's designed to not affect the rest of the browser or page unless it really has to - it might be annoying for some people if every C2 game blocked spacebar/arrow key scrolling.

  • No, but good idea, I'll make sure it's mentioned!

  • Why is this useful? It has the same problem that you'd have if you showed UIDs in the editor. If you delete a few objects and added a few more the index and UID is different for all the objects. So if you ever used it anywhere now it's wrong.

  • I can't reproduce it on any games in the Arcade. Does anyone have any issues playing Arcade games in IE9? I think it might be a problem specific to previewing (which is good if so, it's much less severe than not working at all).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The 8 direction movement isn't really designed for this kind of use. You should just add events to move it how you want, and detect solids in events as well.

  • You should get in to the habit of only importing PCM .wav files to Construct 2. I've just recently added a relevant article to the manual on the Import Audio dialog which has relevant info.

    The AAC encoder supports the .mp3 format, but the Ogg Vorbis encoder does not support it, so it only gets imported as AAC. The article I linked to also describes how .m4a is a backup to an .ogg file (so .oggs take priority) which is why you can't select just an .m4a in the event system.

    Construct 2 could decode MP3 and re-encode it to .ogg but this degrades quality, and encoders are complicated, difficult to deal with, and if used in commercial software like Construct 2 sometimes incurs some hefty fees for us, so we just totally avoid it. You should use your own audio encoding software to decode your MP3 to .wav if you must, but it's really best to just import PCM .wav files all the time for everything. I nearly took out the option to import formats like MP3 at all, but I thought we may as well leave it in if the encoder is capable.

  • Have you tried using 'Simulate control Brake'? That's the name of the down arrow key.

  • Firefox has one of the worst garbage collectors of the major browsers AFAIK. Construct 2's engine is carefully optimised to create as little garbage as possible, but Firefox seems to still have a little trouble with it. I've seen Firefox running some games perfectly smoothly, though.

    Mozilla are working on an improved collector with what's called a 'generational collector' which performs much better. It's a few releases off, though - I think given a few months they'll have sorted it. Just growing pains for HTML5.

  • Here, because I read this forum, and have now read this suggestion :)

  • You can actually do this with a combination of other expressions:

    float(tokenat("1,3,5,7,9", int(random(5)), ","))

    where "1,3,5,7,9" is a comma-separated list of numbers and the 5 in random(5) is the number of items in the list.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,830,210 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