Post new topic    
write-a-map 
 PostSat Nov 19, 2011 2:52 pm
Send private message Reply with quote
I feel like I've asked this before, but I can't find it if I did.

I've had an idea for a game that requires random maps. Unfortunately, I can't figure out a script that'll write multiple blocks across the map. Like Layer 0 will be grass, water and shoreline, but I need to write a map that draws the shoreline completely accurately and randomly every time.

I realize this is a slimeton of work, and I don't know if I'll ever make the game, but I want to try.
Super Slime
Send private message
 
 PostSat Nov 19, 2011 6:17 pm
Send private message Reply with quote
You didn't actually ask a question here. Which part do you need help with?

Please don't say "the entire thing."
Mega Tact v1.1
Super Penguin Chef
Wizard Blocks
Slime Knight
Send private message
 
 PostSat Nov 19, 2011 7:45 pm
Send private message Reply with quote
I think he's asking around to see if there's a way to possibly make a script to generate a random dungeon map.
Liquid Metal King Slime
Send private message
 
 PostSun Nov 20, 2011 6:06 pm
Send private message Reply with quote
There is a way. You can script just about anything these days.

For an example see my game, Tim-Tim's Tower.
Or James Paige's Baconthulu game.
 
 PostSun Nov 20, 2011 8:03 pm
Send private message Reply with quote
I'll take a look at the scripts and try to figure something out. Basically, I can get one tile to write across the entire map; I'm just trying to figure out how to use a variety of tiles.
Slime Knight
Send private message
 
 PostTue Nov 22, 2011 7:50 pm
Send private message Reply with quote
Here's an ancient tutorial on what I think you're asking for on The Moglery that generates a world. You'd have to edit it to make it handle placement of the shoreline however.

Hope this one'll help ya.
 
 PostTue Nov 22, 2011 8:37 pm
Send private message Reply with quote
Perhaps I'll take a weekend to analyze that and post an updated script when I understand it. Thanks!
Display posts from previous: