First app, need some help

DrakDrak Member Posts: 75
edited November -1 in Working with GS (Mac)
Hi everybody,

Actually i work on my first game with GS and......Of course, i have some questions.
First, i would like to apologize 'cause i'm french and my english is not so good.

I've made a "prototype" with photoshop to help me to visualize the game and one by one i separated all my elements (ground, blocs, ball etc..)

My first prob is here ( too bad ) when i save ball and laser lines (png-8 optimise for web) and i put them on my GS scenes they are pixelated ( i think it's the good word)

You can see it here : http://upload.stabland.fr/images/img73/capture_decran_2011-09-03_a_08_36_21810442.png

Here a picture of the quick prototype made with PS : http://upload.stabland.fr/images/img73/proto810610.jpg

Just to explain how it works, you play the ball and your goal it's to survive as long as possible between the laser lines.
The laser lines moves in differents way and more you survive more you can see laser lines appears on the screen. Hopefuly with this ball you can :

-Jump
-Move some elements and block laser line

It's my first app so i would like to make something........mhh easy or realistic in term of skills, i hope that you had understand all that i say. Wait for feedback about "concept" of the game and also for my answer!

Thanks a lot!

Comments

  • zombieaddictzombieaddict Member Posts: 213
    png-8 doesn't save full transparency so any pixels that are partially visible become completely opaque. export your ball and lasers again and save them as png-24 (with transparency on)
  • DrakDrak Member Posts: 75
    Really cool! It works thanks Zombieaddict! Another question..The behaviors? You can only use the default behaviors or you can download another behaviors?

    In fact, i would like to render the control of the ball a little bit more difficult..So player use arrows (Up,Down,Right,Left) but i would like to apply some strength on it to add spice inside the game...I can do this with GS? What kind of behaviors can help me to do that?
  • zombieaddictzombieaddict Member Posts: 213
    you only really need the default behaviours to do everything. its just a matter of setting everything up in the right place.

    you can map movement behaviours onto the arrow keys. just experiment with the "Move behaviour" when the actor receives the correct keyboard presses. for example;

    When actor receives event keyboard up is [down]

    Move behaviour - 90 degrees.

    if you did that then whenever you press up your actor will move up. so just go through the keys you need and repeat the process with the correct direction. thats just the basics. you might have to experiment with velocity and acceleration if you want to ease the movement of the ball in and out.
  • DrakDrak Member Posts: 75
    Okay nice,

    i try to do it, first step in progress :p thanks a lot Zombieaddict for your advice, really useful and really clear!
  • DrakDrak Member Posts: 75
    I set up all the elements I need, so now I need to work on ball animation and try to use your advice to apply strenght on it using the behaviors..Let you a screen of the GS preview :

    http://upload.stabland.fr/images/img73/ecran_de_jeu.png
  • DrakDrak Member Posts: 75
    Got a new prob guys,

    I would like to take the control of the ball so :

    - Double clic on Ball actor
    -create a rule
    -Actor receive event --> Keyboard Up/Down/Left/Right --> Down
    -Add Behaviors Move or change velocity or also collide

    No result for Move and collide, for velocity when i push to Up / Down / Left or right button the ball move to the right and never stop...So I don't really understand...I see that we've got different kind of behaviors so what is the real difference between them?

    Thanks
  • DrakDrak Member Posts: 75
    Find it!! Just so logical XD
  • DrakDrak Member Posts: 75
    I'm back everybody,

    Actually i'm always working on the ball,

    animation is Okay but now i've got a prob with the "Jump"

    When i press space my ball is suppose to jump, in fact in this moment when you press space, animation of the ball give this impresion of jump movement and as long as my finger is on space bare the jump function is here, so it's like the ball flying on the screen..

    How i can put a limit for my jump? In fact i just have an animation no? I need to create a special attribute for Jump? How it Works?

    thanks for your answers
  • DrakDrak Member Posts: 75
    Nobody here?
  • DrakDrak Member Posts: 75
    Someone can explain me how Attributs work exactly, please?
  • zombieaddictzombieaddict Member Posts: 213
    are you still having trouble with the jump?
  • DrakDrak Member Posts: 75
    Yes i have always some probs with the jump...I try to play with attributs but I have no good result for the moment...
  • DrakDrak Member Posts: 75
    Actually,

    the only elements who work for me is animation of the ball

    http://upload.stabland.fr/images/img73/saut967521.jpg

    I know that I need to give an attribut for jump when space bare is Down, but I apply it on what? Is it physic? Movable? Velocity? think that i don't have the "prog logical" for the moment......XD Work on it..
  • zombieaddictzombieaddict Member Posts: 213
    i'll help you later on tonight if you're still having trouble. can't access GS to test right now.
Sign In or Register to comment.