No Description

eq 8f231dba5e Merge branch 'master' of notabug.org:selfsame/aaa 5 years ago
.gitignore 71db837690 ignore .out.fnl 5 years ago
README.md 9910783086 song system, reset player and restart on death 5 years ago
aaa.lua 8f231dba5e Merge branch 'master' of notabug.org:selfsame/aaa 5 years ago
compile.sh d611476da9 hats! and cached levels. oh and stairs 5 years ago
dialogue.fnl c21b4128bf town, shops, money 5 years ago
ecs.fnl 516cdf3b4c player centric walking 5 years ago
globals.fnl 9910783086 song system, reset player and restart on death 5 years ago
main.fnl 9910783086 song system, reset player and restart on death 5 years ago
map.fnl c21b4128bf town, shops, money 5 years ago
monsters.fnl c21b4128bf town, shops, money 5 years ago
systems.fnl 9910783086 song system, reset player and restart on death 5 years ago
tween.fnl d279e42951 death screen 5 years ago
util.fnl c21b4128bf town, shops, money 5 years ago
vector.fnl f8c6fbb7fd monsters, movement animation, collisions, basic attacking and death 5 years ago
watch.sh fb0e6546bd first bit of title song 5 years ago

README.md

aaa

running

  • tic80 aaa.lua

compile source files with ./compile.sh, or if inotify-tools are installed you can run ./watch.sh

New source files will need to be added to ./compile.sh

tips

  • ctrl+r to reload cart

small projects

  • box drawing with a sprite border (from 1 corner and side sprite?)
  • simple pathfinding (stright towards target, maybe sidesteps if blocked forward)
  • combat functions, maybe like dice (3d4 = [3 4])
  • item initialization - rolls values, makes things a bit different
  • print method for game item/entities (color, special info)

TODO

  • cons, update-in, get, get-in
  • input roguelike loop
  • world collision
  • UI
    • dialogues (interface screens)
    • title screen
    • death screen
  • [/] dungeon generator
    • alternate drunk walk algo (keep direction longer)
  • [/] use special visual transition tiles in dungeon
    • tile variations (rand-nth in theme)
  • move animations
  • [/] collision checking (per tile)
  • how does speed work? (maybe ignore speed, everything can move 1 tile/action)
  • items
    • inventory
    • actions with items
  • combat
    • attack DSL (dice?)
    • armor? elements?

today

  • up / down stairs
    • should be an opposite stair when you change level
    • trigger layer (doors/shops/etc.)
      • action key should use stairs
    • stair animation (clip, tween descend/ascend?)
    • level caching
  • depth / difficulty based population
  • [/] static town
    • load town as level with world/tiles
    • store triggers
    • townpeople?
  • stores
    • random items of category
    • item prices
    • better enter store key (command? auto on enter tile?)
  • items
    • initialization
    • bonuses
  • combat
    • calculate armor/hit chance/ damage for an entity
    • entity base stats
    • entity level (player level) should act as a sort of multiplier on base stats? and on hit/miss chance?

bugs

  • things can walk off the map - make dungeon always have border?
  • water can not be connected to dungeon
  • waiting make other entities animate weirdly?