Jump to content

Nice flash game , might make a great SPV game......


Recommended Posts

Guest ultimasnake
Posted

:lol: found this game on severl sites a while ago (made by an unknown person i guess).. and i love it..... its a game where a pinguin slides down a part of ice.. and a "guy" with a club is standing bellow ... and you have to hit it as far as you can... :D :(

it rocks..... here is the flash file .. i am not good at making those kind of calculations.. but if some one can help me i might be able to make a game out of this (or that person might be ) :(.....

pinguin.zip

Guest Alien18
Posted

Erm... maybe i am being stupid but i have pressed all the buttons on my keyboard (more-or-less) and nothing seems to happen

Guest Scarfman007
Posted

We'd have to find out who made it and ask permission of course.

Plus the Smartphone doesn't have a flash player, does it? And the flash equivalent of it's 'source code' (.fla file extension?) isn't available, is it?

Not meaning to put a dampener or anything! It does rock :lol:.

Scarfman

(Max score = 585.5)

Guest iantrogg
Posted
We'd have to find out who made it and ask permission of course.

Plus the Smartphone doesn't have a flash player, does it? And the flash equivalent of it's 'source code' (.fla file extension?) isn't available, is it?

Not meaning to put a dampener or anything! It does rock :lol:.

Scarfman

(Max score = 585.5)

Hi. Just got it and my max score is 587.6. this game is good!! :D

Guest ultimasnake
Posted

I don't think we need permission to make a game like that..... i have played over 30 of the same type of game.. but this one was just the most funny because of the penguin :lol:

Guest Scarfman007
Posted

Oh, I thought you meant port it to Smartphone? Using it's graphics and such .. (which we couldn't really do)

However someone should be able to make something similar :lol:

Scarfman

Guest ultimasnake
Posted

yeah i know.... i still can't understand why Macromedia just wont release a smartphone version of the flash player (to port it shouldn't be that hard damn)... but to stay on topic , i am making some games for the smartphone when i have time , but i don't know how i can calculate the pengiuns flight etc etc :lol:

Posted

you think it would be possible for the balls game at ladbrokes.com to work on the spv!?

Guest Scarfman007
Posted

Heh, wish I had some spare time :x .

For penguin flight simulation just model it as a projectile under gravity - that is:

a) find the time in between frames

:lol: apply F = m*a (arrange it to a = F / m, where F at the beginning woudl be equal to your gravity vector) to get the acceleration.

c) do v += a * t (where t = the time that has passed since the last frame)

d) do r += v * t (where r = the 2D position vector)

Now your position and velocity have been updated as per free-fall under gravity conditions (this is because you set the force vector F to be equal to gravity, if you wanted to add other forces you'd add them in as well to F in stage :D ). When the user presses the hit button check the position of the (guesstimated centre of mass of the) penguin, depending on how you define it you can make the angle of projection dependent upon the position (eg the closer to the club the more horizontal, or whatever).

You could then give the penguin a new velocity vector pointing in the desired direction and continue using steps a)-d) as above (it would be exactly the same as there are still no other forces acting upon it - only gravity).

Update per second until the penguin hits the ground ... etc, etc.

The skidding bit would take another small equation, but I'm shattered and probably not explaing it too well, so if you're interested I'll continue tomorrow when I can hold my eyes open without the aid of toothpicks :? .

Scarfman

Guest exosyphen
Posted

I was at the national olympics at phisics :lol:

Scarfman ... you made remember some great memories from that time :D

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.