Coder Social home page Coder Social logo

dethe / b_and_e Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 4.8 MB

Classic Bunions and Entrees: The Dungeon of Lost Things (for Ludum Dare 36)

Home Page: https://dethe.github.io/b_and_e/

License: Mozilla Public License 2.0

HTML 0.02% JavaScript 99.93% Python 0.05%

b_and_e's People

Contributors

dethe avatar

Watchers

 avatar

b_and_e's Issues

Info Screen

Add explanation about the game along the lines of:

Nesssarose is the proprietor and head cook for the Wicked Witch of the West Bed and Breakfast and Bar-B-Que (WWW B&B&BBQ). She has been plagued by globlins coming up from the cellar and stealing things: historical artifacts, spare change, her prizewinning recipes. Eventually, enough is enough and she heads down into the extensive (possibly infinite) cellars to retrieve her things and teach the globlins a lesson."

"Property is theft, especially when it's someone else's property in your possession."

Examining wall may reveal secrets

Examining the wall (with the up arrow) has a chance to reveal things:

  • Under a cracked brick: possible secret door, more likely to be a room
  • Next to a mossy brick: water or healing
  • Under a spider web: ???

Post-Ludum Dare refactoring

Strip a lot of the code out of the Game state and put into Character and PlayerControl objects. Monsters and the Player should both be able to use Character, but if needed create a subclass. Might need a Monster control class for the AI to use?

Add rooms

Re-do door illustration. Pressing 'up' on a door takes you through it. Doors can lead to corridors (basically just like the existing corridor), or into rooms. Rooms have one thing to interact with, then the down button takes you back out.

  • Cimim: looks like a monster, but is just a chest with loot. Has a health bar, but if destroyed, no loot. Using insta-BBQ in a room hurts Nessarose too. Up button opens chest for looting.
  • Rat Catcher: She's down here and has found a few things that might be worth buying. She always has dead rats and live rats for sale (and her own pair of pet rats), but may have any other non-unique item available for sale.

Show information

  • Player health
  • Monster health
  • Inventory
  • Information about monsters and events
  • How many goals have been achieved

Add audio

  • Background music
  • Monster attacks
  • Take damage
  • Player attacks
  • Player dies

Remove physics

The physics engine is overkill for this game. Use Time.physicsElapsed and Sprite.data.velocity (always x-velocity for now) to calculate movement consistently. For thrown objects it may make sense to still give them physics.

Create sprites

Character sprites:

  • Hero
  • Owlpig
  • Hand Flayer
  • Bearicorn
  • Ochre Cube
  • Umber Couch
  • Globlin
  • Beerholder

Item sprites:

  • Spell/scrolls
  • Lever
  • Wedge
  • Gear
  • Sundial
  • Screw Pump
  • Compass
  • Spinning Wheel
  • Antikythera mechanism
  • Steam engine

Effects and Missiles

  • BBQ spell
  • Thrown glob (from globlins)
  • Coins from umber couch

Background

  • Floor
  • Ceiling
  • Door, open
  • Door, closed
  • Various walls
  • Torches
  • Rubble
  • Pits
  • Traps

Nessarose should be able to fight back

Nessarose should have a default attack (kick) with it's own animation.

She should be able to upgrade this:

  • Broom (any of several brooms) extends reach
  • Bunion ointment: can kick harder, does more damage + stun

She can also have other weapons, which are expendable:

  • Insta-BBQ, thrown, area effect, damage for a second or two
  • Bus Ticket: Night Bus sweeps through corridor, destroying all monsters but not leaving loot

Nessarose should have alternate actions

Rather than use her default attack, different keys should cause her to use items (if she has them):

b - broom (best current broom)
l - lever (or log?)
r - Use rat (bring pet rat out to play with, especially effective with the Bearicorn)

Get combat working

  • Implement wandering monsters
  • Monsters move and attack, etc.
  • Monsters take damage
  • Player takes damage
  • Monsters die
  • Players die
  • Loot monster

Give monsters alternate actions

Each monster should be able to attack, in at least one way, but should also be able to do other things:

  • Globlins steal and run away
  • Umber couch: tempt you into going to sleep on it
  • Bearicorn: heal you (especially if tempted with a pet rat)
  • Ochre Cube: ???
  • Hand flayer: ???

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.