newt's Forum Posts

  • Wow we really do have a mixed group here. heh

    Well the more the merrier.

  • If you double the height of the Text object you will see the text. It seems that if a word is wider than the text object then it is sent to the next line.

    I can only find a IE solution to provide a save as dialog to save the image. For now using the browser object to open ImageUrl and right-clicking save as is the simplest way that comes to mind.

    Oddly enough, it doesn't work in IE, but does in FF, and Chrome.

    <img src="smileys/smiley36.gif" border="0" align="middle" />

    Image url that is.

  • Not 100% sure but I think there may be a bug with the getImageUrl expression.

    Return in a text object returned nothing, but using the browser object, open url in a new window returned what I'm guessing is a base 64 string.

    Also would I safe in assuming that method would allow me to do my previous request of being able to save a modified canvas?

  • 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" />