Git Product home page Git Product logo

katsu's People

Contributors

berkano avatar smalone-axon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

katsu's Issues

refactor KUI

Complex class responsible for:

  • rendering all text (tried to refactor into KTextDisplay class a few times but failed)
  • providing a "writeln" type interface with a text buffer (whose messages can expire over time)
  • global sprite and shape batch management
  • global cameras
  • main loop for rendering all active rooms

211 LoC

singleton porting - make it compile

  • migrate to latest katsu
  • no build errors
  • don't comment out any significant game logic
  • hard stuff needs to be reimplemented with reference to actual ld28 gameplay + source

implement improved text handling

Current implementation has several issues around the rendering lifecycle and general cruft

  • add and remove text
  • set absolute position
  • set colour
  • text manipulation decoupled from actual rendering

simplify tryMove (KEntity, KGrid)

KEntity has 3 methods called tryMove and KGrid has one. Entity calls grid which also calls back to entity.

very confusing to debug

in-game music player

create some kind of in-game player to announce name of track and give the option to skip to next/previous

Improve consistency of core K class

e.g.

K.settings.setTargetFrameRate(...);

to cover:

  • KGameRunner -> gameRunner
  • KLog -> logger
  • KResource -> resources
  • KSettings -> settings
  • KUI -> ui

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.