How do I make health bar + game score moving with player ?

ikadikad Member Posts: 58
edited October 2014 in Help Wanted

Hello,

How do I move my health bar around the scene with my player in corner of camera control inside scene ?
also game score and control buttons ? like any normal game on iPhone

Comments

  • if you go into the scene and click on the scene tab then go to layers you can make a layer that doesn't scroll, put that layer on top and put your items in it

  • jisokjisok Member Posts: 8

    Create a New layer and name it controllers
    Put all that should move with the camera in the new layer
    move the layer above the existing layer and remember to uncheck the box
    Check your camera range and insure your background and fixed and not movable.
    Fixed items should stay in the original layer

  • ikadikad Member Posts: 58

    @RossmanBrothersGames said:
    if you go into the scene and click on the scene tab then go to layers you can make a layer that doesn't scroll, put that layer on top and put your items in it

    @jisok said:
    Create a New layer and name it controllers
    Put all that should move with the camera in the new layer
    move the layer above the existing layer and remember to uncheck the box
    Check your camera range and insure your background and fixed and not movable.
    Fixed items should stay in the original layer

    Thank you for your help :)
    I did all what you says but it's still not working :( ?

    health bar disappeared completely when i preview my game

  • LovejoyLovejoy Member Posts: 2,078

    Make sure your non movable layer is in the bottom left section of your scene

    Fortuna Infortuna Forti Una

  • ikadikad Member Posts: 58

    @raycur09 said:
    Make sure your non movable layer is in the bottom left section of your scene

    I did

    imageImage and video hosting by TinyPic" alt="" title="" />

  • LovejoyLovejoy Member Posts: 2,078

    Is your health bar positioned on the lower left size of the whole game scene?

    Fortuna Infortuna Forti Una

  • ikadikad Member Posts: 58

    @raycur09 said:
    Is your health bar positioned on the lower left size of the whole game scene?

    No it's on the upper left .
    I just placed my health bar on corner of camera control area in the scene . Should i do something else ?

  • LovejoyLovejoy Member Posts: 2,078
    edited October 2014

    Place it on the lower left hand side of your whole scene.

    HUD actor only show up when placed on the default game camera position.

    Fortuna Infortuna Forti Una

  • ikadikad Member Posts: 58

    @raycur09 said:
    Place it on the lower left hand side of your whole scene.

    HUD actor only show up when placed on the default game camera position.

    Health bar successfully appeared .. (*) :o

    wohooo Thank you so much !

  • LovejoyLovejoy Member Posts: 2,078

    @ikad said:
    wohooo Thank you so much !

    Np

    Fortuna Infortuna Forti Una

  • pHghostpHghost London, UKMember Posts: 2,342
    edited October 2014

    Try placing it in the very bottom left as @raycur09‌ suggests and test whether it shows up.

    If it does, adjust the up/down position as necessary, to have it in the right position.

    EDIT: Ah, resolved.

  • ikadikad Member Posts: 58

    @pHghost said:
    Try placing it in the very bottom left as raycur09‌ suggests and test whether it shows up.

    If it does, adjust the up/down position as necessary, to have it in the right position.

    EDIT: Ah, resolved.

    Thank u for ur help
    it's worked :)

Sign In or Register to comment.