Tuesday, 5 February 2013

GAMESALAAAAAD

 So, it's been a while but i've been able to fiddle with GameSalad for the first time - it's not that easy.


So, i've managed to assign "Rules" to my hedgehog in order for it to move - this is carried out by the arrow keys on the keyboard (as such, the game is no longer an iPod/iPad based game but rather an internet accessed game)

I also made "walls" that the character could not pass through. This keeps the player on the screen in sight and in game. I made these walls invisible by reducing their opacity to 0% and placing them on the very edges of the screen, giving maximum space to the player.
Also removed their ability to move. They're solid, like a wall should be, this way.
I was also able to make Strawberries spawn in the game by giving them the "rules" shown. I also made them rotate on the spot, spinning to catch the player's attention.

I found that if there were no strawberries at all then no more would spawn. I made it so that there was a strawberry on the other side of the invisible walls, out of sight and reach, to guarantee spawning strawberries continuously.




...Well then >:/
Had to make sure they spawned in a reasonable range. This first one had a small range so they only spawned in the corner.






Second one was better, also had spawning chicken

Aaand sometimes too many strawberries is a bad thing!

No comments:

Post a Comment