Category: the knowledge

  • Layer sliding

    See also: the bit about layer sliding – and making sure to finish on a whole number Resources

  • JS

    See also: Eloquent Javascript https://eloquentjavascript.net/ Its very… yellow… Main bits Loading JS Modern JS loading – use ‘defer’ – which loads asynchronously and defers execution of script until everything else has been rendered… Modules are automatically set to ‘defer’ Resources

  • Talking and Messages

    See also: These are the options: Talking and messages see also Talking and messages – two approaches The system allows for bumping into a person, then pressing enter to talk – they will also say different things depending on the circumstances – e.g. if you have completed a task, they will say something that reflects/responds…

  • Messages

    See also: Resources

  • Map events

    See also: Puppeting the characters during cutscenes (and at other times as required) Resources

  • Layers

    See also: maps and levels Layers Later, rework this so there can be more data layers – and we will start on ‘layer 0’ or, the ground. Resources

  • Game objects

    See also: Any game object can pass in its own animation definition/behaviour (into the sprite object, which also handles animationGame objects all have an ID – it is drawn from the data in overworldMap… Game objects are drawn in order of the data – e.g. top most item in data is drawn FIRST and then…

  • Grid

    See also: maps and levels 16*16 – defined in ‘withGrid’ in utils.jsNudge of sprites – 8 and 18 – done in ‘draw’ in sprite.js walkable gridThis is an array (or object) of the  Resources

  • Easing

    See also: animation Look up table for easing – easing 1 is no easing Resources

  • Dynamic Key (in js)

    See also: Dynamic Key (in js)The square braces are used for creating dynamic keys: Resources