Giter Site home page Giter Site logo

blorp's People

Contributors

thomasboyt avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

blorp's Issues

Blats throw an error if they can't reach player when they spawn

since every blat just stores the last known good coordinates for player internally, a newly-spawned that has no previously-stored good coordinates won't be able to figure out where to go :'(

options:

  • make last known good coordinates global?
  • add some sort of default behavior if can't find player (maybe wander aimlessly? would have to add collision detection)
  • figure out how to make this pathfinding get us as close as possible to an unwalkable tile instead of just failing
  • start using platforms under ladders again, since the only scenario this happens in is if the player is on a ladder in front of a block

Add external tileset support to level parser

Tiled has "external tilesets," which are just tilesets kept in a separate file from the actual level file. The advantage of using this is that all levels have a single, shared tileset, rather than trying to keep all the internal tilesets in sync. It also cuts down on filesize.

The easiest way to do this would be to just use a hardcoded external tileset for all the levels. The external tileset will get loaded and parsed as a string, and all the levels' tiles will be mapped to it. This will require either an enforcement of asset loading order, or deferring parsing the levels until after the initial load (which isn't ideal, as having parsing time represented in the progress bar was nice).

Make platforms look nicer

Should still only have a 1px hitbox but maybe some sort of shading/etc underneath to make them stand out more.

Loop levels

Eventually I want to have way more levels and make proper progression, but for now, let's at least loop the levels that exist

Camera jumps when climbing over top of ladder

If you're climbing a ladder at top of screen, when you climb over the top, the camera jumps because of your character suddenly jumping up 5 pixels

One solution might be to find a way to dampen the camera movement. A possibly more correct one would be to have the player smoothly rise off the top of the ladder somehow

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.