How do I make a object stay in my view?

0 favourites
  • 12 posts
From the Asset Store
94 Inside buildings views - Isometric view - PNG transparent - 2048x2048
  • Ok im trying to make a icon that shows you have the item but every time i do it either dosnt appear when my parallax is 0,0 or when i have a anchor on it but when i don't have them on it will appear but wont stay in my view so the player dosn't now if he has it or not and i am a beginner

  • Ok im trying to make a icon that shows you have the item but every time i do it either dosnt appear when my parallax is 0,0 or when i have a anchor on it but when i don't have them on it will appear but wont stay in my view so the player dosn't now if he has it or not and i am a beginner <img src="{SMILIES_PATH}/icon_neutral.gif" alt=":|" title="Neutral">

    https://www.scirra.com/tutorials/37/beg ... t-2/page-7

  • You can pin it to the player and just make it visible when needed.

    If your player is going to the top your icon is probably off the screen.

  • The pin didnt work it just spawns in but after dosn't move with me

  • Do you have it set to anchor by any chance?

    If you do take that off because that will prevent it from moving.

  • no if i had it on anchor the object woudn't spawn at all

  • no if i had it on anchor the object woudn't spawn at all

    OK why are you using spawn for an icon and are you pinning it in the same event when you spawn?

  • Ok here is the code

    player-on collision with key-destroy key-set HUD key to animation frame 1

    but i wont appear if the parallax is 0.0, if anchor is on or if it is pinned it will appear just won't follow me.

    and if those are of it wont follow me

    And i said spawn cause that what popped into my head

  • Ok here is the code

    player-on collision with key-destroy key-set HUD key to animation frame 1

    but i wont appear if the parallax is 0.0, if anchor is on or if it is pinned it will appear just won't follow me.

    and if those are of it wont follow me

    And i said spawn cause that what popped into my head

    I would have to see your capx. Not even sure what you are doing from that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way for toy see my capx?

  • Is there a way for toy see my capx?

    You can upload it to dropbox and PM me the link and I will look at it.

  • lamarr i found a way to use for now and the pin toll helped and i counldnt send you a link cause i need 500 rep to pm somone

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)