Skip to content

Progress updates for "n o c h d" - A browser-based classic roguelike based in Celtic mythology

Notifications You must be signed in to change notification settings

jonmcgill/nochd-progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Updates: 03/14/24

  • NPC actors can be generated and inserted into maps
  • NPC actors can have random walk behavior and equipped items have effect in the world (lighting)
  • NPC actors can have dialogue interaction with player responses and state-determined branching
  • NPC actor behavior can specify random selection of dialogue from a state-determined category
  • Dialogue UI panel with text printing effect and user input wired up
  • Actors can have 1 of 6 hair styles in 1 of 5 colors with 1 of 3 body skin tones
  • Added a random body function to generate random NPC styles
  • Added 2 dresses (my daughters insisted) and 1 additional set of clothes
  • Added a beard option (simple way to increase variety)
  • Reorganized all graphics source files into separate categories with better templates

Screenshot: Multiple NPCs with Misc Clothes

Multiple NPCs with Misc Clothes

Video: Randomized Actor Styles (Hair/Color/Body)

nochd-random-actor-styles.mp4

Video: Dialogue Panel with Text Printing and User Responses

nochd-dialogue-basics.mp4

Tasks Completed

  • (MS01-NPC) npc can have categories of random dialogue which are decided on interaction
  • (MS01-NPC) on turn, process npc item/stat calculations just like player
  • (MS01-NPC) more body/hair graphics
  • (MS01-NPC) random npc body/hair/beard function
  • (MS01-NPC) more basic clothes options
  • (Chore) try out some different fonts
  • (MS01-NPC) dialogues have a printing effect
  • (MS01-NPC) if no npc dialogue, show message that they don't want to talk
  • (MS01-NPC) space key to each dialogue panel takes one turn
  • (MS01-NPC) Escape key will cancel dialogue
  • (MS01-NPC) npc will turn to face player if needed
  • (MSO1-NPC) npc dialogue can have init function to determine branch
  • (MS01-NPC) npc dialogue branch can have player responses that change branches
  • (Chore) reorganize graphics source files into separate categories

Updates: 03/09/2024

  • Added environment tile animation frames (water and campfire)
  • Added actor tile animation frames (body + equipment)
  • Added ability to dynamically change tilesize (like when going in small rooms)
  • Updated UI panels style and layout (just a little bit)
  • Fixed light source collection (storing with map chunk data now)
  • Started work on NPC actors (create/render/items/dialogue)

Showcase

Night near the house. NPC walking around with a torch. Tiles change size when going indoors.

nochd-light-npc-map-tilesize-toggle.mp4

Morning light. Walk by the shore. Water animation.

nochd-morning-water-animation.mp4

About

Progress updates for "n o c h d" - A browser-based classic roguelike based in Celtic mythology

Resources

Stars

Watchers

Forks