Ashley's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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?

  • Oh yeah, heh, I gave it a simpler name. No rotation enables the up vector.

  • Hehe, nice <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /> if you use an up vector on the tank (enable it in physics properties), you wont be able to tip the tank over.

  • Is there a hung temp.exe process? Alternatively try finding Temp.exe in the Scirra folder in Application Data, and deleting it.

  • CommonDialog.SelectedFile(1) works for me here, try putting it in a text object. Is this a bug in the image object then?

  • In the animator bar, angle 0 means facing right, and angle 180 means facing left. So if you add two animation angles, then under each, draw a frame with the character facing in the appropriate direction. When you move the character it'll automatically pick the nearest animation frame for that direction.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,422,923 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
  • x108
    Coach One of your tutorials has over 1,000 readers
  • x62
    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