GithubHelp home page GithubHelp logo

java-game-dev-libgdx's Introduction

Apress Source Code

This repository accompanies Java Game Development with LibGDX(http://www.apress.com/9781484233238) by Lee Stemkoski (Apress, 2018).

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

java-game-dev-libgdx's People

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

java-game-dev-libgdx's Issues

.class files

Nice job on the book! It's really cool and the sample projects found here are awesome!
I've noticed the presence of the .class files as well. This seem a bit redundant here, and makes it a bit harder to navigate the project. Is there a specific reason why you chose to store them in git, or can we update .gitignore to ignore all .class files?
Keep up the good work!

Chapter 15 error: could not implicitly convert operands to arithmetic operator

The outline.fs has an error

0:17(30): error: could not implicitly convert operands to arithmetic operator

Which can be fixed by making the int explicitly a float:

vec2 pixelToTextureCoords = 1.0f / u_imageSize;

I don't know if this is an issue with newer openGL versions only, using Lwjgl3Application on an Intel Mesa driver.

Chapter3 ClassNotFoundException

If someone following along with Ch.3 on page 69, isn't using blueJ, they have are highly likely to run into this error, The solution I found was instead of the line:

Class theClass = Class.forName(className);

they should instead use

Class theClass = Class.forName("com.mygdx.game." + className);

I just wanted to make sure any people who struggle with this issue will be able to find a solution quicker than I did.

This worked for me, since I'm using Eclipse

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.