Coder Social home page Coder Social logo

msaad1999 / lost--java-2d-game Goto Github PK

View Code? Open in Web Editor NEW
10.0 0.0 1.0 163.74 MB

2D side-scrolling game made in JAVA with sprite sheet animations

License: MIT License

Rust 0.06% Java 99.94%
side-scrolling-game side-scrolling-platformer java spritesheet game game-development java-2d-game netbeans enemy-bots 2d-platformer

lost--java-2d-game's Introduction

A java powered 2D Game

msaad1999

corrupt image

Introduction

The game is a 2D side scrolling system, where a player moves left, right, vertically or diagonally to traverse the game. there is a level system, although not complete as of yet. This was a semester project, so i had to create the whole game without any game making software or java library. so everything was hardcoded and created from scratch. the player is a human character in a sci-fi suit, with arrow-key movements and jumps by the space button. there are enemies as well, tho not yet satisfactorily advanced yet, with a basic AI to follow the player.

corrupt image

There is no HP system as of yet, so the player dies on contact with the enemy or falling down legdes etc. the ctrl button fires bullets, tho there is a small fault. the player image does not have a gun and there is no shooting animation. all this would have required intensive GIMP or PhotoShop, and i didnt have the time then. the player has a complete sprite sheet animation, meaning that there are a lot of static images looping to create the effect of movement.

The game has a complete and fully functioning GUI, with dynamic-background menus and responsive buttons.

HOW TO PLAY

you need to have netbeans IDE installed on your system and your resolution must me 1366x768. i have yet to make an installable executable of the game and make the resolution dynamic so it could be played on any resolution.

corrupt image

Once previous requirements are met, download the entier code in a folder, open netbeans and choose the open project option, and then open the entire folder as a netbeans project. once the project is opened, click the green arrow on the top to run the game.

lost--java-2d-game's People

Contributors

msaad1999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

saifalashpat

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.