Skiing in the mountains

matti.nordstrommatti.nordstrom Member Posts: 3
edited November -1 in Working with GS (Mac)
Hi!

I'm kinda new to this, working with Gamesalad and all and I was hoping someone could give me a hand with a little project that I have in mind. I want to create a side-scrolling skiing game were a skier goes up and down the mountains. I've been looking around how to make an actor follow a path but it seems that there are limited possibilities doing this. The best would be if the player just pressed left and right key to accelerate and break and the skier would follow the curves automatically. Maybe some possibilities to jump over rock and such would be cool too. Also, I want to create many levels so it should be quite flexible to create random mountains and so on.

My first thought was that it's maybe possible to just let the skier "collide" with the ground and when i press forward gravity would do the job. But seems that I can only choose circle or rectangular collision area and not actually let the actor collide with a random shaped png. My second thought was to use waypoints and let the skier go from one to the next, but that didn't turn out very smooth and it wouldn't be very flexible I think.

So, does anyone have any good ideas on how to do this? Or maybe someone just have some experience working with curved shapes in Gamesalad that they wanna share?
Thanks!

/Matti

Comments

  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    I would recommend checking out ORBZ drawer demo:

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

    I'm pretty sure that this could be adapted to randomly create the terrain you need. Although, You may need to generate circles at the line joints, as the skier actor may have some trouble moving across jagged lines.

    Edit: I also found this.
    http://gamesalad.com/ontheappstore/turbo-snow-skiing
    Proves the game type is possible, but the dev doesn't have any demos to help us out...
  • matti.nordstrommatti.nordstrom Member Posts: 3
    Yeah I'm actually looking at that right now, think it could be good. Hope ORBZ doesn't mind that I tweak it a little to try out if it could work with what I had in mind.

    Thanks for your quick reply Bark.

    /Matti
  • ORBZORBZ Member Posts: 1,304
    Go for it
  • matti.nordstrommatti.nordstrom Member Posts: 3
    Thanks ORBZ.

    I've been playing around with your waypoint- and drawing templates/demos and I have some new ideas. I was wondering if there's any way to actually create curves based on function like
    y = 2x^2 + 3x + 2? I've already modified some things to make a bot automatically draw a curve after waypoints. So maybe if there's a way to place the waypoints based on the function that the player input? The game that I am trying to create is a learning-game for math students that wants to learn about derivative. However my own math skills are very limited. I also realize that maybe game salad is not the optimal tool to use for this purpose. But it sure is worth trying!

    Anyway, my second question is if there are possibilities to mask layers in gamesalad? My thought is that the player draws a circle or whatever desired shape and when it's closes the area inside "fills with some graphic". Or to be more precise; the layer behind shows.

    These questions are not only for ORBZ ofc so please, any thoughts about this are very appreciated.

    /Matti
  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    For masking layers, check out FMG's flashlight DEMO: http://gamesalad.com/game/play/66586
Sign In or Register to comment.