thecherno / cherno Goto Github PK
View Code? Open in Web Editor NEWThe Cherno engine, for Ludum Dare.
License: GNU General Public License v3.0
The Cherno engine, for Ludum Dare.
License: GNU General Public License v3.0
I get many errors with MediaPlayer cannot be resolved to a type, JFXPanel, Media and javafx cannot be resolved.
Any help?
The error(project is not edited):
Exception in thread "main" java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(Unknown Source)
at com.thecherno.cherno.engine.graphics.Texture.load(Texture.java:23)
at com.thecherno.cherno.Main.init(Main.java:20)
at com.thecherno.cherno.Main.main(Main.java:42)
Mouse coordinates are not accurate when the display is scaled. The should be adjusted to take the scaling into consideration (so if the scale is 2, mouse coordinates should be divided by 2, to comply with how pixels are drawn).
If you look at the res folder, it contains 2 files which don't belong and should probably be removed. They should instead probably be replaced with the graphics that are referred to throughout the code (such as levels, grass, etc).
Also I think it may be useful to split this project into 2 parts. The problem we're having is that you're testing the engine in the same project you're developing it. We should maybe consider having 2 separate projects (one is the engine, the other is the implementation). Either that, or have a folder called /examples/ or something of the sort and put the implementation of the engine in there to make a clear distinction.
This engine has its own color class but the standard library already has one provided in AWT. It seems like we're just copying its functionality since its uses are virtually the same. The only difference is getColor() is replaced by .getRGB().
Works fine, renamed image.png to sprite.png, and just gives me blank screen?
Will the engine have rotation? Should it?
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.