Help with my scene (problem touch and camera)

naxovrnaxovr Member Posts: 6
edited November -1 in Working with GS (Mac)
Hi folks! I have a problem creating my game for 3 days and I can not find the solution.
I tell you, the problem is the camera I think.
My game is vertical, ie you have to go throwing a ball up slowly with walkways
Size scene I have put 320 width by 1200 height (for testing)
I have on camera size 320x480. tracking size: 308x248
The problem is that when the ball is the size of camera I can not catch or interact with it.

I have seen all the post this issue without solution

I tried a thousand things but no luck

I hope someone help me

Sorry for my English but this with google translator

thanks and greetings

Comments

  • svnsvn Member Posts: 445
    Did you put rules for actually interacting with the ball?
  • naxovrnaxovr Member Posts: 6
    do not quite understand your question. attributes are placed the ball well.
    you can catch the ball and moving well within the size of the camera.
    Once you get past that size of 480 can not catch the ball

    http://img221.imageshack.us/img221/4391/17266349.png

    When the ball passes the limit of the camera can not catch.
  • svnsvn Member Posts: 445
    Do you mean when the ball becomes the SIZE of the screen? Sorry, but I don't understand your question. Just post in whatever language you normally speak. There are plenty of Spanish speakers on the forums.
  • naxovrnaxovr Member Posts: 6
    Muchas gracias por contestarme svn. Voy a realizar la pregunta en español como me has dicho.
    Yo puedo coger la pelota dentro del tamaño de la pantalla que es 320x480 px .
    Tambien le he puesto a la pelota el atributo de control de cámara.

    Imaginemos que le pongo plataformas como en la imagen de arriba para que puedas tirar la pelota hacia arriba y puedas subir. Hasta ahí todo perfecto, el problema viene cuando la pelota ya ha subido hasta la segunda plataforma, y ya no puedo coger la pelota. Como si estuviera limitado el movimiento en esa zona y no puedo seguir subiendo con la pelota.

    No se si me he explicado. He probado de todo. Por cierto, si cambio el tamaño de la camara si puedo subir hacia arriba pero queda todo descuadrado debido al tamaño de la cámara.

    Muchas gracias y a ver si alguien sabe algo. ;)

    EDITO: pongo un video para explicar el problema.
  • old_kipperold_kipper Member Posts: 1,420
    I think that the ball size could effect the camera, as how could it follow it if the width if it is wider than the screen? Perhaps you could try constraining a second object that didn't change size to the ball, and then control the camera with that second hidden object?

    hope this helps

    kipper
  • naxovrnaxovr Member Posts: 6
    Old_kipper not understand how I can do for an actor to control the camera of another actor

    No one knows anything about the video? is that I still find the solution

    greetings!
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Hey There,

    You mean once the ball is out of the original camera area you can no longer interactive with it like your touch rules wont work and all that? IF so you need to add a offset for your camera

    cheers

  • naxovrnaxovr Member Posts: 6
    JohnPapiomitis Indeed, therein lies the problem. I tried it this morning.
    But the attributes of the ball I do not see any "Move to" as all the attributes that have the ball to move are rare. Is a template that I bought tshirtbooth, meaning that all attributes imagine you have (size, linear speed ...) and not where I have to add the attributes of the CAMx and camy ...
    I sent an email to Tshirtbooth to see if I can help and know where I can add those attributes on the ball.

    Thank you very much and greetings!

    ---------------------------------------------------------------------------

    En efecto JohnPapiomitis, ahí está el problema. Eso lo probé esta mañana.
    Pero en los atributos de la pelota no me aparece ningún "Move to" dado que todos los atributos que tiene la pelota para que se muevan son raros. Es una plantilla que le compré a tshirtbooth, osea que imagínate todos los atributos que tiene (magnitud, velocidad linear...) y no se en donde tengo que agregar los atributos de la camx y camy...
    Le mandé un correo a Tshirtbooth a ver si me puede ayudar y saber donde puedo agregar esos atributos en la pelota.

    Muchas gracias y saludos!
  • old_kipperold_kipper Member Posts: 1,420
    naxovr said:
    how I can do for an actor to control the camera of another actor?

    If you constrain 2 game real number attribute to the ball actor's x and y, then in the second actor constrain it's x and y position to those game attribute, and then put a camera control behaviour in the second actor the movement of the first actor will pass from the first actor, through the second actor to the camera.

    I am not certain I understand everything about your movements and what you are doing but I hope this helps.

    kipper
Sign In or Register to comment.