Angel's Recent Forum Activity

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • IF you can specify multiple sources for a video, that's enough.

    Thanks for the update, Rex

  • Is there a way to make a video available to all browsers?

    It would be cool if this plugin worked like the audio plugin, having the same video in different formats and the browser picks the correct one.

    I've been trying to find a way to identify the browser and load a different video via events. But if it's possible, I couldn't find it.

  • I'm starting to work with Arrays, and I'm a little lost.

    I've got a 9x5 array. And with it, I've created a Grid of blue Sprites.

    At the botton left corner, you've got a Martian you can "buy" and place it on the Grid.

    Once you've placed it on the Grid, I'd like to store it's UID (or any other value) in the corresponding place on the array.

    Also, when you're moving the Martian on the Grid, it snaps to the centre of the blue Sprite. I'm doing it with a ImagePoint. Is there any other (better) way to do it? I've tried using floor() but was unable to make it work.

    Download .capx

  • When you create a new Group, you have this window where you set the Name, Description and if it's Active o not on start.

    Is there any way to get that window for created groups? Right now if I want to change the name of a group or set it as not active, the only way I know is creating a new group and moving the events there.

  • I've got all my items on a single Object. Each item being an Animation. They're called "item1", "item2" and so on.

    I'd like to know how to store on a variable only the number part of the Animation name.

    Basically, is there a way to store a value and discard part of it?

  • Forget it, my fault.

    I was creating a new text every tick on top of each other.

    Anyway, thanks for the quick reply and sorry. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Hi Mipey, great plugin.

    Does it support alpha channels?

    The characters have a semi-transparent drop shadow on the .PNG I'm importing. But it appears like solid black on the game.

  • Thanks! That helped a lot <img src="smileys/smiley2.gif" border="0" align="middle" />

  • I'm doing a platformer game. As sugested by manual, I've created a rectangle object and pinned the animated sprite.

    Now, I'm trying to do the same with the enemies. What I've done is...

    On start layout, for each boundingBox:

    -boundingBox spawn enemy.

    -enemy set position to (boundingBox.X, boundingBox.Y)

    -enemy Pin Pin to boundingBox

    And it works fine.

    But how can I identify each enemy to mirror or change the animations depending on what is the corresponding boundingBox doing?

    Thanks,

Angel's avatar

Angel

Member since 30 Nov, 2011

None one is following Angel yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies