abrarsyed / octowar Goto Github PK
View Code? Open in Web Editor NEWA game in libGDX
License: GNU Lesser General Public License v3.0
A game in libGDX
License: GNU Lesser General Public License v3.0
Complete #2 first, then both of you browse to the game URL and duel it out.
It should duel out. If something doesn't work, fix it, until you can really duel and win/lose.
I should be able to detect collisions between two arbitrarily-rotated sprites (player and projectile).
Using the Rectangle
class seems to be the way to go.
http://abrarsyed.github.io/octowar should have an index.html and reference the latest JAR.
We just need a gh-pages branch with an uploaded index file and JAR file for this; it's quite possible to run libGDX games as applets.
All of the amazing functionality (eg. auto-scale to screen preserving aspect ratio) should be integrated into this project. This will be THE definitive source.
But, it's not necessary for the MVP.
init
construction with entities
, update
method with delta time)onComplete
event handlersplay
method
alphaRate
and rotationRate
io
package (includes file reading and persistent storage)Create an entity-component system. For now, leave it in a separate package, not the OctoWar one. It should have:
Entity
with a bunch of Component
s)Screen
or Scene
class (same thing)SpriteComponent
for sprites, with a SpriteManager
to draw themIn terms of data-oriented architecture, make sure the managers keep a simple list of sprite components.
This is the minimum we need.
Note: Game
class will eventually be used for Android/etc., and will have "Content size" vs. "physical display size" properties. So subclass libGDX classes.
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.