Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
ToTF, a roguelike written in Python
-
- Posts: 1454
- Joined: 2015-08-30 20:14
ToTF, a roguelike written in Python
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
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.
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
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.
Last edited by Wheelerof4te on 2019-08-11 15:24, edited 1 time in total.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: ToTF, a roguelike written in Python
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.
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.
deadbang
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: ToTF, a roguelike written in Python
Thank you very much for feedback
I'll change the font image as soon as I can.
I'll change the font image as soon as I can.
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: ToTF, a roguelike written in Python
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
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
-
- Posts: 459
- Joined: 2013-06-16 00:10
Re: ToTF, a roguelike written in Python
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.
I'm curious: what drove the choice for global functions and variables throughout the script?
I'll test it when I get internet again.
the crunkbong project: scripts, operating system, the list goes on...bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: ToTF, a roguelike written in Python
^ Yes, python is a great starter language
Examples are the new use_bow() and cast_firebite() functions, where I declared the variables only for that function instead of making a constant.
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.n_hologram wrote:I'm curious: what drove the choice for global functions and variables throughout the script?
Examples are the new use_bow() and cast_firebite() functions, where I declared the variables only for that function instead of making a constant.
Thanks!n_hologram wrote: I'll test it when I get internet again.
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: ToTF, a roguelike written in Python
I moved the project to GitLab, and released an official 0.1 version:
https://gitlab.com/whellerof4te/totf/-/releases
https://gitlab.com/whellerof4te/totf/-/releases
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: ToTF, a roguelike written in Python
New version is available:
https://gitlab.com/whellerof4te/totf/-/releases
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.
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: ToTF, a roguelike written in Python
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
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
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: ToTF, a roguelike written in Python
A new, final version is available. Future releases will be only maintenance fixes.
https://gitlab.com/whellerof4te/totf/-/releases
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