LaDestitute's Recent Forum Activity

  • Your welcome! :D

  • Have you tried pinning behavior for the ball?

  • It might be possible to save imagepoint using variables, arrays, and such. I don't know much about this, so you would have to tinker with it.

  • This would be hard to do in 2D depending on the context, but:

    *For floating objects, use shading/shadow affects on their sprites to make them appear to be floating. Simulate floating with random movement if you like.

    Btw, is this an isometric game like Zelda or Final Fantasy or a sidescroller like Sonic or Mario?

  • You should create a layer on the top called GUI (have the parallax set to 0,0) and set your health bar graphics layer to the GUI layer.

    Edit: Also, I can create a tutorial for creating a dyanmic HP bar if you like. My project's HP/MP meters works in that fashion and has the "bar/meter" part overlaid on a border graphic.

  • I've been trying to reverse engineer the eventing for a HP bar I made (credit goes to Kiyoshi for the source eventing data), so I could make an EXP bar. However, the exp bar is not working as I suspected it would. It's supposed to be initially empty and fill up as the player gains EXP.

    I've tried everything form switching the hotspot to the right side, making sure the step value doesn't return a 0 (as it divides width by the EXP until next level for the step value), reversing the TilNextEXP-CurrentEXP and even using "+" instead of "-" for the actual meter calculation.

    Capx

  • You can use an array for this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Make an image point on the graphic where you want it to go, then every tick -> meter -> set position to object graphic imagepoint whatever.

    Is that all or is it more complex than that?

    Yeah, that's all. Thanks.

  • So, until now; I've been positioning all of my meter overlays by hand like this.

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

    Is there some way (possibly using image points?) to automatically align (and precisely) the meters to the graphics their being overlaid in instead of doing it by hand, without the potential for error?

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

  • 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" />

LaDestitute's avatar

LaDestitute

Member since 19 Dec, 2011

None one is following LaDestitute yet!

Connect with LaDestitute

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies