Skip to content

alzapiedi/ski

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to SkiFree! This is an in browser remake of the classic Windows game (official site). Interestingly, the skier is the only object in this program that doesn't move. All obstacles and ramps have a velocity determined by the direction of the skier. When physics is enabled, the velocities adjust toward a target velocity to simulate real acceleration, and the "Friction" slider modifies the rate of this change. With physics disabled, direction change is instant. Each object has a custom rectangular hit box defined to maximize the accuracy of collision detection. There is a provision to ensure the same object is not continuously collided with. The snow monster's velocity is calculated by first determining the direction of the vector between the monster and the skier. Then, the magnitude of the vector is scaled according to the position of the monster relative to the skier.

About

Remake of classic Windows game SkiFree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published