Git Product home page Git Product logo

gdj107's Introduction

GDJ107

TravisCI Dependency Status

Game Development Java Basics 107

This project is part of the GDJ107 course from GameDev Basics Java provided by the SnapGames site.

Goal

TODO

Compile

To compile the full project, please execute the following command :

    $> mvn clean install

Execute the game

  • On any platform (Linux, MacOS, Windows)

to execute the compiled jar, please execute the command bellow :

    $> mvn exec:java

or :

    $> java -jar GDJ107-0.0.1-SNAPSHOT-jar-with-dependencies.jar
  • Specifically to Windows platform

To build a windows executable file, you must run :

    C:\> mvn clean install site

This will build a GDJ107.exe into the target directory.

Then you can directly execute :

    C:\> target/GDJ107.exe

If needed, you can also add some arguments from the bellow table:

argument short sample default Description
--debug -d -d [0-4] 0 Request debug information with the level
--height -h -h 320 320 Set the width of the window
--width -w -w 240 240 Set the height of the window
--scale -s -s 2 2 Set a scale factor for the window
--full -f -f off switch to fullscreen mode

Executing the following line bello:

    C:/> target/GDJ107.exe -d 1

will open the next window :

The welcome title state The options state The play state

Edit

Import this project as an Existing Maven Project into your prefered IDE, (like Eclipse ?)

Some screen shots ?

States

TODO

Maven Repo ?

To publish to the right maven repo, just execute the following lines:

    $> mvn clean site deploy

Before execution, be sure that your settings.xml contains a server entry with your login/password for the github repository.

<servers>
	<server>
		<id>github</id>
		<username>[GITHUB-USERNAME]</username>
		<password>[GITHUB-USERPASSWORD]</password>
	</server>
</servers>

Have Fun !

Send a mail to SnapGames

gdj107's People

Contributors

mcgivrer avatar

Watchers

James Cloos avatar

gdj107's Issues

Create TileMap

Create a TileMap with its internal objects like TileSet, TileLayer and Tile.

  • TileMap is the main GameObject,
  • TileLayer is a layer of this tilemap
  • TileSet is a set of tiles to be used into a layer to render graphic tiles
  • Tile is the minimal graphic object to build a map.

A second step will provide a TileMapFactory.

the TileMapFactory will serve a loadFrom() method to load a full map from a text file with a specific language.

This language will expose keywords like @TILEMAP, @TILESET, @TILEMAPPING, @TILELAYER and @IMAGELAYER, to describe content of a full map. in this particular case, the map will describe a full game level.
In a third step, the @OBJECTS keyword will declare GameObject into the level. These GameObject's will be created through an EntityFactory.

Multiple TileLayer will correspond to multiple leveled layer.

see https://github.com/SnapGames/GDJ107/wiki/TileMapFactory for implmentation details.

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.