Windows bug? Can't adjust camera tracking area.

NettekovenGamesNettekovenGames Member Posts: 88
edited May 2012 in Working with GS (PC)
Hey,

After my Project became a corrupted file :'(
I started over but for some reason my camera doesn't follow my character anymore its a platformer game

I even tried all the videos on YT but it keeps failing
On my previous project is worked just fine :(

Any help.?

Best Answers

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    As I'm not using the Windows version yet, I'm a bit short-handed, but just to double-check, what happens when you:

    1. Open a new/blank project (e.g. iPhone landscape).
    2. Change the first scene's size to make it larger (e.g. width: 960, height: 320).
    2. Add a background image that has different areas so you can tell when it's moving (here's an example: http://www.exsus.com/Hotel_Malaysia_Cameron_Highlands_Resort_Banner/Cameron-Highlands-Landscape.sflb.ashx). Send it to the back of the layer.
    3. Add a single actor to the scene. In that actor's rules, add two rules: "Move [direction 0] [speed 200]; and Control Camera.
    4. Preview the game.

    Does the background scroll as the actor moves to the right?
  • tatiangtatiang Posts: 11,949
    Accepted Answer
    @tatiang after reading your instructions and i noticed the "Change first scene's size" guess what i only made the pictures bigger not the scene -_- i'm so stupid...

    But thanks alot alot alot!
    It's easy to make mistakes when using GameSalad. I've been using it for about half a year and I still forget to check a box or change a value to make something work correctly. Persistence is key!

    You're welcome!

«1

Answers

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    What rules are you using to control the camera?
  • NettekovenGamesNettekovenGames Member Posts: 88
    What rules are you using to control the camera?
    I used TSB tutorial but it doesnt work,
    So i removed the rules used for the camera to start over again,
    So basicly i have nothingfor the camera
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    What happens when you add a Control Camera behavior to your actor and then have the actor move outside of the camera boundaries?
  • NettekovenGamesNettekovenGames Member Posts: 88
    @tatiang when i do that he just walks outside the screen

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Can you post a link to your project file? It should be very simple to make the camera follow an actor: https://www.dropbox.com/s/x1xib2r10vlyk7l/basic camera demo.zip
  • MotherHooseMotherHoose Member Posts: 2,456
    edited May 2012
    @Nettekoven

    is the layer the movingActor on scrollable?
    (Scene > Layers > is the scrollable box checked?)

    image MH
  • NettekovenGamesNettekovenGames Member Posts: 88
    @Nettekoven

    is the layer the movingActor on scrollable?
    (Scene > Layers > is the scrollable box checked?)

    image MH
    @MotherHoose
    Yes Scrollable is checked

  • NettekovenGamesNettekovenGames Member Posts: 88
    Anyone, Sorry i really can´t figure it out :(
  • MotherHooseMotherHoose Member Posts: 2,456
    well … I can't think of anything more to try :(

    you could email me your project … check your Inbox at the top of this page

    image MH
  • NettekovenGamesNettekovenGames Member Posts: 88
    @MotherHoose I'm using Windows version atm (because of broken MBP)

  • MotherHooseMotherHoose Member Posts: 2,456
    ah … and I am not!

    what I do when I can't fix something …
    start an absolutely new project … import the images/sounds
    and do it again … starting with the problem area … in your case camera control

    sounds like lots of work …
    but not as much as the frustration of trying to fix something that wont fix!

    image MH
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    If you want to email me your project I will take a look
  • NettekovenGamesNettekovenGames Member Posts: 88
    edited May 2012
    @Jonmulcahy
    Sure give me your email (just warning its a mess i'm still learning alot everyday)
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Admin at howihatethenight dot com
  • NettekovenGamesNettekovenGames Member Posts: 88
    Admin at howihatethenight dot com
    Mailed you the Project
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    found the problem, your camera tracking is some astronomically huge number. this is basically the box that if your actor leaves, the camera follows. you have it set to large he never hits it. drop it down to like 100x100

    image
  • NettekovenGamesNettekovenGames Member Posts: 88
    edited May 2012
    found the problem, your camera tracking is some astronomically huge number. this is basically the box that if your actor leaves, the camera follows. you have it set to large he never hits it. drop it down to like 100x100
    @jonmulcahy
    I know this that happens everytime i launch the windows version of GS
    but even when i set it back it doesnt do anything

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    sounds like a bug in the windows version :)
    make sure you submit it
  • NettekovenGamesNettekovenGames Member Posts: 88
    @Jonmulcahy so i'm screwed, really wanted to show my friends a little sneak peak :(
    And i'll submit it
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    For now can you use a Change Attribute at the start of the scene to set those values?
  • NettekovenGamesNettekovenGames Member Posts: 88
    For now can you use a Change Attribute at the start of the scene to set those values?
    I'll try that, but evertime i make the trackingarea smaller it still doesnt work
  • NettekovenGamesNettekovenGames Member Posts: 88
    ah … and I am not!

    what I do when I can't fix something …
    start an absolutely new project … import the images/sounds
    and do it again … starting with the problem area … in your case camera control

    sounds like lots of work …
    but not as much as the frustration of trying to fix something that wont fix!

    image MH
    @MotherHoose, I started a new project i placed the Actor (that needs to move the camera) and the background just to start with and With the Actor i made it so when i press a button he goes and run then i added the animation with all the needed pictures and then tryed to add the Camera Contol (i also adjusted the TrackingArea) but still he just runs away till he dissapears from the screen.

    I'm getting frustrated i made my whole project in a few hours and now i problem where im stuck on for 3 days now and no progress

  • NettekovenGamesNettekovenGames Member Posts: 88
    edited May 2012
    Anyone willing to see if it works on a MAC because it think its a bug on Windows,
    And i cant progress at all im stuck on this for a few days...
  • MotherHooseMotherHoose Member Posts: 2,456
    edited May 2012
    sorry … sometimes I type a lot and things aren't clear…

    start a new project … add the actor that controls camera
    see … if you can get it do so … while moving through a long scene

    ==

    @Nettekoven … perhaps your GS application is corrupted … can you download a new copy?
    (or if you saved the zipFile/exeFile … do a fresh install?)


    image MH
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Anyone willing to see if it works on a MAC because it think its a bug on Windows,
    And i cant progress at all im stuck on this for a few days...
    Works fine in Mac, I adjust the camera all the time.
  • NettekovenGamesNettekovenGames Member Posts: 88
    Anyone willing to see if it works on a MAC because it think its a bug on Windows,
    And i cant progress at all im stuck on this for a few days...
    Works fine in Mac, I adjust the camera all the time.
    I mean like with MY project because maybe its something i did and that screwed everything.

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    I used the project you sent me yesterday when I posted that screenshot. I changed the value to. 100x100 and it worked
  • NettekovenGamesNettekovenGames Member Posts: 88
    @jonmulcahy then it must be windows :(
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    @nettekoven I changed the thread title to more accurately describe the problem. Have you submitted a bug report yet?
  • NettekovenGamesNettekovenGames Member Posts: 88
    @jonmulcahy yes 2 days ago, have to wait till it gets fixed.. Because i dont have the .exe file anymore so i cant reinstall...
Sign In or Register to comment.