Category: the knowledge

  • Progression and achievement system

    Requirements: mini-games and core have inividual identifiers local logic for success tracking player progress schema Observer pattern could be a good choice Story progression – flags and tags – empty tags in char thing – start off set to no… add more? Work backwards from goal – knowing the goal/objective – usuaĺly stated at the…

  • Level/map editors

    Needs: Options external editor Use tiled map editor A guide to level creation with Tiled [ + how to use it with pygame ] make 2 folders, a tmx and a tsx folder Without using tiled map editor reasons – small game – online editor internal editor Or, just have a built in edit mode…

  • Template setups

    Systems Games

  • UI

    Principles: This are the elements: Use React to handle UI https://jslegenddev.substack.com/p/why-use-react-for-game-development I do like the alpha insettion options on the SNES – where you scroll off the left hand of the page, and loop back around. Cues from Apple HUI guidelines are useful Inventory Well, this below is not a solution, but rather, a rant…

  • Project Structure

    The logic is: there are two main areas: For web projects, this is not always that logical. So, what to do? The release is the same as the src folder, but has a .git ignore folder for when it’s built… Grunt file Ok, so it’s outdated, but it will do for now… Based on the Advanced…

  • Design Patterns

    10 reasons to use Design Patterns to design a game, 10 reasons not to, an approach to design an extensible, 2d action rpg game using vanilla javascript https://gameprogrammingpatterns.com https://www.patterns.dev GIM6UU2V architecture is about change (https://gameprogrammingpatterns.com/architecture-performance-and-games.html) And also, testing… Phaser.HEADLESS https://dev.to/davidmorais/testing-phaser-games-with-vitest-3kon Data structures Memory, Cache Locality, and why Arrays are Fast (Data Structures and Optimization) Pass…

  • Toolchain/workflow

    All these tools are free – or so cheap and good that you should get them… Artwork  – aseprite > auto export to img folder Level editor  – tiled > auto export to game map folder (.json) Coding Node js  – vscode > work in src folder – saving reloads/relaunches page in browser runs test…

  • Guiding principles

    Other places that have lots of good info: Guiding principles I think what I am looking for is an APPROACH, rather than an engine… The approach, for example, could be: when coding, it is LIKELY that it should have the following: It was reading Selecting solutions What do you need it to do? How much…

  • Engines/approaches etc. I have used

    I have used: godot game engine, pico8, javascript and pyGame. All have their pros and cons. I ended up settling on javaScript, but keep up with cool tutorials etc in the others for inspiration/ideas. Well, the one below is a good reason to avoid ‘frameworks’ and Kaboom – now depricated Can’t remember the name of…