ORBZ help! Can I make this game in GS?

DimensionGamesDimensionGames PRO Posts: 993
edited November -1 in Working with GS (Mac)
Hey I have an idea based on this game: http://www.addictinggames.com/momentummaster.html

Would this be possible using gs?

Cheers :)

Edit by BeyondtheTech: I changed the title so it could be more descriptive and useful to the community.

Comments

  • A3MGA3MG Member Posts: 152
    Someone asked this before, about the same exact game. I think I could do this in GS. Lots of math!!!
  • ORBZORBZ Member Posts: 1,304
    Yes,

    lots of trig calculations and also lots of conversion to and from angular to linear velocity.

    http://au.answers.yahoo.com/question/index?qid=20080319082534AAtrClv
  • DimensionGamesDimensionGames PRO Posts: 993
    Thats a great help thanks! Any ideas on the rules i would need: rotate to angle? load attribute? Interpolate? Constrain Attribute? Change Velocity? Change attribute?

    I guess these are the behaviours i will need?

    Cheers
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Excelente Game! Love it!
  • DimensionGamesDimensionGames PRO Posts: 993
    Haha I know I think it would be an awesome game for iPad :)
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    How Will you Make the Character to attach and Maintain the Distance of the string to move like a pendulum?
  • RHRH Member Posts: 1,079
    Constrain the X and Y co-ordinates of the character using Pythagorus from the x and y co-ordinates of the rope should do it.
    Assuming that the rope is one actor.
  • JackBQuickJackBQuick Member Posts: 524
    The number of elements involved in putting together an app like this boggles my mind. However, if you have both A3MG and ORBZ looking into this, you're in good hands. (They are both super good with math.)

    As for starting points, I think that these demos might have some of the elements that you would be using in your game:

    Magnitude DEMO

    Hanging/Swinging DEMO

    Plot Projectile Trajectory ORBZAMPLE

    Hang On 2 (Demo)

    Best of luck!

    @ORBZ - How's your app coming along? Is October 15 still good? I'm looking forward to your announcement.
  • DimensionGamesDimensionGames PRO Posts: 993
    Haha I wish I'm sure they have better things to do! Thanks for all these hints and tips I will start giving it a good crack!

    Cheers

    Possesive Gaming
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Im giving it a try to.
    How Can i Make him move with the speed that should move when he let go the string?
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    This is What i Have for the moment: http://gallery.me.com/magonicolas#100200
    Thanks for the Help, Will read that Link!
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Please tell me what you think about it.
  • ORBZORBZ Member Posts: 1,304
    looks good :) very nice

    you need to translate your linear velocity back into angular velocity when you are between posts.
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Yes im having trouble with the Velocity, I Make an approximation of what it should be, But im not translating any Linear to angular.
  • JackBQuickJackBQuick Member Posts: 524
    Wow, MagoNicolas, it looks great!
  • ORBZORBZ Member Posts: 1,304
    you can get your linear velocity at any moment by doing:

    v = magnitude(motion.linearVelocityX, motion.linearVelocityY)

    and you can calculate angular velocity from linear velocity like this:

    angular velocity (w) is w = v/r where r is radius (distance to post = magnitude(postx - self.x, posty - selfy)

    keep in mind, the angular velocity is the speed at which the spider rotates around the post.
  • VoidedSkyVoidedSky Member Posts: 1,095
    WOW! That looks Great!!! It would be cool to see a demo! :-D
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Thx OrbZ, Will try it.
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    ORBZ said:
    you can get your linear velocity at any moment by doing:

    v = magnitude(motion.linearVelocityX, motion.linearVelocityY)

    and you can calculate angular velocity from linear velocity like this:

    angular velocity (w) is w = v/r where r is radius (distance to post = magnitude(postx - self.x, posty - selfy)

    keep in mind, the angular velocity is the speed at which the spider rotates around the post.

    This, in the Angle Gave me a result of 0 1 or 2.
    In Linear, It gives me the Velocity on Y Axix, not in X.
    :S
  • ORBZORBZ Member Posts: 1,304
    I got a bit carried away,

    this doesn't work exactly the same as yours.. but it was a fun idea. I may turn it into something later. Have fun :)

    Swing Knight ORBZAMPLE

    http://gamesalad.com/game/play/83412

  • JackBQuickJackBQuick Member Posts: 524
    I love it! That's amazing! You rock, ORBZ!
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Amazing! And Much more simpler Code Than Mine! Not Exactly the Same, but you can do a similar good game with it. Mine has some ugly Math!, Mind if I use Yours? Will try which one works better,
  • ORBZORBZ Member Posts: 1,304
    ya, go for it... when you get rich tho send me a tithe :)
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    HEhehehe thx dude! I Realized it is "easier" a game like your than The one I was originally Making, But you can make it harder in different ways.

    Thanks.
Sign In or Register to comment.