Angel's Forum Posts

  • Thanks, I knew it was going to be some stupid mistake.

  • I'm trying to create a Random Dungeon, and I'm failing at the first step.

    I've got an array that represents the Dungeon and the cells are the Rooms. When I place a Room, I check to see if I should put an exit in that direction (the value of the adjacent cell is 0 and we aren't at the start/finish of the row/column). If the conditions are met, I modify the Room value at bit level so that the room has an exit on that direction.

    I think I'm doing it right, but I'm clearly not. I've tryed introducing some values at hand on the array and calling the function to check the surrounded cells, and if the start/finish conditions are commented, it works.

    The .capx is commented and the names are self explatanatory. I'd appreciate if someone could check the .capx and let me know what I'm doing wrong.

    Thanks in advance.

  • I want to sync the possition of the Sprites from a family. But when creating the objects, it creates a random sprite from the Family on the peers instead of the one created on the host.

    Am I supposed to create a sync action for each sprite type?

  • How will you be able to update a Spriter object once it's on a C2 project?

    I mean, if I do changes to the animations, add more PNGs to it and so... will I need to re-import it and replace all the events? Or will there be a better way to do it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure if this is a bug or a limitation of the engine.

    Link to .capx file (required!):

    dropbox.com/s/b0zhnt8z5h314zm/spriteWidth.capx

    Steps to reproduce:

    1. In a Repeat loop, create an Sprite not present on the layout.

    2. Set the X or Y to Sprite.Width(or Height)*loopindex

    Observed result:

    All the Sprites are on top of each other

    Expected result:

    They should be spread, as it happens when there's already a Sprite on the layout.

  • Thanks a lot, Guizmus! <img src="smileys/smiley1.gif" border="0" align="middle" />

    I knew I was doing something wrong with the loopindex, now I won't forget.

  • I'm trying to do a "couples" game. Try to flip two identical cards.

    I don't want to have the cards placed on the layout, I want to create them at runtime.

    I've got it done, and it works.

    Now, once you're done I want to reset the cards (but not the layout). And whatever I try to do, I can't do it.

    If anyone could help me, here's what I've been able to achieve.

    Thanks in advance.

  • It might have something to do with the OS X version.

    I too have a 10.6.8 and can't open the node-webkit app. But a friend has tested the same file on a 10.7.5 and it works fine.

    So maybe they only work on Lion OS X?

  • Thanks for the kind words <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hi,

    I'd like to share with all of you my first Construct game. Game Logic by me, graphics by my friend Mr. Asso.

    <img src="http://undeadpixelgames.com/uploads/2012/09/fixThatShipLaunch.png" border="0" />

    We wanted to do something simple, so we opted for a fixed screen platformer.

    And we also wanted to make it very approachable without dumbing it down. We made it so that you never get killed. The enemies stun you, and the only way to lose is with a time over.

    It could be greatly improved, but we're proud of what we ended with. We learned a lot while making it, and it was a very fulfilling experience.

    Anyway, you can check it out at undeadpixelgames.com/games/fixthatship

  • No, that's not it. It's installed on the right folder. I was using r109 and I've also updated to r110.2 just in case, but the result is the same.

    <img src="http://s9.postimage.org/bqlu4a1pp/behavior.png" border="0" />

  • When I try to open test_square_grid_move, I get the following error: "Unable to load behavior in [...]Found 'GetBehaviorSettings' global, but is not a function. This behavior will not be available in the editor".

  • With zeropad(number, digits)

    If you get the number from a variable called MyNumber, it'll be zeropad(MyNumber, 3)

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

    And how would I do the opposite? Take a string and make it into an integer to replace the value in a variable? With int(x)?

  • I want to take the first four digits from a number string AND delete them from that string.

    For example, from "100323444577" take "1003" and leave the string as "23444577".

    The long string doesn't need to be a value, it can be a text string. But then I'd like to take that 4 digit value and convert it to 4 single digit values.

    How would I do that?