7Soul's Forum Posts

  • Yes, C2 will automatically pick the only specific objects involved in the collision

  • I was going to suggest the exclamation mark as well. You could say it could confuse the non-programmer crowd that uses C2, but this reminds me of the discussion that happened quite some time ago, about arrays and other stuff being 1-index in CC, and it was done that way to help those users understand the program better

  • The best way to do animations, is to have a box that handles all collision and other events, and then the separate sprite, that you will position on top of the box. All alignment stuff should be handled in the sprite

  • Wouldn't it be better if you put the imagepoint on the player box, instead of the sprite? This would avoid confusion and possible problems

  • If you want to know how to use arrays, check the manual entry: http://www.scirra.com/manual/108/array

  • Family behaviors is coming on next release, I believe

    brockatkinson there's probably no performance drop

  • That's exactly what I did:

    Global variable keyLeft = 37 (means left arrow)

    Start of layout: start capture

    Keycode.ScanCode = keyLeft: go left

    It works, but the object keeps going left forever, because the Keycode.ScanCode only changes once I press another key

  • if object opacity = 0 : object set invisible

    else : object set visible

    That's probably how you could do it

  • Wait, how do you use this to create custom controls? From what I saw it only have the equivalent of the "on key pressed" and no "key is down"

  • So far... negative 100$ u.u

    But I'll get there, I hope

  • This bug got me through a lot of trouble during ludum dare

  • My jam game, Biodome

  • 00Rez duuuuude, I love you! Thx :D

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've managed to take a string of ones and zeroes and put them on an array, then I output the array values to a Text, just to check if it worked, and the text displays the ones and zeroes as expected. But when I check for numbers 1 in the array, it never returns true

    Here's a screen and the capx:

    (the string value doesn't show up in the editor cuz it's too long, but its there)

    <img src="http://i.imgur.com/Ci1Rc.png" border="0">

    http://dl.dropbox.com/u/3954039/auto-tiling.capx

  • I was trying to use Ogmo to make levels in XML and import them on C2. But i'm not sure how to read it...

    This an example of the XML it creates:

    <level>

    <NewLayer0 exportMode="Bitstring">

    0000000000000000000000000000000000000000

    0000000000011110000000000000000000000000

    0000000000111110000000000000000000000000

    0000000000101000000000000000000000000000

    0000000001101000000110000000000000000000

    0000000000101100111111111000000000000000

    0000000111101110100001000000000000000000

    0000000100000110100001000000000000000000

    </NewLayer0>

    </level>

    I can load the file, but I don't know which XPath string I need to read this. Can I convert this information to an array?