Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ebenezer

Pages: [1]
1
Programming / Re: beyond python and curses
« on: February 26, 2016, 05:49:17 PM »
@elwin
Thanks for the suggestions.
To handle events, I plan to use event.get() blocking everything but QUIT and KEYDOWN events. I really like that events have an unicode value, which allows to easily handle 'a' as well as 'A' (shift+a).
I will use ASCII - I like the old school feeling of ASCII roguelikes - and making decent sprites would take me so much time it's not even worth trying.

2
Programming / Re: beyond python and curses
« on: February 24, 2016, 04:16:55 PM »
Ok, after a bit of reading and tampering, I decided to switch to python + pygame on a newer windows laptop.
I have started reading a bit of pygame documentation, but could anyone give me a few suggestions about the functions/modules that are most useful for roguelikes? I guess the text renderer, for instance.

(Why pygame and not libtcod? Well, I am also trying to teach some coding to my daughter (now 7yo). We are having a lot of fun with scratch at the moment, but maybe next year I can introduce her to something "serious" and python+pygame seems a good combo. This is just to say that I have nothing against libtcod in particular)

@tuturto: I said I am not ashamed of the game, but it does not mean I feel ready to share it with a community of seasoned developers :)
I always wanted to make a roguelike, and I always wanted to make a farming game. When I was looking for a "magic" (in the widest possible sense) system to include in the roguelike game, I chose to turn roots, nuts, and berries in the rough equivalent of bolts, potions and force fields. Every now and then you have to go back to your vegetable patch by the dungeon entrance to restock. [and if anyone thinks this is a fun idea, feel free to steal it if you can make a fun game out of it]

3
Programming / Re: beyond python and curses
« on: February 23, 2016, 09:19:32 PM »
Thanks to everyone, I'll look both into libtcod and pygame. If I understand well, with both I can in principle switch easily from mac to windows, if necessary.

And no, farmer is not a surname. You actually grow stuff and then kill demons by throwing beetroots at them.

4
Programming / beyond python and curses
« on: February 22, 2016, 09:55:13 PM »
Hi everyone, I was wondering if you could give me some advice.
I learned a bit of python for work (I'm a scientist and I needed to manipulate big DNA sequence files). This happened >4 years ago, and with that little programming knowledge I started and soon abandoned 4-5 projects for roguelike games. But finally, in the past 3 months, I managed to put together a small game I'm not ashamed of (apart from the title - "Merry Farmer, Demon Slayer").
I have always used python3 + curses library. Now I would like to find an alternative because:
- I would like a slightly better interface (a few more colors, basic sprites)
- python+curses works only in mac, and:
         - portability is very limited
         - my old laptop is dying on me
Is there a python library equivalent to (or better than) curses I could use, that works in windows or is cross-platform?
A friend suggested unity, but I don't have time to learn a new scripting language, and it seems overkill for what I have in mind.
Any suggestion is more than welcome.
Cheers!

Pages: [1]