Health Bar Flicker

dimsdaledimsdale Member Posts: 499
edited April 2012 in Working with GS (Mac)
I'm using the Health Bar Tutorial for a rop to lift up a crate on the side of a building.
It works well, but I get a bad flicker and sometimes it fully disappears.
The only real difference form my code and of that in the example is that my scrolls with the level and the Health Bar doesn't.

Comments

  • dimsdaledimsdale Member Posts: 499
    edited April 2012
    Thanks, I have tried that but didn't help sorry.

    I do have a Timer run Every 0.1 sec.
    Does it make any Difference using REAL instead of INDEX as Attributes??


  • MotherHooseMotherHoose Member Posts: 2,456
    edited April 2012
    love that video … great game you are creating! … @dimsdale

    using @Tshirtbooths great Ink Limit video:


    this shortDemo may help: http://www.mediafire.com/?l1qrfjx4ibf6d27

    ==
    realType attributes store positive or negative numbers with/without fractions (decimals)
    indexType attributes store positive whole numbers … no negatives … and roundsOff decimals
    developer's choice … for what numberValues the game should store

    image MH
  • dimsdaledimsdale Member Posts: 499
    edited April 2012
    Thanks MH. I did see this Demo, but it sort if lost me.
    Plus I wasn't sure how to erase the old line and before updating the new lines position.
    I think I will just have a rope that doesn't move for now.
    Thanks for the Help.
Sign In or Register to comment.