Is possible make this? How?
aitorv21
Member Posts: 71
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!!!!!
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
https://itunes.apple.com/gb/app/.matrixx/id444075449?mt=8
http://www.dailymotion.com/video/xy4i0z_matrixx-app-review-for-mac-ipad-ipad2-dot-matrixx_videogames
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
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
Thanks thanks thanks!!!!!!
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
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)