Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Python 3.5 Roguelike tutorial?  (Read 3195 times)

KillerHP

  • Bay Watcher
  • im french :D
    • View Profile
Python 3.5 Roguelike tutorial?
« on: March 19, 2016, 02:19:00 pm »

Hello,

Is there a tutorial for python 3.5 for making roguelikes?
Thanks.
Logged
A random person which does stuff and likes roguelikes and SS13...

HavingPhun

  • Bay Watcher
    • View Profile
Re: Python 3.5 Roguelike tutorial?
« Reply #1 on: March 19, 2016, 02:29:10 pm »

I have only ever programmed with C++, and a bit of Java, so I can't comment on the different versions of Python. I found this one with a quick Google search, though it is done in Python 2.7 I don't see how it would be much different than 3.5, perhaps aside from some functions with different names. Complete Roguelike Tutorial, using python
Logged

KillerHP

  • Bay Watcher
  • im french :D
    • View Profile
Re: Python 3.5 Roguelike tutorial?
« Reply #2 on: March 20, 2016, 03:12:24 am »

The problem is , libtcod doesn't seems to work with python 3.And i dont know what changes so i don't really know which commands to remplace
:(
« Last Edit: March 20, 2016, 03:17:26 am by KillerHP »
Logged
A random person which does stuff and likes roguelikes and SS13...

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Python 3.5 Roguelike tutorial?
« Reply #3 on: March 20, 2016, 03:27:19 am »

The problem is , libtcod doesn't seems to work with python 3.
It definitely should work. What errors are you getting?
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

KillerHP

  • Bay Watcher
  • im french :D
    • View Profile
Re: Python 3.5 Roguelike tutorial?
« Reply #4 on: March 20, 2016, 08:09:16 am »

It should.But if you read , they say libtcod isn't compatible with python 3 or somting
Logged
A random person which does stuff and likes roguelikes and SS13...

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Python 3.5 Roguelike tutorial?
« Reply #5 on: March 20, 2016, 08:32:38 am »

The tutorial HavingPhun linked is outdated, apparently. Libtcod works fine with Python 3.
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

KillerHP

  • Bay Watcher
  • im french :D
    • View Profile
Re: Python 3.5 Roguelike tutorial?
« Reply #6 on: March 20, 2016, 08:45:09 am »

Yep it is , so thats why i asked for a python 3.5 one , but apparently , nothing around there ;(
Logged
A random person which does stuff and likes roguelikes and SS13...

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Python 3.5 Roguelike tutorial?
« Reply #7 on: March 20, 2016, 08:48:35 am »

If I were you, I'd follow along with the Python 2 tutorial, but writing code in Python 3. You can ask in the programming thread if you run into trouble.
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

KillerHP

  • Bay Watcher
  • im french :D
    • View Profile
Re: Python 3.5 Roguelike tutorial?
« Reply #8 on: March 20, 2016, 11:19:27 am »

Okay' , thanks , im going for it.
EDIT:Nope , isn't working.
« Last Edit: March 20, 2016, 11:33:35 am by KillerHP »
Logged
A random person which does stuff and likes roguelikes and SS13...

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Python 3.5 Roguelike tutorial?
« Reply #9 on: March 20, 2016, 04:10:45 pm »

Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

KillerHP

  • Bay Watcher
  • im french :D
    • View Profile
Re: Python 3.5 Roguelike tutorial?
« Reply #10 on: March 21, 2016, 11:07:49 am »

I tried to copy paste , translate the little things , but it get me an error with the libtcod.
I guess i will learn further and make a python only roguelike.
Logged
A random person which does stuff and likes roguelikes and SS13...