Author Topic: newbie asking for tutorials  (Read 9967 times)

jofadda

  • Newcomer
  • Posts: 38
  • Karma: +0/-0
    • View Profile
newbie asking for tutorials
« on: September 29, 2011, 06:18:33 AM »
i am wanting tutorials for a coding language that is easy to learn, that will build up my coding skills from nothing to able to make a roguelike, im not asking for a dummies guide for roguelike coding before some of you state such a thing doesnt exist, im wanting an easy to learn coding language and tutorials to build me up to making a roguelike, that said, ive heard from some people who do coding that python isnt too hard to learn/understand, but im looking for the easiest language to learn whilst still being able to make a roguelike later on(ive got a few base ideas for my rl atm but not much)

jofadda

  • Newcomer
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: newbie asking for tutorials
« Reply #1 on: September 29, 2011, 06:56:36 AM »
scratch what i said in my above post about needing a easy coding language, im going to do it in python and libtcod, as i found a tutorial on the matter
http://roguebasin.roguelikedevelopment.org/index.php/Complete_Roguelike_Tutorial,_using_python%2Blibtcod
just some quick questions though
do i just use a blank .txt document for typing all the code up, like in a web page design, or making a basic mod for some games?
and if i do what do i change the extention to after?
if not what do i use?
« Last Edit: September 29, 2011, 08:17:41 AM by jofadda »

AgingMinotaur

  • Rogueliker
  • ***
  • Posts: 805
  • Karma: +2/-0
  • Original Discriminating Buffalo Man
    • View Profile
    • Land of Strangers
Re: newbie asking for tutorials
« Reply #2 on: September 29, 2011, 06:23:12 PM »
do i just use a blank .txt document for typing all the code up, like in a web page design, or making a basic mod for some games?
and if i do what do i change the extention to after?
if not what do i use?
Yeah, just edit as a plain text file, and give the extention *.py. Afterwards, you can execute from a shell/console with "python my_script.py".

FWIW, I started out more or less as you seem to, knowing next to nothing and choosing python. After getting started with some online tutorials, I enjoyed the book "Learning Python" by Mark Lutz and David Ascher. I'm also a fan of "Python Pocket Reference" by the same M. Lutz.

And remember, the official documentation (www.python.org/doc/) is not to be missed! It basically contains all you will ever need to know.

After a few years of lazy development. I have a decent enough engine for a coffee break RL. But at some point, it became neccessary to refactor (rewrite code) to make up for some early mistakes, and the project is currently at a standstill. So take my advice with a grain of salt ;)

As always,
Minotauros
This matir, as laborintus, Dedalus hous, hath many halkes and hurnes ... wyndynges and wrynkelynges.

Darren Grey

  • Rogueliker
  • ***
  • Posts: 2027
  • Karma: +0/-0
  • It is pitch black. You are likely to eat someone.
    • View Profile
    • Games of Grey
Re: newbie asking for tutorials
« Reply #3 on: September 29, 2011, 06:30:27 PM »
Be sure to copy what other python libtcod games have done.  Also for actual file editing I recommend Notepad++.

jofadda

  • Newcomer
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: newbie asking for tutorials
« Reply #4 on: September 29, 2011, 10:17:46 PM »
for editing, im just going to use notepad, but could someone please explain some of the lines of code in this tutorial
http://roguebasin.roguelikedevelopment.org/index.php/Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_1
the tutorial explains very little, and it just feels like im copying code without doing anything, also i understand the first peice of code the tutorial says is needed
SCREEN_WIDTH = 80
SCREEN_HEIGHT = 50
LIMIT_FPS = 20
thanks in advance
« Last Edit: September 29, 2011, 10:25:42 PM by jofadda »

saulius99

  • Newcomer
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • garso aparatura namams
    • Email
Re: newbie asking for tutorials
« Reply #5 on: October 06, 2011, 07:37:03 AM »
Thank you guys! It's really hard to start but i hope i would become better and better.

Nikolai

  • Newcomer
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: newbie asking for tutorials
« Reply #6 on: October 06, 2011, 03:08:46 PM »
could someone please explain some of the lines of code in this tutorial
http://roguebasin.roguelikedevelopment.org/index.php/Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_1

Could you be more specific about what you need here?  The tutorial goes into what each block of code does, and that (combined with a working knowledge of Python itself) explains a great deal.  Where are the holes in your understanding?