Git Product home page Git Product logo

rpg's Introduction

lets make a game

2D, top-down, pixelized magic action RPG

contributions very welcome (see roadmap)

demo

Build Status

screenshot

INCLUDED TOOLS

  • aerpg - play the demo rpg: explore map, kill skeletons, pick up loot, gain xp, collect magic items

  • mapmaker - create/edit a map: read source code for keymap

  • mapgen - generate a map: run mapgen ______ to use specific seed such as mapgen mycoolseed

FETCHING DEPENDENCIES

  • install Go: go

  • install C dependencies: apt-get install xorg-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libopenal-dev libasound2-dev

  • fetch this source code and dependencies: go get -v -d -u github.com/aerth/rpg/cmd/...

INSTALLING AERPG GAME

Requirements

If you're using Windows and having trouble building Pixel, please check this guide on the wiki.

PixelGL backend uses OpenGL to render graphics. Because of that, OpenGL development libraries are needed for compilation. The dependencies are same as for GLFW.

The OpenGL version used is OpenGL 3.3.

  • On macOS, you need Xcode or Command Line Tools for Xcode (xcode-select --install) for required headers and libraries.
  • On Ubuntu/Debian-like Linux distributions, you need libgl1-mesa-dev and xorg-dev packages.
  • On CentOS/Fedora-like Linux distributions, you need libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel mesa-libGL-devel libXi-devel packages.
  • See here for full details.

The combination of Go 1.8, macOS and latest XCode seems to be problematic as mentioned in issue #7. This issue is probably not related to Pixel. Upgrading to Go 1.8.1 fixes the issue.

Compiling

go get -v -d github.com/aerth/rpg GOBIN=$PWD go install github.com/aerth/rpg/cmd/...

keymap:

  • Pause, Inventory, Char Stats: i

  • Movement: arrows, asdw, hjkl, hold right mouse

  • Zoom: mouse wheel

  • Identify tile: left click

  • Pick up loot: left click

  • Attack (manastorm): space middle click

  • Attack (magic bullet): B left click (point/shoot)

  • Quit: ctrl+Q

CHEATS

  • Toggle show enemy paths: =

  • Toggle fly mode: caps lock

  • Mana potion: 1

  • Health potion: 2

  • XP potion: 3

  • Speed up time: LSHIFT

  • Slow motion: TAB

  • Random Loot: ctrl+L (random location), ctrl+K (under mouse)

  • Spawn fresh mob: M (watch FPS go down)

ROADMAP

  • Regions (separated by doors)

  • Doors/Portals connect regions

  • Spawn tiles (instead of random tile) (should be Rectangle)

  • Map editor improvements (toolbar, pallet, fix offsets)

  • Text boxes (space to speed past conversations, pgup pgdown scroll)

  • Text Input (cheat codes, debug, chat, user input)

  • Pick up loot

  • Drop item

  • proper Inventory and Wearing

  • Optimization

  • Replace spritesheets, allow texturepacks, skins

  • "Stage 1" map and missions, villages with markets, npcs, enemies, and a generated dungeon with bad guys and a boss

  • D2 style multiplayer co-operative and chat (no p2p)

questions / support / donations

donations support the author and will make more frequent updates

BTC: https://blockchain.info/address/1ANjiTNvdEM6Me3yc4EBFSkDb4db4XW6pr

PayPal Me: https://www.paypal.me/aerth

questions and comments can be directed to the email address published at https://github.com/aerth

credits

rpg's People

Contributors

aerth 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rpg's Issues

Works

Hi, just booted Windows 10 64-bit for You - it works (you asked about that in release comment)! :-)

I see, that development has slowed down. Will you develop this further?

Have a good day!

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.