Code Monkey home page Code Monkey logo

simplerpg's Introduction

simplerpg

simplerpg is a simple 2D open world game made in Python as a learning experience with pyglet and 2D games.

Disclaimer

I'd like to make it clear that this project isn't meant to be a polished, released game that you'd pay for. This is my learning project that I'm using to learn Python, pyglet and the core aspects of game development, so a lot of the code will come off very inefficient or not well done.

While I appreciate and greatly encourage PRs and improvements, please don't send over simple fixes like naming patterns. These are mistakes I'll learn to fix myself.

Install

Installing and running simplerpg is real easy. Clone (or download) the source code and extract it to a suitable location.

simplerpg depends on pyglet and opensimplex to run. Install them both within the location you extracted.

pip install pyglet
pip install opensimplex

Finally, run main.py to start the game.

py main.py

If you're on Windows, there's an included run.bat file for easier access.

Gameplay

Controls

W - Move up A - Move left S - Move down D - Move right

ESC - Quit

World

When you first load the game, you'll see an empty, green world. That's pretty much it for now. I'll update this as the world gets the love and attention it needs.

Contributing

Want to contribute to simplerpg? There's a couple ways to do so:

  • If you're a developer, improvements and major changes are always welcomed. I'd appreciate if you have some sort of prior experience with pyglet to avoid any mishaps, but if it's just a general Python issue that's fine. Make sure to take a look at pre-existing code to see how it's styled and organized.

  • Know a different language? Translations for the game would be real great. As of right now there's not much actual language in the game, but when there is, that's when there'll be lots of work to do.

  • If you're just an average player, that's okay. Tracking down bugs and reporting them is a great way to help, as well as getting involved with the game's discussion here on GitHub, sharing it to your friends and family, or even a small donation if you like it that much.

  • If there's something else you're thinking about, shoot me an email at [email protected] or message me on Discord at #1.

Thanks

The following people have contributed to make this project happen:

  • Torxed, contributed a large portion of improvements to pretty much everything
  • The pyglet community, that's constantly helping me out and does a great job

simplerpg's People

Contributors

torxed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

simplerpg's Issues

WASD Controls Not Functioning

Hi, there.

I just installed SimpleRPG on a Linux machine and the WASD controls just don't function. The W and S controls are supposed to make the cube go up and down, but they make the cube go left and right whilst A and D do.

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.