simplisto's Recent Forum Activity

  • What I'm trying to do:

    sprite.click() {
    textBox.text = this.objectName
    }[/code:812gmlgi]
    I can see there's a .layerName expression but I can't find anything along the lines of .objectName or .spriteName - is there a way to automatically set the instance variable to the object name instead? Setting them manually isn't an option due to the vast number.
    
    Thanks.
  • Solved. The problem was with my second CSV file; I should have double checked it. Thanks for the help

  • I thought it would too (it being 'lastData' and all), but the previously loaded data remains and the lastData in added to the end.

  • I'm loading data into two different arrays from two different CSV files. I had considered loading them both together into a single array, but I need to select random values from both meaning I'd have to add additional functions to split up the two randomised selections. This would be simple enough if the number of entries were fixed, but they aren't.

  • I'm sure I must be missing something obvious, but I haven't found an answer from searching the manual, tutorials or forms.

  • I searched through the tutorials and the forum, but I couldn't find what I was looking for. Apologies if I just missed it

    Is it at all possible to flip a text box in C2? If not, is there a plugin or other work-around that can?

    For clarification: I have a text box with a light source (image) in the background, so I want a shadow to be cast under and towards the foreground. My intention was to clone the text box, desaturate it, lower the opacity and flip it vertically (as you would in Photoshop or Illustrator). The text box needs to display a large number of vars so image replacements aren't an option.

    Would a spirte font be the way to go?

    Thanks in advance, you lovely lot!

  • Thanks everyone (and especially Sqiddster)!

    I knew there must be a system expression to do that but I couldn't find it anywhere. I had overlooked the System Reference section of the manual <img src="smileys/smiley9.gif" border="0" align="middle" />

    I've never needed to use Math.floor before, otherwise it would have been blindingly obvious. How embarrassing.

    Yes. Anyway. Thank you, chaps! <img src="smileys/smiley42.gif" border="0" align="middle" />

  • As the title says, I'm trying to round down to the [I}lower integer.

    Just to be clear; An input of 3.7 would return 3 and NOT 4 as would occur using the round() expression.

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

  • I've already fallen madly love you guys <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Hi - my first shot at using Construct 2 here - just a simple ragdoll experimentation. Any fellow graphic designers here might recognise it from the Rodchenko/Mayakovsky constructivist poster that it's based on <img src="smileys/smiley23.gif" border="0" align="middle" />

    simplisto.com

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • First post - Hi everyone!

    I've read some posts from last year about problems when applying the Wrap behaviour to sprites, such as the sprite failing to be placed to the other end of the stage and instead 'jumping' on the edge. It seems to have caused some confusion for a while now.

    I have managed to pin down exactly what leads to this bug; when the origin point reaches the end of the layout before the centre of the sprite does.

    I have uploaded an example. You might notice that the Wrap will fail when moving forward over the edge of the layout, but it WILL work when going in reverse. This is because the origin point is aligned to the tip of the ship.

    ubuntuone.com/0IWHHIDa7qXZgnWaLCRiTU

    I'm going to work around it by changing the dimensions of my sprite frames so they match eachother (allowing me to simply align the origin to the centre), but it'd be nice to see this problem stamped out for good.

    Sorry for the long winded post there - I wanted to be thorough <img src="smileys/smiley2.gif" border="0" align="middle" />

simplisto's avatar

simplisto

Member since 31 May, 2012

None one is following simplisto yet!

Connect with simplisto

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies