chbridges / astroflight Goto Github PK
View Code? Open in Web Editor NEWA 2D OpenGL puzzle game based on classical mechanics, astronomy and further principles of physics
License: GNU General Public License v3.0
A 2D OpenGL puzzle game based on classical mechanics, astronomy and further principles of physics
License: GNU General Public License v3.0
Trajectory draws a straight line to point (0, 0). Perhaps OpenGL works differently here than it does on Windows, as the issue was fixed there by saving trajectory points only until a specific value (mod 20) is reached.
Visual Studio requires the include and namespace std::filesystem
GNU G++ requires <experimental/filesystem> and std::experimental::filesystem
Happens in blackhole level when player is out of bounds while hitting the black hole. Prevent signal check when gameOver == true.
Split up header files. Add comments. Categorize. Compile using flags:
-W: Print extra warning messages for some problems.
-Wall: Enable all the warnings about questionable code
-pedantic: Show all the warnings demanded by strict ISO compliance
Leads to lots of redundant code. Let loadLevelByName() return a level instead and maybe integrate it into loadLevelList().
Probably due to the filesystem. Need to sort list after validating all levels.
It shows 6 for a brief moment.
As of now, the level constructor can only load valid levels. Empty or incomplete files that are not filled with 0s will lead to an infinite loop until astroflight.cpp throws std::bad_alloc.
Each star (currently 160) call sin(time+offset) every single tick. Optimize using the following strategies:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.