I'm playing around, trying to make a clone of Fishy (http://fishy-flash-game.com/)
I'm sure I am looking at this the wrong way. I have a couple of issues going on here.
First of all I find that i have trouble setting the size of my sprites. I want them to maintain the same width/height ratio and I would preferably do that in pixels. Though this is not my biggest problem.
The real problem here is that I somehow cannot compare the size of my enemy instance to the current size of the player. Any help would be greatly appreciated!
In an ideal world, my code would look something like this:
Instance var Enemysize = random(4,128)
Enemy set size [width = EnemySize, height = EnemySize]
Global number PlayerSize = 16
Player on collission with Enemy
if PlayerSize >= Enemysize
destroy enemy
else
destroy player[/code:1o1rv42s]
here is my capx
https://www.dropbox.com/s/gxhjqt9vcws3r ... .capx?dl=0