Pages: [1]
  Print  
Author Topic: oRoom building  (Read 632 times)
Zambaku
Shoot
*
Posts: 11


View Profile
« on: March 02, 2011, 12:25:39 PM »

I've read the thread on how to make oRooms, and I feel like making a room, however I would like a tutorial on the matter. An example to follow that explains what letters and numbers generate what, how to place them, etc. =)
Logged
halibabica
Bossy
Mossy
*
Posts: 1921


*whipcrack*


View Profile WWW Email
« Reply #1 on: March 02, 2011, 01:12:04 PM »

I haven't mucked around with the rooms Spelunky generates, but here's the gist of it.

In the various room gen scripts, you'll see they start out with big long strings of numbers and letters, many of which are 0's.  These strings are the stretched out versions of the rooms Spelunky creates.  I think there's an example of what they look like un-stretched at the top of the script, actually.

Anyway, all those numbers and letters tell the game what to put where.  The lower part of each level gen script shows what the game creates for each letter and number.  Any symbol can be used to generate any object; it just has to be designated as such.
Logged

Sometimes I wonder if I like Spelunky too much.
ManTrap mod - Tastes Like Spelunky
Hand-drawn comic - Spelunkying
Zambaku
Shoot
*
Posts: 11


View Profile
« Reply #2 on: March 02, 2011, 01:44:55 PM »

Ah, that was easy! =D


Thanks alot for the help =D
« Last Edit: March 03, 2011, 04:48:03 AM by Zambaku » Logged
Pages: [1]
  Print  
 
Jump to: