Tracking screen

How do I make a screen move with my character? I want it so that it will follow the player and keep lives on the screen. Demo anyone? Thanks

«1

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Demo as requested: :)

  • jsorr2jsorr2 Member Posts: 279
    edited December 2014

    Add the behaviour 'control camera' inside your actor that you want the scene to follow and adjust the camera 'tracking height and width' in the scene options. If you set height and width of tracking to 0, it will move instantly with the actor. If its bigger, it will wait till the actor reaches the tracking 'square' before the camera moves.

    Create a new layer in the scene options and untick scrollable. Put anything in this layer that you want on the screen forever (health bar/buttons to move/etc.)

  • jsorr2jsorr2 Member Posts: 279

    Also as a side note i highly recommend using the Mac version of GS.

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Thanks guys! :D

  • SLOCM3ZSLOCM3Z Member Posts: 797

    I have Windows 8

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Is it true that I can't put games on iPhone if I don't have Mac?

  • jsorr2jsorr2 Member Posts: 279

    You need a real physical Mac to publish, unfortunately.

  • SLOCM3ZSLOCM3Z Member Posts: 797

    That really is the pits

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Cause I see thousands of people using iPhones

  • jsorr2jsorr2 Member Posts: 279

    Just borrow a Mac from someone for like 20 minutes and put your game on a USB, then publish it.
    You can also do it online. Theres websites that allow you to use real Macs, through team viewer or something.

  • SLOCM3ZSLOCM3Z Member Posts: 797

    That's cool. Never thought like that. Haven't really made a game yet though either. But thanks for that idea!

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Okay, here is my game(gonna add art). How do I make my character see-able when I get into the upper section? If I change the scene size my character will shrink into a rectangle. How would I make him able to get higher?

  • SocksSocks London, UK.Member Posts: 12,822

    Place a Control Camera behaviour on him.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Please don't create multiple threads for the same issue. I've merged your two threads.

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Thanks. But they aren't the same thread

  • SLOCM3ZSLOCM3Z Member Posts: 797

    I got the camera to follow him but I can't get him into the top part

  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2014

    @jdlcrater said:
    I got the camera to follow him but I can't get him into the top part

    What are you using to move your character ?

  • SLOCM3ZSLOCM3Z Member Posts: 797

    ?

  • SLOCM3ZSLOCM3Z Member Posts: 797

    I didn't understand that. Please re-say

  • SLOCM3ZSLOCM3Z Member Posts: 797
    edited December 2014

    I am using change attribute linear.Velocity.y

  • SLOCM3ZSLOCM3Z Member Posts: 797

    @Socks said:
    What are you using to move your character ?

    I am using 'accelerate' as gravity. 'Change Attribute : linear.Velocity.y = 400'

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Excuse my bad foruming. I'm new

  • SocksSocks London, UK.Member Posts: 12,822

    @jdlcrater said:
    I am using change attribute linear.Velocity.y

    And are you able to say what happen when you hit preview ?

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Yah, the game plays and I can jump, but it disappears when I jump over the top line.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    You may need make your scene larger, I can't tell by your screen shot. Did you follow the tutorial I posted above? That shows what you need to do...

  • SLOCM3ZSLOCM3Z Member Posts: 797

    @jamie_c said:
    You may need make your scene larger, I can't tell by your screen shot. Did you follow the tutorial I posted above? That shows what you need to do...<

    here is what happens in game

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Here is what happens

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @jdlcrater said:
    Excuse my bad foruming. I'm new

    You can edit an existing post (for a short time) by clicking on the gear icon at the top-right of that post and choosing Edit.

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Okay! Got it to follow player! But it isn't smooth like on @jamie_c's video! I think it might be a glitch :angry:

Sign In or Register to comment.