No Description

selfsame e47308573d apply patch from http://p.hagelb.org/0001-Move-declaration-of-_button_dirty-to-before-its-firs.patch 3 years ago
.gitignore 71db837690 ignore .out.fnl 4 years ago
README.md 893d14cd5a lots of new content, usable items 4 years ago
aaa.lua 96299b773f Merge branch 'master' of notabug.org:selfsame/aaa 4 years ago
combat.fnl 73e8af02f1 tp smoke and tweaks 4 years ago
compile.sh 0eb195a1b9 combat weapons and fx 4 years ago
dialogue.fnl e47308573d apply patch from http://p.hagelb.org/0001-Move-declaration-of-_button_dirty-to-before-its-firs.patch 3 years ago
ecs.fnl 516cdf3b4c player centric walking 5 years ago
globals.fnl 26208b5793 tweaks 4 years ago
index.html d651a6fa42 fix death bugs 4 years ago
main.fnl d651a6fa42 fix death bugs 4 years ago
map.fnl 0a34e44117 better dungeon algo, always connected, fix equa missing paren 4 years ago
monsters.fnl d651a6fa42 fix death bugs 4 years ago
systems.fnl e47308573d apply patch from http://p.hagelb.org/0001-Move-declaration-of-_button_dirty-to-before-its-firs.patch 3 years ago
tween.fnl d279e42951 death screen 4 years ago
util.fnl 356d2fa89c tableprint functions 4 years ago
vector.fnl c29e689a18 monster ai pathfinding 4 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
    • health bar
  • [/] dungeon generator
    • alternate drunk walk algo (keep direction longer)
    • NxN area around spawning point clear of enemies and exits
    • depth / difficulty based population
  • [/] 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
    • initialization
    • bonuses
    • need to make sure random items are depth appropriate
      • this could be a rejection or a limit to stop adding items once a total depth power has been reached
  • combat
    • attack DSL (dice?)
    • armor? elements?
    • swing fx
    • sound fx for combat (hit/miss)
  • [ ] move fx to channel 3

  • [ ] 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
  • [/] 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?)
  • [ ] ai

    • sleeping/waking
    • fear
    • split locomation ai from general type of behaviour
  • [ ] combat

    • wield slot
    • calculate armor/hit chance/ damage for an entity
    • little damage number fx?
    • miss fx
    • entity base stats
    • entity level (player level) should act as a sort of multiplier on base stats? and on hit/miss chance?

next

  • player level/experience
    • award exp
    • check/advance level
    • leveling up gives more hp
    • use level in combat functions
  • [x] item/entity evaluation

  • [x] store functionality

    • filter generated store items
    • item-print items, with price
    • show lower sell price
  • [x] AR stat (damage reduction)

  • [x] armor bonuses (+dodge)

  • [x] HIT/MISS SOUNDS

  • [x] more monsters

  • [x] more items

    • big heal potion
    • return to town scroll
  • [ ] smoke fx

  • [ ] intro screen

  • [ ] stackable items

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?
  • pathfinding can walk diagonally could the player do this too? detect double direction keypresses?
  • opening command menu takes a turn first (should be delayed?)
  • x should enter store if you're standing on it?