Ashley's Recent Forum Activity

  • It is relatively difficult to call another object's expression, because you need:

    1) an instance to call it on - you don't pass any instance, so 'this' in the expression method is not set and ends up being the global scope. Since the method uses 'this' to refer to the object instance, the method fails and causes the javascript error.

    2) as rexrainbow mentioned you need to pass a 'ret' parameter in order to receive the result. This is undocumented and you shouldn't really be doing this in the first place.

    Basically, the easiest thing to do is to copy and paste the code from the Mouse plugin.

  • jwjb - which folder are you saving to? Are you sure you have permission to access that folder?

    This error occurs if Construct 2 is unable to delete and then rename a file. So it is very strange if this fails. The most likely cause would probably be that you don't have full permission to access the folder you are saving to.

  • jwjb - the tutorial involves importing 144 tile images. These are all saved in PNG-32 format by default, and happens to be about 9mb worth of image data. You can delete the unused tiles to reduce the file size, but to keep the tutorial simple it doesn't discuss that. If you make your own game and only import images that are actually used, it will likely be a lot smaller.

  • Set the text to: left(text, len(text) - 1)

  • We mentioned in this blog post we're aiming for a release some time in August!

  • It's been on our todo list for a while, hopefully we'll get round to it soon!

  • Have you tried the latest beta release r99? I think we made some related bug fixes recently, and they may not have reached the stable releases yet.

    Also, are you sure you're using the latest version of iOS?

  • kittiewan - just a heads up, this thread is a little over a year old and was posted before that tutorial existed or directCanvas was even released!

  • We won't remove PhoneGap because some people still use it to publish games, and in future when phone browsers are actually decent it will become a viable option for publishing again. It's just in the short-medium term it's unsuitable for publishing games and at the moment we strongly recommend publishing via CocoonJS or directCanvas.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's an interesting library, but it's just a wrapper around WebSockets. It also requires setting up a Node.js server to talk to, so is not entirely straightforward to get working.

    It might be useful when we come to add multiplayer, but I prefer not to use third party libraries where possible and write our own. This offers the maximum performance and flexibility. If we used a third party game engine library, for example, it's unlikely Construct 2 would be anywhere near as fast as it is with it's WebGL renderer.

  • I don't think you actually want this! "Anything" includes the background objects, so would likely be true all the time, making it useless.

    Why not add all the objects you want to test for collision with to a family (perhaps name it "Floor")? Then you can test for overlap with any of the objects in the family with a single "Is overlapping floor" event. More information in the Families manual entry.

  • This is kind of splitting hairs, but in the editor an "event" is actually any row in the event sheet, which includes everything you can add to an event sheet (variables, groups, etc). Actual events with conditions and actions are called "event blocks". Really these are just the internal names though - usually people refer to event blocks as just events.

Ashley's avatar

Ashley

Online Now
Early Adopter

Member since 21 May, 2007
Last online 27 Oct, 2026

Twitter
Ashley has 1,832,967 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
  • x6
    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