Is possible make this? How?

Hi!

Is possible make a game as this: http://hakim.se/experiments/html5/sinuous/01/#

I want practice this type of game for learn. How can make semejant?

Thanks in advance!!!!!

Comments

  • JSprojectJSproject Member Posts: 730
    @quantumsheep, I really like your version - simple yet addictive with fast "pick up and play" gameplay, well done :)
  • aitorv21aitorv21 Member Posts: 71
    @quantumsheep good game!!!!! is a better version that I saw. How can practice these physics?
  • quantumsheepquantumsheep Member Posts: 8,188
    @jsproject @aitorv21 ty both, you're very kind!

    It's one of my favourite 'own' games, but it didn't appeal to many people! Story of my life!

    As to how it's done, I used an old @tshirtbooth template to demonstrate what you could do with one (as opposed to just releasing the template 'as is' onto the app store).

    There's not much physics to be honest. When you hit an enemy, it disappears and you lose a life. The only place any physics really happens is on the repel barriers power ups.

    With those, on collision, I think the enemy will move off in a random direction away from the player for a few seconds before resuming its normal movement.

    It's been a while since I looked at the code, but gameplay wise you're using:

    Relative touch to control the player - you can look up how to do this on the forums. I'm sure there's a thread somewhere for it!

    The original template used screen wrap for X and Y, but I found that it didn't work very well, mainly because it meant the circles had to be spawned 'on screen'.

    This meant that an enemy could spawn underneath you, and you'd lose a life unfairly.

    Instead, I set up invisible walls a little way off the edges of the screen, and used those to control the positioning and spawning of enemies.

    Additonally I had the enemies move in random directions every 8 seconds. In the example you posted, you can see the enemies just moving from top right to bottom left, diagonally.

    In my version I had a random number chosen every 8 seconds between 1-8.

    The enemies would move in a certain direction depending on the number chosen.

    If I remember correctly, all the enemies are spawned invisibly at boot up, then when 'start' is pressed they're moved offscreen and their alpha channel is set to 1 so you can see them and they start moving.

    The game only has two or three scenes - I used the pause behaviour if I had to move off the main screen for options or the tutorial.

    This ensured that I didn't have to respawn all the enemies at the start!

    That's all I can remember for now - hope it's helpful!

    QS =D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • aitorv21aitorv21 Member Posts: 71
    Ok, I get it! thank you very much friend!!! you could pass the url of the template, look on the internet but can not find it. Thanks in advance, I was very interested in the dynamics of this game, I think it will be very useful to learn some things not quite right yet mastered!

    Thanks thanks thanks!!!!!!
  • quantumsheepquantumsheep Member Posts: 8,188
    Sorry, this was about two years ago so I don't have a link to the template!

    It *might* be on the GSHelper website though.

    OR you could try doing it yourself :)

    QS

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • aitorv21aitorv21 Member Posts: 71
    edited October 2013
    Doing myself.... hahahaahah is so difficult, im starting!!! okay I go to find in GSHelper. Thank you very much @quantum!!!!. By the way, I saw you high ranks in app store by appanie (I recommended is a website for see the ranks) I see some apps of you. You are great!!!! (And you team if you have). Could say you how much aproximately you earn with your apps in TOP 10?? by MP as you prefer. I dont know how much is possible earn in a TOP 10 of Grossing. I have dudes!!! and Apple no reply to me :(

    Thanks in advance, in some days I buy GameSalad Licence and I publish my first game (shooter) I wait that have success!!!!!!!!! (pray pray pray hahahaha) :D
  • MantoManto Member Posts: 796
    edited October 2013
    @aitorv21 Here's a simple template you can play with.
  • aitorv21aitorv21 Member Posts: 71
    thanks @Manto1 by your template, I'll go to test. @quantumsheep Can pass to me the dates pls? aproximately if you prefer, is for make a idea about rankings of Apple. Thanks in advance
Sign In or Register to comment.