Development > Incubator
practicerl - A Practice Roguelike for me practice with!
doulos05:
--- Quote from: AgingMinotaur on June 05, 2016, 06:20:15 PM ---Is it possible you tried to install Pygame for Python 2.7 on top of a Python 3 installation? There is a separate archive for compatability with Python 3. Also, if you're on Linux, shouldn't you be able to do something like "apt-get install python-pygame"?
On a lighter note, if you haven't already stumbled upon it, I always found this little article to be inspirational (but not to be taken literally, of course).
As always,
Minotauros
--- End quote ---
I have both pythons installed because most of my code is written for Python2.7 and I don't plan to update it to 3.x because I rarely, if ever, run it. Despite my best efforts, I could not get it to work. Since I'm more interested in working on a Roguelike than chasing down compatibility issues, I will keep working with my current rig until I get to something too complex for me to figure out without a library.
corremn:
--- Quote from: Krice on June 05, 2016, 12:50:13 PM ---
--- Quote from: doulos05 on June 05, 2016, 12:20:25 PM ---which cost me a grand total of 4.5 hours of coding time spent staring at various g++ compiler errors
--- End quote ---
Why did you stare at compiler errors for 4.5 hours?
--- End quote ---
Was this actually Krices first ever attempt at humour? If so it *almost* was funny. But it probably wasn't meant to be humorous, so I guess all is right with the world once again.
doulos05:
--- Quote from: corremn on June 17, 2016, 11:06:17 AM ---
--- Quote from: Krice on June 05, 2016, 12:50:13 PM ---Was this actually Krices first ever attempt at humour? If so it *almost* was funny. But it probably wasn't meant to be humorous, so I guess all is right with the world once again.
--- End quote ---
I took it as questioning my sanity. As in, "Why the hell would you do that to yourself? Go do something more fun and ignore the roguelike for a while!
On an unrelated note, a Python question about dictionaries and functions for those who know. I want to keep my key bindings in a Python dictionary. I also don't want to have 8 different movement functions (one for each direction). How can I store both the function and it's options in a dictionary? I tried nesting dictionaries but it's just not working for me. I'll start a new post with coffee snippets as soon as I recover from this crazy work day.
--- End quote ---
IBOL:
i clicked on this post because the title made me laugh out loud.
thank you, and good luck!
Navigation
[0] Message Index
[*] Previous page
Go to full version