Subject: Re: [stella] JoustPong: maybe ditch "poorlords" wall From: "Thomas Jentzsch" <tjentzsch@xxxxxx> Date: Mon, 12 Jan 2004 17:35:20 +0100 |
Kirk Israel wrote: > Er, method for what? Ball and flap movement, I suppose. > I've started to do some frame-by-frame analysis of Joust. > At first I thought they were using some speed limitators, but > maybe it just is a nicely divorced-from-pixels speed thingy You can get a speed limitation by adding some speed based friction to the movement. E.g. for each frame do: y-speed (old) - gravity (constant) + flapping (if done) - y-speed/16 (16 is just an example) = y-speed (new) You can find this kind of code in my Cave1K source. Without friction the helicopter become almust uncontrolable. There is IFDEF, so you can easily test the effect. Have?fun! Thomas _______________________________________________________ Thomas?Jentzsch?????????|?***?Every?bit?is?sacred?!?*** tjentzsch?at?web?dot?de?| ______________________________________________________________________________ Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] JoustPong: maybe ditch, KirkIsrael | Thread | Re: [stella] JoustPong: maybe ditch, KirkIsrael |
[stella] Seawolf: Day Eight, Manuel Rotschkar | Date | Re: [stella] Seawolf: Day Eight, Thomas Jentzsch |
Month |