Skip to content

whyboris/Gravity-Wars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gravity Wars

Gravity Wars is an artillery game like Scorched Earth or Worms but with many planets affecting the path of the projectile.

gravitywars

Background

Gravity Wars is not my original idea. In 2007 I played a 1992 MAC version of this game with my friend and thought it was fun. From my brief correspondence with the creator (Rhys Hollow) of the version for Macintosh I learned the original game was written for Amiga (and not by him). In 2009 I learned how to code to create a clone of the game: https://yboris.dev/gravitywars

In 2015 I tried to re-create the game for the iPad using Codea but lost interest. I finally got around to sharing my code for it in 2019.

In 2020 a co-worker shared LÖVE (aka Love2D) which, like Codea, uses the Lua programming language. I decided to port over my code to LÖVE so as to share this fun game with more people.

The initial commit code is a very quick and dirty port of my 2015 prototype code, which in turn is a quick and dirty port of my 2009 self-taught code. In subsequent commits I improved the code somewhat, but I wouldn't say the current codebase is a good example of how to code well.

Development

  1. Install LÖVE (game confirmed to work with v11.3)
  2. In your terminal run love .

License

Please feel free to use this code (in full or in part) however you'd like, under the permissive MIT license.

Thank you to Manchson for the MIT licensed basis33.ttf font.