Coder Social home page Coder Social logo

sushi's People

Contributors

ionous avatar

Stargazers

 avatar

Watchers

 avatar

sushi's Issues

evaluate replacing LayerService with jquery

LayerService is pretty complicated, and it's not clear that it needs to be. One way to simplify it would be to remove it. Replace the expansion and collapse of nodes with jquery selection by id or class.

growls

There are a number of popup boxes which the player must bypass by clicking which could be converted to modeless notifications. For instance, "alice takes the ...", "the animal moves to the ...", etc.

This might require, on the sashimi side, a "notify" action vs. simply "saying". If so, this could be a good chance to demote "saying" from the callback execution engine interface into a standard action.

consider mutating visual state changes via the statechart

currently, map state changes ( ex. display kat foods, alice is falling, etc. ) are handled by "entity watchers" ( layerService.js, watcherService.js. ) The statechart can already listen to object state changes, so it would be nice to use the statechart for this.

The action radial doesn't immediately vanish

The action radial should immediately vanish after the player selects an action from it.
However, If sashimi takes an unexpectedly long time to process some particular action, the action bar hangs out on the screen till the server has responded. The statechart may need some slight tweaking for this to work right.

Parenthesis with whitespace padding wrap poorly

Popups generated from sashimi story files which have parens -- g.Say("( The spark returns the", prop.Get("name").Text()+". )") -- wind up wrapping just before the paren, leaving the paren dangling on the next line. Maybe non-breaking spaces would help. Maybe via template text with html entities.

Alice doesn't always move to where you'd expect

Similar to the facing issue -- if the same object appears in multiple places alice often navigates to the one you'd least expect. It can be fixed by adding more landing pads, at the expense of adding more landing pads.

Remove alice specific code

  1. compile a complete list of alice specific code in sushi
  2. move all alice specific code to external replacements or overrides of sushi statechart controls
  3. provide default files that will enable sushi to work with any simple, non-alice story

browser navigation history

Add navigation history control for the browser hosted version of sushi. Pressing the back button should go from view to room, or from room to menu, as well as vice versa ( re-enter last game, attempt to zoom into a view ) if at all possible

Allow save file name to be specified in constants

Currently, when debugging, you have to change the startup constant to "Resume" and "MostRecentIn" and "MostRecentOut" as needed. It'd be much nicer to simply set the startup constant to the name of the save file.

keyboard interaction for comments

Consider adding keyboard interaction for player comments. Escape to choose depart if there is a departing quip listed, number key to select a listed quip, arrows to rotate through the available quips.

gamepad, 360 controller support

The most complicated part of this would be some sort of "cursor" or "highlight" to toggle through near-by objects. [ The keyboard could be extended to support this as well, via Tab to cycle though objects, and Enter to select. ]

Text view

Bring back text view for areas without map files ( ie. bring back a view which contains the original web test client. )

Alice doesn't always face the direction you'd expect

This shows up best anywhere the same object appears simultaneously in the different positions: the automat chairs, the ship heart foam, the cliff path metal grates,... Maybe the click target record should also include the click spot?

display server errors

if the server can't complete a client request: invalid action, out of date session, exception: the server ( generally ) responds http 500. The client should indicate an error occurred ( a quake-lan disconnected icon, a growl, "this will not work" dialog both ) with as much information as possible.

dialog transcript screen

A history of all dialog spoken and heard would be nice. Probably? best to save this client side. Could potentially save quips, and poll the actual text ( +/- the state of the game at the time of the quip re: text templates ).

add logging configuration

Intead of using angular $log, it would be great to have a logging wrapper that can be tuned ( debug, info, warn, off ) per state.
Logging control effects child states. With no logging config, the decision to log is neutral: neither enabling nor disabling. Logging off should likely silence children, or have add a particular silence-children value.

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.