GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Help! New to gamesalad!

ming990ming990 Posts: 4Member
edited November -1 in Working with GS (Mac)
Hi guys!
I'm totally new to gamesalad! Yesterday I bought my first iMac and today I was trying to create a first game with gamesalad, following a video on youtube, from gendaigames.
The video is this , and i don't understand a passage.
At a certain point, he creates a new attribute, calling it platform_attribute, but i don't understand why he puts 160 for the value and why is this necessary for moving the platform with the touch!
Can someone explain better, please? Thanks!!

Comments

  • YodapolloYodapollo Posts: 447Inactive
    @ming990

    First off - Welcome to GameSalad!

    To answer your question int he video, it appears that he is using the "slider_attribute" to set a "default" position for the touch area. The X coordinate position of the platform is controlled by the the value within the "slider_attribute" field. When the game starts, there is no one touching it, so where should the platform begin? This sets the value at a default of 160, which would place it in the middle of the X-axis, since the portrait dimensions of an iPhone has a measurement of 320.

    I hope this answers your questions and don't hesitate to ask any questions you may have. Thanks and welcome aboard!

    --Yodapollo
  • HoneyTribeStudiosHoneyTribeStudios Posts: 1,792Member
    Hi ming990

    That was the tutorial I used to start learning GS too! It's a good one. It felt really exciting at the time, to think I could make my own games. Actually I think I started reading through the tutorials and forums before I got a mac. That old GS trailer/advert seemed so cool to me:

    A GS user called Tshirtbooth also made some good tutorials here: http://www.youtube.com/user/GameSaladCookbook

    Once you understand how GS works you'll be able to bring ideas to life pretty quick.

    Shaz

    ------------
    image
    "...the resulting sonic effect is almost mesmerising." Pocket Gamer
    Sound design and music service available: http://tiny.cc/MusicService
    www.HoneyTribeStudios.com

    Give me a buzz if you need some original music in your games.

  • ming990ming990 Posts: 4Member
    @Yodapollo
    Thanks for the welcome! And thanks for the explaining! :D Now I understand why he puts 160 as a value!! But I haven't understood why he uses this attribute with the constrain attribute in the platform and in the slider area?
    Thanks for the explaining!

    @HoneyTribeStudios
    Yeah it's a good video!! I'll have a look to the other GS user canal!! Seems to be great! Thanks to you too! ;)

    And sorry to everybody for my english, but I'm italian :D
  • calvin9403calvin9403 Posts: 3,190Member
    hey ming welcome here

    I love the videos in gs cookbook and in gendisgames they are awesome

    check out gshelper.com too, it is made by TB again

    CAlvin
  • ming990ming990 Posts: 4Member
    Thanks CAlvin, i'll surely check out ;)
  • SlickZeroSlickZero Houston, TexasPosts: 2,870Member, Sous Chef
    Welcome ming!

    He uses the constraint so the paddle doesn't go up or down, it remains restrained to that Y axis.

    I have no friends. I'm a loser that makes video games all day. Will you be my friend?

  • Mack_DundeeMack_Dundee Posts: 31Member
    Hey ming,

    I think a really simple and easy to understand tutorial is the Pachinko tutorial. It's quick and really lays a lot of the foundation of the basics of how Gamesalad works. The finished tutorial is also available as a template option when you open Gamesalad and press the "New" tab.

    You can check it out here:



    I hope it helps.
  • ming990ming990 Posts: 4Member
    @SlickZero

    Yep! Now I understand!! Thanks anyway! ;)

    @Mack_Dundee

    Thanks for the video! It seems to be really easy! I guess I'll try it later!
This discussion has been closed.