Temple of The Roguelike Forums

Game Discussion => 7DRLs => Topic started by: theq629 on March 06, 2016, 03:45:09 PM

Title: Thoodiam (7DRL 2016 success)
Post by: theq629 on March 06, 2016, 03:45:09 PM
This is my first time for 7drl and my first time seriously trying to make a roguelike. I'd like to work on a party-based roguelike. But given that it's my first time, my first goal is just to get something working and I don't have very specific plans. I am working in OCaml with curses and hopefully also a HTML5 canvas version.

Edit:
Play online (HTML canvas): http://www.mwhitney.ca/thoodiam/ (http://www.mwhitney.ca/thoodiam/)
Download (Linux x86_64): https://drive.google.com/file/d/0B_uosc4zbvL1VVppbVF1UDQ3R0k/view?usp=sharing (https://drive.google.com/file/d/0B_uosc4zbvL1VVppbVF1UDQ3R0k/view?usp=sharing)
Source code: https://github.com/theq629/thoodiam (https://github.com/theq629/thoodiam)
Title: Re: Thoodiam (7DRL 2016)
Post by: theq629 on March 10, 2016, 03:34:55 AM
Day 1 (Sunday March 6, though I didn't post and register until the evening): Integrated some output and FOV code I had done previously.
Day 2: Finished getting the HTML canvas output going. Started on data structures for items and separate beings. Added combat stats based on Sil, and and a bunch of weapons also from Sil.
Day 3: Added actions and messages for the UI communicating with the game. Added a key to pick up things. Added UI to show messages and the inventory.
Day 4: Finished interface for managing items (pick up, drop, equip). Added a time-based queue for game actions. Implemented basic combat (again based on Sil) and enemies that attack if adjacent.

My game compiles both to a curses executable and to a web version with HTML canvas. I spent a while trying to make an overly abstract interface for that, which was a bad idea in this scope but something I'll come back to later.

I'm obviously not going to get to the party-based game this time, so for the remaining days I'll just aim to finish enemy AI, multiple levels, saving and restoring games, and if I have time than add more map generation and UI features.

http://www.mwhitney.ca/thoodiam (http://www.mwhitney.ca/thoodiam)

(http://i.imgur.com/8zGiYvg.png)
(http://i.imgur.com/0QLTPpc.png)
Title: Re: Thoodiam (7DRL 2016)
Post by: theq629 on March 10, 2016, 04:42:15 PM
Day 5: Made enemies chase the player, added detailed output of combat results, fixed a bunch of other things.

(http://i.imgur.com/O8SFfOo.png)
Title: Re: Thoodiam (7DRL 2016)
Post by: Naburimannu on March 10, 2016, 06:42:37 PM
orcs and goblins keep attacking me even after they're dead?
Title: Re: Thoodiam (7DRL 2016)
Post by: theq629 on March 11, 2016, 03:15:08 AM
That's a good point, thanks. It should be fixed now.
Title: Re: Thoodiam (7DRL 2016)
Post by: theq629 on March 11, 2016, 05:19:56 PM
Day 6: Multiple levels, win condition, new enemies for deeper levels. UI improvements, especially being able to show key bindings. Lots of bug fixing.

(http://i.imgur.com/tLzyLtb.png)
(http://i.imgur.com/XzcEeA2.png)
Title: Re: Thoodiam (7DRL 2016)
Post by: theq629 on March 12, 2016, 08:21:49 PM
Day 7: Critical hits, two-handed weapons, throwing weapons, helms and shields. Some attempts at balancing (which didn't really work). Bug fixing. I decided not to do game saving and restoring since the combat system seemed more interesting. It seems like playthroughs are either too easy or a monster kills me in one hit, but so far I haven't worked out balance.

I think this counts as success, I would have liked to get farther with actual interesting gameplay but everything basically works. Hopefully I have the experience and useful code to do something more interesting next time.

Play online (HTML canvas): http://www.mwhitney.ca/thoodiam/ (http://www.mwhitney.ca/thoodiam/)
Download (Linux x86_64): https://drive.google.com/file/d/0B_uosc4zbvL1VVppbVF1UDQ3R0k/view?usp=sharing (https://drive.google.com/file/d/0B_uosc4zbvL1VVppbVF1UDQ3R0k/view?usp=sharing)
Title: Re: Thoodiam (7DRL 2016 success)
Post by: theq629 on March 14, 2016, 05:16:23 PM
Source code: https://github.com/theq629/thoodiam (https://github.com/theq629/thoodiam)