Ashley's Recent Forum Activity

  • Physics and other movements don't tie in particularly well at the moment: currently, if you move it with a mouse movement or such, it has the effect of teleporting a series of positions along the line you move it, rather than having a velocity and force applied. It's one of the improvements we need to make to the physics engine.

  • A bug. Should be fixed in next build.

  • Variables go in single quotes, eg. Global('Myvar'). You should try the ghost shooter tutorial, it teaches you things like this <img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" />

  • Under the 'Layers' category in the System object for both actions and expressions, you'll find 'Set opacity' and 'Get opacity'.

  • It's something I just haven't got round to yet. I think I'll just drop it, the new version has a live updater which can grab new plugin and runtime releases between builds.

  • You can rename event sheets in the dialog where you add and remove them from the list. Single click a selected item to rename it, like renaming a file in windows explorer.

    Can you send me your .cap that runs out of memory? I need to be able to reproduce it.

  • Yikes! Beats me right now, the code for that part is a direct wrapper to the physics engine. It might be a rounding error. The worrying thing is the same thing happened when I swapped Set Velocity for Set Force <img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" />

  • I think I've fixed this now, when the next build comes out let me know if it works!

  • I think it only supports BMP files for loading. Are you trying to load a PNG or JPG? If so, that wouldn't work. Maybe I can add support for other formats in a later version.

  • Oops, a bug! Something is wrong with For Each Element. I'll try have it fixed for the next build, which should be out today or tomorrow.

  • Well your event is equivalent to:

    + Always

    + Array: For Each Element

    + (System/Compare values) Array.CurrentValue equal to 1

    : Create Object blahblah...

    i.e., 'For Each' on its own runs every frame, not just once.

    To resolve this add another condition above the 'For Each' condition. In my original example, I added a 'On spacebar pressed' condition above the For Each, to avoid this problem: the array is only checked when you press spacebar.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Suppose you want to perform an action on every element which equals 77.

    Use the conditions:

    + Array: For Each Element

    + (System/Compare values) Array.CurrentValue equal to 77

    : Any actions you want

    For example, to limit all elements in the array to a maximum of 100 when the user presses spacebar:

    + On spacebar pressed

    + For Each Element

    + Array.CurrentValue greater than 100

    : Array: set value at X,Y,Z:

    Array.CurrentX

    Array.CurrentY

    Array.CurrentZ

    to 100.

    'For Each Element' repeats the event for every element in the array. Under the 'For each' expressions you'll find Array.CurrentValue (the value of the current element being tested), Array.CurrentX, Array.CurrentY and Array.CurrentZ (the indices of the current element).

    Does this help?

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,398,829 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
  • x107
    Coach One of your tutorials has over 1,000 readers
  • x61
    Educator One of your tutorials has over 10,000 readers
  • x3
    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
  • x35
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs