LaDestitute's Forum Posts

  • LaDestitute: I basically just moved the image points "emtpy" and "full" to the bottom and top middle of the sprite, and moved the origin of the same sprite to bottom middle.

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • LaDestitute: I just edited some of the image points, does this solve your problem?

    Link: heartHUD_edited.capx

    Can't open it, since I'm using the current stable release r90

  • LaDestitute you need to change the ImagePoints position of the heartOutline sprite. Moving the max to the top seems to fix it, but you need to play with it around to get it correctly

    Tried that. It won't fill to the top all the way, and and it's misaligned unlike below:

    <img src="http://dl.dropbox.com/u/5899974/Graphics/hunger%20example.png" border="0" />

  • Retweeted. :3

  • (sorry for gravedigging, but I have to ask this)

    I tried to modify the shape of the outline (the heart) for something else, and it's not filling out as I expected; probably due to it's irregular shape.

    What I have tried so far

  • I only had the y axis because I have multiple stats, so I wanted a row for each so I wouldn't have to reorder the array for new values later on.

    Edit: Nevermind. I fixed my problem, it was a group I had the stat storage in. It was never getting calculated since it was at the bottom instead of being the first group.

  • If I understand you correctly, I think it should be:

    Set Player.MaxHP to Playerstats.At(2,0,0)

    This will set the Player.MaxHP from the array

    I don't know what's causing it, but when I set "Playerstats.At(2,0,0)" directly as the value of Player.MaxHP, I get a zero.

  • Yes, somewhat.

    Now, I managed to get it to work almost but the value always reads "1".

    <img src="http://dl.dropbox.com/u/5899974/Graphics/Isthisright.png" border="0" />

    Did I do this right?

  • At(X, Y, Z)

    Or

    would it be Arrayname.At (X, Y, Z)?

    Edit: Okay, I get it partially.

    I have the value, now how do I transfer to the instance variable? Setting "Playerstats.At (2, 0, 0)" as the value of an instance variable doesn't appear to work.

  • I've tried searching for how to do this, but there wasn't very much I could find and even then the examples I found where hard to understand.

    How do I use "tokenat" to get a value from an array, say the number 60 stored at 3, 1, 0?

    A tutorial or a method of making the expression easier to understand would be very helpful for me.

    EDIT: MY intention to take a value from an array (say again, 60 at 3, 1, 0) and store the found value in an instance variable.

  • For some reason, that hurts my eyes.

  • I finished this last week, some graphics for a game I'm working on with a friend:

    <img src="http://dl.dropbox.com/u/5899974/Graphics/example.png" border="0" />

    <img src="http://dl.dropbox.com/u/5899974/Graphics/menu%201.png" border="0" />

    <img src="http://dl.dropbox.com/u/5899974/Graphics/menu%202.png" border="0" />

  • <strike>Okay, I think I have it down but I'm encountering a visual glitch when I test it out. Project

    I only want the meter to empty out from the right side, and yet it's emptying out from both sides.</strike>

    Nevermind, fixed. It was the hotspot/origin point that was causing it.

  • What do I do about stats that I do not want to reset if the player is destroyed?

  • What would be the best way to handle multiple statistics values for the player, such as HP, level, and EXP? I'm talking a moderately large number of stats, and in a RPG game I'm helping with; I counted and it's around +20 or so.