Author Topic: newbie asking for help  (Read 22197 times)

jofadda

  • Newcomer
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: newbie asking for help
« Reply #15 on: October 03, 2011, 08:32:51 AM »
is there a better tutorial

Yeah, it's called "learn programming". That's the tutorial you want to do first.

  Agreed. Even if you are using a drag and drop program like Gamemaker or RPG Maker you'll want to learn the scripting languages. You'll not need to get advanced. Basic stuff cannot be avoided though.
  When I was learning I really liked the 'Learn to Use XYZ in 21 Days' line of books. Quick and dirty.
ok well im reading python for dummies and im also using the python site to better understand on peices of the code i dont understand within the tutorial. i also "fixed" that error, i used a copy of the program i had made prior to starting that part of the tutorial and i went from there
« Last Edit: October 03, 2011, 08:37:15 AM by jofadda »

UltimaRatioRegum

  • Rogueliker
  • ***
  • Posts: 318
  • Karma: +0/-0
  • Username says it all, really.
    • View Profile
    • Ultima Ratio Regum
    • Email
Re: newbie asking for help
« Reply #16 on: October 03, 2011, 10:04:28 PM »
The Python tutorial you linked to got me, in about two weeks, from having never touched a programming language to understanding enough to lay the basis for my own roguelike, which is coming along in leaps and bounds. I cannot possibly recommend that tutorial enough! It gives you all of the basics, and everything else you should be able to extrapolate from what's there. You might not produce new parts in a particularly programming-efficient way at first (I certainly didn't!) but that tutorial is a great start.

guest509

  • Guest
Re: newbie asking for help
« Reply #17 on: October 04, 2011, 01:09:13 AM »
is there a better tutorial

Yeah, it's called "learn programming". That's the tutorial you want to do first.

  Agreed. Even if you are using a drag and drop program like Gamemaker or RPG Maker you'll want to learn the scripting languages. You'll not need to get advanced. Basic stuff cannot be avoided though.
  When I was learning I really liked the 'Learn to Use XYZ in 21 Days' line of books. Quick and dirty.
ok well im reading python for dummies and im also using the python site to better understand on peices of the code i dont understand within the tutorial. i also "fixed" that error, i used a copy of the program i had made prior to starting that part of the tutorial and i went from there

   Sweet man! Welcome aboard. Game making can be a lifelong and rewarding hobby. I don't know how old you are, but us old fogies have been doing it for years (decades) and we still love it!

jofadda

  • Newcomer
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: newbie asking for help
« Reply #18 on: October 04, 2011, 04:23:36 AM »
well im about to start dungeon generation, but i want two "levels" with the same dungeon once ive worked though the tutorial(im hoping to do two "planes" one physical, the other spectral, think kinda like soul reaver on ps1/pc)
could anyone post the "logic code" on how to do that, by that i dont mean pythons code but the logic steps in said processes, e.g for movement the "logic code" would be: display "@" on screen, when movement key is pressed create second instance left, right, above or below first instance, delete first instance
« Last Edit: October 04, 2011, 04:25:26 AM by jofadda »

guest509

  • Guest
Re: newbie asking for help
« Reply #19 on: October 05, 2011, 09:37:17 AM »
  Like the same level but like mirrored or something? Light world and dark world like in SNES Zelda? Well the process would be to make a second level identical to the first, but switch up the color of the tiles to something 'dark' and then switch up the  enemies to something 'dark'. If you want it mirrored then you could flip the level on the vertical line.

jofadda

  • Newcomer
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: newbie asking for help
« Reply #20 on: October 05, 2011, 10:43:29 PM »
  Like the same level but like mirrored or something? Light world and dark world like in SNES Zelda? Well the process would be to make a second level identical to the first, but switch up the color of the tiles to something 'dark' and then switch up the  enemies to something 'dark'. If you want it mirrored then you could flip the level on the vertical line.

so the logic behind that is, create dungeon, save dungeon, copy dungeon, use copy of dungeon to generate spectral dungeon?

guest509

  • Guest
Re: newbie asking for help
« Reply #21 on: October 06, 2011, 11:06:59 AM »
  If I am understanding what you want to do, yes.
  But really this gets into the specifics of game design. You can do lots of stuff with alternate worlds. I think there was a 7DRL on the topic this last go around. IT was called The Man in The Mirror. I think it won! I think the download link is down...

