Code Monkey home page Code Monkey logo

the-stolen-crown-rpg's Introduction

The Stolen Crown: A mini-RPG

A fantasy mini-RPG built with Python and Pygame.

Requirements: Python 2.7, Pygame 1.9.1

How to run: python The_Stolen_Crown.py

Video Demo: https://www.youtube.com/watch?v=MkZXaDQfTSo

screenshot

screenshot #2

King's Theme by Telaron: opengameart.org/content/the-kings-crowning

Town Theme by Mekathratos: opengameart.org/content/danza-del-bosque

Overworld Theme by bart: opengameart.org/content/adventure-begins

Shop Theme by Aaron Krogh: https://soundcloud.com/aaron-anderson-11/a-4-coastal-town

Victory Theme by matthew.pablo http://opengameart.org/content/enchanted-festival

the-stolen-crown-rpg's People

Contributors

justinmeister avatar metulburr 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

the-stolen-crown-rpg's Issues

Game crashes when selecting "sell" in Magic shop

Like the title says, the game crashed on me when I selected "sell" in the Magic shop.

Steps to reproduce:

  • Start new game
  • go to magic shop
  • select "sell"

here is the Traceback I receive:

Traceback (most recent call last):
  File "./The_Stolen_Crown.py", line 14, in <module>
    main()
  File "/home/balmung/source/git/The-Stolen-Crown-RPG/data/main.py", line 58, in main
    run_it.main()
  File "/home/balmung/source/git/The-Stolen-Crown-RPG/data/tools.py", line 85, in main
    self.update()
  File "/home/balmung/source/git/The-Stolen-Crown-RPG/data/tools.py", line 38, in update
    self.state.update(self.screen, self.keys, self.current_time)
  File "/home/balmung/source/git/The-Stolen-Crown-RPG/data/states/shop.py", line 131, in update
    state_function(surface, keys, current_time)
  File "/home/balmung/source/git/The-Stolen-Crown-RPG/data/states/shop.py", line 137, in normal_update
    self.gui.update(keys, current_time)
  File "/home/balmung/source/git/The-Stolen-Crown-RPG/data/shopgui.py", line 628, in update
    state_function(keys, current_time)
  File "/home/balmung/source/git/The-Stolen-Crown-RPG/data/shopgui.py", line 500, in buy_sell
    if self.check_for_sellable_items():
  File "/home/balmung/source/git/The-Stolen-Crown-RPG/data/shopgui.py", line 521, in check_for_sellable_items
    if item in self.sellable_items:
TypeError: argument of type 'NoneType' is not iterable

Apart from that:
Nice project you got there - maybe I'll try something too at some point :-)

Error in Magic sell menu

when you don't have any healing potions but only have ether potions, the magic shop sell menu says that you don't have anything to sell.

Crash in weapon shop Sell menu

Occurred when moving around in the weapon shop menu:

Traceback (most recent call last):
  File "The_Stolen_Crown.py", line 14, in <module>
    main()
  File "data\main.pyc", line 58, in main
  File "data\tools.pyc", line 85, in main
  File "data\tools.pyc", line 38, in update
  File "data\states\shop.pyc", line 131, in update
  File "data\states\shop.pyc", line 137, in normal_update
  File "data\shopgui.pyc", line 628, in update
  File "data\shopgui.pyc", line 542, in sell_items
IndexError: list index out of range

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.