No Description

selfsame d651a6fa42 fix death bugs 2 months ago
.gitignore 71db837690 ignore .out.fnl 2 months ago
README.md 893d14cd5a lots of new content, usable items 2 months ago
aaa.lua 96299b773f Merge branch 'master' of notabug.org:selfsame/aaa 2 months ago
combat.fnl 73e8af02f1 tp smoke and tweaks 2 months ago
compile.sh 0eb195a1b9 combat weapons and fx 2 months ago
dialogue.fnl 3156ea2edf AC, clothing stuff, fight sounds, death msgs 2 months ago
ecs.fnl 516cdf3b4c player centric walking 2 months ago
globals.fnl 26208b5793 tweaks 2 months ago
index.html d651a6fa42 fix death bugs 2 months ago
main.fnl d651a6fa42 fix death bugs 2 months ago
map.fnl 0a34e44117 better dungeon algo, always connected, fix equa missing paren 2 months ago
monsters.fnl d651a6fa42 fix death bugs 2 months ago
systems.fnl 2f99dc4d1f shuffled song 2 months ago
tween.fnl d279e42951 death screen 2 months ago
util.fnl 356d2fa89c tableprint functions 2 months ago
vector.fnl c29e689a18 monster ai pathfinding 2 months ago
watch.sh fb0e6546bd first bit of title song 2 months 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?