UltimaRatioRegum

  • Rogueliker
  • ***
  • Posts: 318
  • Karma: +0/-0
  • Username says it all, really.
    • View Profile
    • Ultima Ratio Regum
    • Email
Re: newbie asking for help
« Reply #22 on: October 06, 2011, 12:27:11 PM »
Well, I suppose you'd just have different objects or terrain types show up as different things in different worlds. In the normal world, grass is green; in the other, it is dead and grey. In the normal, you might have water, but in the other, it turns into lava, or sludge, or something of that sort. I think you could very easily just tell the game to recognise the same tiles in different ways depending on which world you're in (and you certainly good, from the Python libtcod tutorial!)

jofadda

  • Newcomer
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: newbie asking for help
« Reply #23 on: October 18, 2011, 10:37:09 AM »
Im finding that i dont really understand the tutorials enough to code my roguelike, tbh the only part of the code i truely understand is the player movement which in "non-code" termanology is left arrow button creates copy of "@" one tile left of itself whilest at the same time deleting itself, right arrow does the same on rightside, up does the same above, down does the same below, anyway im going to put my rl coding on hold just until i learn enough coding to create one
but if anyone could post any coding the coding tutorials they started with up to the ones that helped them make a roguelike, that would be a major help, thanks in advance
im also open to a change in programming language as i havent dipped too far into python to feel like it must be the language that i use, and if anyone can spare time i would be very grateful for a programming tutor(unpaid though)
« Last Edit: October 18, 2011, 11:46:38 PM by jofadda »

Pueo

  • Rogueliker
  • ***
  • Posts: 263
  • Karma: +0/-0
    • View Profile
    • Email
Re: newbie asking for help
« Reply #24 on: November 30, 2011, 08:01:58 PM »
i want to create a roguelike as i have a few ideas for one(and a complete theoreticall "near freeform" spell system for said roguelike), i decided on using python and libtcod and as i have no programming skills, i am using this tutorial
http://roguebasin.roguelikedevelopment.org/index.php/Complete_Roguelike_Tutorial,_using_python%2Blibtcod but this tutorial doesnt seem explanitory enough, and it just makes me feel like im copying and pasting code, is there a better tutorial, or could someone explain some of the lines of code, and what they do in more detail,
im just in the first part, just finished character movement, but an explaination from start would be better, thanks in advance for either a better tutorial, or a better explination of this one

I don't know, I've read over that, and it seems pretty explanatory to me.  What specifically do you want explained?
{O.o}
 |)__)
   ” ”   o RLY?

Pueo

  • Rogueliker
  • ***
  • Posts: 263
  • Karma: +0/-0
    • View Profile
    • Email
Re: newbie asking for help
« Reply #25 on: December 06, 2011, 08:05:19 PM »
well im about to start dungeon generation, but i want two "levels" with the same dungeon once ive worked though the tutorial(im hoping to do two "planes" one physical, the other spectral, think kinda like soul reaver on ps1/pc)
could anyone post the "logic code" on how to do that, by that i dont mean pythons code but the logic steps in said processes, e.g for movement the "logic code" would be: display "@" on screen, when movement key is pressed create second instance left, right, above or below first instance, delete first instance

I think what you mean by 'logic' is known as pseudo-code.  Try to use that for clarity's sake. 

For the 'mirror world' type of thing, think of something like this:

Make dungeon; //Make the dungeon
RealWorld = true; //If the value is true, you're in the real world, if its false, you're in the spirit world
if steponspiritportal, RealWorld = false; //If you step on the portal, it changes the RealWorld value to false, thus putting you in the SpiritWorld
if RealWorld = false, run SpiritWorldShift; //When you change to the SpiritWorld run a function that changes the world (grass dies, water turns to lava, etc)

Then compose a changing back to regular world function

RealWorld = false; //You are now in the spirit world
if steponrealportal, RealWorld = true; //If you step on a portal in the spirit world, you shift to the real world
if RealWorld = true, run RealWorldShift; //When you shift from spirit to real world, turn dead grass back to living, lava back to water, etc

Now, being pseudo-code, it's obviously not going to look exactly like that, but that could be a general outline.


{O.o}
 |)__)
   ” ”   o RLY?