bowtie8904 / btgame Goto Github PK
View Code? Open in Web Editor NEWA library for basic games.
License: MIT License
A library for basic games.
License: MIT License
Implement an interface 'Loadable' with load() and extend Killable.
This will be used in the ObjectResourceLoader implementation.
A class that allows to trigger actions when a gameobject enters a certain area.
The ResourceLoader of scenes does sometimes throw an IllegalStateException during a scene change. This seems to be due to object still requesting resources during the current render iteration eventhough the scenes kill() has already been called in a separate thread.
A SoundSource is supposed to be a sound coming from a specific location. Its volume should adjust based on the distance to a given object.
GameObject is supposed to be the super class of everything that is rendered/ticked in the game.
GameObjectHandlers are supposed to forward tick and render method calls to their held GameObjects. Each Scene should hold at least one handler.
As soon as the ObjectCamera follows the player the player movement looks really shaky. Not sure is this is caused by the player or the camera.
The current RenderableText implementations do only offer support for single line texts.
The goal is to have one or multiple classes that allow the creation of multiline (scrollable) text boxes.
It should also be optional to have different parts of the text in different colors and to display the text over time as if it was actively typed right now.
A generic unit conversion system is needed to convert pixels to game units and back.
It should be integrated into the game loop.
Usage should change to something like
if (KeyController.isKeyPressed(KeyEvent.VK_1))
{
// do stuff
}
There should be an option to let GameObjects be rendered and ticked on a separate thread.
A subclass of the BaseResourceLoader which will trigger loading operations for given objects rather than read and load resources from a file itself.
The recommended way of moving an object is to apply forces to it rather than changing its linear velocity directly.
Currently both the JsonResourceLoader and the JsonTextLoader have trouble finding their files on the classpath.
GameContainer is supposed to be the core of the game. It will act be the canvas to draw on. Its tick and render methods will be called by the game loop and redirect those calls to the currently active Scene.
GameContainer should be scalable size wise. Whether the scaling of images and such should be performed by the GameContainer, the Scenes, or the GameObjects themselfs is to be determined.
First attempts of making it resizable on the fly have resulted in a broken rendering loop.
Implement a Scene system. Scenes will be encapsulated parts of games, i. e. levels.
Scenes should have their own tick and render methods which will just be called by the main game.
Scenes should use ResourceLoaders to handle their resources.
Implement a textbox whichs dimensions can be set with units but whichs content does not matter. The goal is to be able to have texts that can be displayed in different languages without having to implement their positions individually.
Implement a Renderable that allows to draw a String within a rectangle defined by unit measures.
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.