News: Read the
RULES
before posting.
1 Hour
1 Day
1 Week
1 Month
Forever
November 22, 2024, 07:34:38 PM
Temple of The Roguelike Forums
»
Development
»
Programming
»
Complete beginner/idiot question (libtcod)
Home
Help
Search
Login
Register
« previous
next »
Print
Pages: [
1
]
Author
Topic: Complete beginner/idiot question (libtcod) (Read 7109 times)
SriBri
Newcomer
Posts: 1
Karma: +0/-0
Complete beginner/idiot question (libtcod)
«
on:
November 07, 2012, 06:41:06 AM »
I've taken a couple university classes in Python, and now want to try messing around with roguelike development. I'm trying to get libtcod working, but after several attempts and zero progress I'm getting frustrated at my inability to get through the door.
I assume I'm using libtcod, or Python wrong...
My problem is this: I can't get anything to launch. Even code copied directly from tutorials such as here:
http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_1_code#Showing_the_.40_on_screen
Doesn't run. It doesn't return any errors, but it generates no console window, when all the beginner tutorials say it should. I'm completely stumped before I even started. :/
Logged
mendonca
Newcomer
Posts: 11
Karma: +0/-0
Re: Complete beginner/idiot question (libtcod)
«
Reply #1 on:
November 07, 2012, 08:19:19 AM »
As a thought, have you installed Python (I'm using 32-bit 2.7, I think)? Also have you added all the relevant DLLs etc. to your game directory, from where you are running the script?
Checking through the stuff I am working on, you should have the following in the same directory as the script you are trying to run (assuming windows):
libtcod-mingw.dll
libtcodpy.pyc
libtcodpy.py
SDL.dll
font_file.png (arial10x10.png if you are flat out copying the tutorial)
And then your own python script (or scripts) e.g. My_Roguelike.py
Logged
http://hundredheroes.blogspot.co.uk/
guest509
Guest
Re: Complete beginner/idiot question (libtcod)
«
Reply #2 on:
November 07, 2012, 08:21:09 AM »
I'm not sure what the issue is, are you able to get your school work projects to run?
There are some great coders on here that will get you fixed up quick. Unfortunately that's not me. :-(
Check back frequently as they'll be asking questions, I'm not sure you've provided enough info for a quick fix.
Good luck and WELCOME!
Logged
george
Rogueliker
Posts: 201
Karma: +1/-1
Re: Complete beginner/idiot question (libtcod)
«
Reply #3 on:
November 07, 2012, 04:23:06 PM »
Yeah, we need more information, especially about how exactly you're running the program. What editor/IDE are you using, what version of libtcod do you have, what version of Python, and what steps do you take to run the program.
Logged
Quendus
Rogueliker
Posts: 447
Karma: +0/-0
$@ \in \{1,W\} \times \{1,H\}$
Re: Complete beginner/idiot question (libtcod)
«
Reply #4 on:
November 07, 2012, 10:54:51 PM »
Do you have terminal.png in the same folder as your python script?
Logged
KleinRL:14DRL Mutant Aliens!:7DRL Mutant Aristocrats!:24HRL Encircled: 60HRL Arithmeclick:
Schaak!: 7DRTS Convolute: 0HG Poachers Will Be Decapitated!: 7DRL
Print
Pages: [
1
]
« previous
next »
Temple of The Roguelike Forums
»
Development
»
Programming
»
Complete beginner/idiot question (libtcod)