Changeset 83:07a2ae603bdd


Ignore:
Timestamp:
04/04/11 11:27:09 (12 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Message:

Correct physics comments - units are now pixel based, not metres

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/physics.py

    r80 r83  
    1515    gravitates = True # whether gravity applies to the sprite
    1616
    17     terminal_velocity = (300.0, 300.0) # maximum horizontal and vertial speeds
     17    terminal_velocity = (300.0, 300.0) # maximum horizontal and vertial speeds (pixels / s)
    1818    bounce_factor = (0.98, 1.05) # bounce factor
    1919
     
    8585class World(object):
    8686
    87     GRAVITY = 9.8 * 20.0 # m/s^2
     87    GRAVITY = 9.8 * 20.0 # pixels / s^2
    8888
    8989    def __init__(self):
Note: See TracChangeset for help on using the changeset viewer.