newt's Recent Forum Activity

  • Yeah, just use instance variables.

  • Thanks guys, glad I could help.

  • It just so happens that for each goes through instances based on creation.

    So for each sprite set private variable "myid" to loopindex should suffice.

  • Ok, yeah, perhaps they should reword that. :)

  • In events editor, right click, add global variable.

    They remain the same between layouts, until you change them.

  • I think your issue right now is how to populate the list. The array object isn't set up to load from an external source.

    random array

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't see where you're getting the double ampersand from, unless you are taking the "doubles as" literally.

    What it means is ampersand can be used in different ways.

  • To begin you would want to create a trigger such as start of layout, located under the system object. Then you would create a sub event under that, a nested loop. This would be a for loop, again located under the system, I would name it "x", as per my example. To nest it, add another subevent, another for loop, "y".

    Then, once more you add a sub event under that, this will be a comparison.

    The array object has one built in, or you can use the system compare.

    Named for loops can be referred to in expressions as loopindex("loopname"). So if you input loopindex("x") in your comparison it will use the value of the current loop, 0,1,2,3,4, etc.

    There are tons of examples that come with C2, and much more on the forums.

    Might want to look around, its an excellent resource.

  • Why wouldn't && generate an error? It's the equivalent to a stutter in this case.

  • A: yes

    B: no

    C: arrayat loopindex "x", loopindex "y" = "banana", system make banana at loopindex "x" *30, loopindex "y" *30.

    No idea how you want to populate the array.

    You can either:

    A: add entries at startup

    B: use an algo, random(n) = this, do foo.

  • I think for a "flick" type of control you could just use an instance variable, like sprite.variable("wastouched")= 1, sprite go to this vector.

    Then you would need another variable to tell if the object was still moving, and then once it stops moving set wastouched to 0.

  • Seriously, time to chill out.

    <img src="http://images.cheezburger.com/completestore/2009/8/6/128940754199712668.jpg" border="0" />

newt's avatar

newt

Member since 12 Nov, 2008

Twitter
newt has 27 followers

Trophy Case

  • 16-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

31/44
How to earn trophies