Giter VIP home page Giter VIP logo

pyroguelike's Introduction

Not your father's roguelike

Install requirements

Pygame

Arch / Manjaro

sudo pacman -S python-pygame

in all other cases (Ubuntu, Windows, etc)

pip install pygame==1.9.6

Other dependencies

pip install -r requirements.txt

Run

python main.py

Release

pip install pyinstaller
pyinstaller main.py

Game Intro

What a day it had been!

Jeff got fired from Burger Queen restaurant today. This week he needs to pay mortgage loan for her grandmother house and for cable TV just before a baseball season.

Considering all this stuff together Jeff decides to go to a bar. To watch the first game, drink some beer and think about future and where to get some cash. Collect $500 or more this night and life will become less miserable.

Controls

  • Movements: w a s d - move a hero up, left, down, or right
  • Use mouse pointer and left button to shoot (when you have ammo).
  • Dialog system: Enter - to select your answer, w/s - up and down to choose another answer.

Preview

screen1

Screen 1 - Jeff talks with barman Joe

screen2

Screen 2 - Clearing a base from strange yellow creatures with red eyes

YouTube video is better than thousand screens

Screenplay (with music!)

About Repl.it Gam Jam

I'd like to share my experience with pygame on replit with other programmers. Here are my notes I made when started with this project. They boosted my productivity with this project in the platform usage.

  • Stop button usually does not work. To restart code with new changes use Ctrl+Enter. Make sure focus in the code editor.
  • Also try Ctrl+C in console window.
  • If first methods do not help, close a browser tab and open repl.it, go to your dashboard and open project again.
  • Sometimes it still displays window from previous start or do not display an app at all. It happened to me when the package manager (pip) tells you who is the boss. Then fork a project. When I discovered that method I finished with 11 forks of my game.
  • You cannot open just a game in new tab using *.run link. You have to play with editor layout a whole day.
  • I recommend to run your app in fullscreen mode to prevent from clicking on close and minimize buttons of the app window
  • Linter tells you about every whitespace error and very often covers real syntax errors. Do you know that there is auto-format button near to "saved" status? I want an option to make it automatic on save (merge it with my habit to press Ctrl+S every minute)
  • pdb module does not work. I tried pdb_clone and it worked.
  • Do not remove file if it is currently opened.

pyroguelike's People

Contributors

mikolasan avatar

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.