Page 1 of 1

ToTF, a roguelike written in Python

PostPosted: 2019-08-03 18:57
by Wheelerof4te
Hello guys, and sorry for being away for so long.

I have been busy trying to develop something, and since this is my first time actually coding something, I decided to write it using python3.
I like games, and I love RPGs, so I went with a classic roguelike. I thank the guys at RogueBasin for making a python-libtcod tutorial for beginners such as myself. I tried to give it some of my charm, tweaked it a bit, then went in and tweaked a lot :D

Anyway, it is just a beginning, but here is Tombs of the Forgotten:
https://gitlab.com/whellerof4te/totf

EDIT: The project has been moved to GitLab.

Re: ToTF, a roguelike written in Python

PostPosted: 2019-08-03 21:31
by Head_on_a_Stick
Looks interesting, thanks for sharing.

I notice the licence is GPL but you have included the Arial font, which is incompatible with that licence: https://www.fonts.com/font/monotype/arial/licenses

Perhaps use Liberation Sans instead? It is metrically identical.

Re: ToTF, a roguelike written in Python

PostPosted: 2019-08-03 21:47
by Wheelerof4te
Thank you very much for feedback :)

I'll change the font image as soon as I can.

Re: ToTF, a roguelike written in Python

PostPosted: 2019-08-06 13:36
by Wheelerof4te
I added spells to the game in the latest release:
https://github.com/wheelerof4te/ToTF/re ... g/0.1.2rc2

Now, since the player has become much more powerful, it's time to buff some monsters with their own spells :D

Re: ToTF, a roguelike written in Python

PostPosted: 2019-08-06 16:02
by n_hologram
Nice way to jump into programing \m/

I'm curious: what drove the choice for global functions and variables throughout the script?

I'll test it when I get internet again.

Re: ToTF, a roguelike written in Python

PostPosted: 2019-08-06 16:35
by Wheelerof4te
^ Yes, python is a great starter language :)

n_hologram wrote:I'm curious: what drove the choice for global functions and variables throughout the script?

Probably the tutorial's style, as it's written with globals in mind. I am moving away from them as I extend the code, local functions are much more readable.
Examples are the new use_bow() and cast_firebite() functions, where I declared the variables only for that function instead of making a constant.
n_hologram wrote:I'll test it when I get internet again.

Thanks!

Re: ToTF, a roguelike written in Python

PostPosted: 2019-08-11 15:28
by Wheelerof4te
I moved the project to GitLab, and released an official 0.1 version:
https://gitlab.com/whellerof4te/totf/-/releases

Re: ToTF, a roguelike written in Python

PostPosted: 2019-08-16 20:33
by Wheelerof4te
New version is available:
https://gitlab.com/whellerof4te/totf/-/releases
New features in this version:

- This version adds graphical tiles to the game. Finally, no more ASCII characters.
- New enemy mage.
- New spell, Lightning Storm.
- Some monsters have more spells and abilities.
- Better victory message.
- Other misc stuff.

Re: ToTF, a roguelike written in Python

PostPosted: 2019-08-21 17:30
by Wheelerof4te
New version, 0.3 is available for download! This is a special release, because from now on the Linux binaries are included :)
The release page is here:
https://gitlab.com/whellerof4te/totf/-/releases

This is mostly a minor release, but also the first release with a ready-to-use Linux binary.

- Added some new content, mostly for the mage gameplay
- Fixed a bug where Forgotten will stop attacking the player once it used it's spell
- Merchant Lau has more items to sell

Link to the binary: https://drive.google.com/open?id=12WaX7 ... 0Krt_GmCwm

Re: ToTF, a roguelike written in Python

PostPosted: 2019-08-24 18:31
by Wheelerof4te
A new, final version is available. Future releases will be only maintenance fixes.
https://gitlab.com/whellerof4te/totf/-/releases
This is a final release version of ToTF. Future releases will be minor bug and maintenance fixes.
Features:

- A new miniboss at dungeon level 9.
- New items, including boss items
- Forgotten is now a final boss instead of a mere monster
- Misc fixes to items
Lint to the binary: https://drive.google.com/open?id=1mMUxB ... JbiKC4tGM9