ogzkrt / otd Goto Github PK
View Code? Open in Web Editor NEWA Tower Defense game written in Java by using LibGDX.
Home Page: https://ogzkrt.github.io/gposts/2021-3-17-tower_defense/
License: MIT License
A Tower Defense game written in Java by using LibGDX.
Home Page: https://ogzkrt.github.io/gposts/2021-3-17-tower_defense/
License: MIT License
Currently, when enemies are slow down, different set of textures are used to render enemies. This is not scalable. Instead of having ENEMY_SLOWED texture, we should have SLOW_EFFECT texture. For different future effects, we should have this.
When the game starts, music is not playing. After clicking disable and enable again, it works fine. This should be fixed.
To reproduce:
Volume is currently hard coded in MusicHandler.java
make it adjustable by player. It can be something like scroll bar.
Some dependencies in build.gradle file is outdated now, when a new project is generated by setup-gdx.jar
instead of using:
Create a separate issue for each bug, explain the problem and include screenshots if it is possible.
It seems like every input class has repeated code like below
@Override
public boolean touchDown(int screenX, int screenY, int pointer, int button) {
OrthographicCamera camera = state.getCamera();
Vector3 unprojected = camera.unproject(new Vector3(screenX, screenY, 1));
state.touchDown(unprojected.x, unprojected.y);
return super.touchDown(screenX, screenY, pointer, button);
}
@Override
public boolean touchUp(int screenX, int screenY, int pointer, int button) {
OrthographicCamera camera = state.getCamera();
Vector3 unprojected = camera.unproject(new Vector3(screenX, screenY, 1));
state.touchRelease(unprojected.x, unprojected.y);
return super.touchUp(screenX, screenY, pointer, button);
}
There should be better way to handle inputs
Currently buttons have
I don't remember what was my intention that time, I don't think I need 3 sprite now, just change the alpha value or something similar to that.
Refactor, MapMaker, Map, Board and Grid classes. It is hard to understand now.
Currently, it is not working on macos, update the gradle version
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.