Field Goal

An American football field goal kicking simulator. Created in Visual Studio Code using Crisp-Game-Lib and Javascript.

Playable Link

GitHub Source Code Link

 

Field Goal was created for a One-Button game prompt for school. I coded the entire mechanics and design for the game. The lights in the background were made by Rohan Jhangiani.

  • Gameplay

    Aiming - A constantly moving circle sprite that increases in speed as the score goes up.

    Kicking - When kicking the ball, the ball launches directly at the angle that the circle sprite is at when clicked.

    Wind - The wind value is a random value within a threshold that increases as score goes up. After the ball is kicked, the wind value is divided by 1000 and added to the x-velocity of the ball sprite while it flies through the air.

    Score/End Condition - Once the ball sprite reaches the y-value of the aiming sprite when kicked, the ball sprite is checked whether to be: 1. Left of the right goalpost, 2. Right of the left goalpost, and 3. Above the crossbar. If all conditions are met, then 3 points is added and the gameloop restarts. If not, the game ends.

  • Worked Well

    Difficulty scales as the score increases.

    Wind feels good and looks good visually when kicking the ball.

    The pixel-style and brightness of each individual pixel creates a great visual style and it is able to replicate the real colors of American football.

  • Potential Improvements

    Shrink the ball as it gets closer to the goalpost to create even more depth.

    Add an actual kicking animation to kick the ball, rather than it just taking off.

Previous
Previous

Phasmophobia Boardgame Adaptation

Next
Next

Splash