Ashley's Recent Forum Activity

  • The 'create object' action sets the picked objects to just the created object.

    Sub-events inherit the parent event's picked objects, so the subevent inherits a single Sprite (the last created one).

    For-each only iterates the currently picked objects, so it runs once for that last created sprite. (In this case you don't need a for-each, it has no effect - actions naturally run "for each" picked object. You only need a for-each when this built-in behavior does not do what you want.)

    To fix it, make a second 'start of layout' event that just has 'wait 5 seconds' then 'destroy Sprite'. That event has a blank slate for picked objects, so all sprites are destroyed.

  • Doesn't anyone find it odd that 1) GM is generally considered a scripting tool, in order to do anything useful, and 2) if you can code, why would you buy an expensive tool to code in when you can just code in javascript with many excellent free tools and libraries available?

    Not sure who's supposed to be going for that.

    Obviously C2 is a non-coding solution. Not only does that make it really useful for non-programmers making HTML5 stuff, but it also makes it very different to GM, so I don't think there's any need for anyone to panic.

  • Whenever possible, I would recommend animating things by events and sprites. It makes for a much, much smaller download, and actually is smoother than animation frames (unless you're really going to import an animation with 60 frames per second). Yes it's a bit more work, but IMO it's much better.

  • awesome8x, are you aware you're posting in the "Closed bugs" forum?

  • You do not have permission to view this post

  • I think Adobe are only interested in Actionscript/programming tools, so I'd be really surprised if they started work on anything at all like C2.

  • Anyway, the [] are set in informative strings (set to be displayed for the user not used for the functionning like the naming "getBoard" is) and shouldn't affect the functionning of the behavior, aren't they ?

    My point still stands. What kind of Construct 2 user (when the whole program is aimed at non-programmers) will know what [] means?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • SmartStartTools, developers might be interested in the traffic stats for your site so they can judge if the deal is worthwhile for them.

  • Collision detection with hundreds (if not, thousands) of tiny particles can be really slow. You might want to just Z order the particles so they display under other objects and naturally get hidden, rather than having tens of thousands of expensive collision checks every second.

  • Does it work if you take out the [] characters?

    You should avoid using [] to indicate arrays anyway - C2's whole reason of existence is to help non-programmers be able to code without coding knowledge. Only programmers know [] means accessing an array, and to non-coders it's totally meaningless. Notice how the Array object avoids that syntax entirely.

  • You do not have permission to view this post

  • You do not have permission to view this post

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,771,066 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
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs