Code Monkey home page Code Monkey logo

cherno's People

Contributors

jpatrickdev avatar lost-rd avatar orangejuice724 avatar thecherno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cherno's Issues

Sound class problems.

I get many errors with MediaPlayer cannot be resolved to a type, JFXPanel, Media and javafx cannot be resolved.

Any help?

Image loading problem

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 Position and Scaling

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).

Missing Graphics & Splitting Project

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.

Do we need a Color class?

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().

Rotation?

Will the engine have rotation? Should it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.