Re: RPG Overworld Engine
Posted: Sat May 18, 2019 3:56 pm
Hello! This script is great, and the examples in the source are pretty easy to follow with. The only thing I'm trying to find out, is how are buildings being specifically placed? I'm wanting to try and write around this script to handle multiple maps, and make different areas using custom tiles and such. I found the array of assets, where I added my skyscraper for example:
Script runs with no errors returned, but I have no clue how to actually draw in the image? I found this in overworld.rpy:
So, I might be staring at a snake I don't see, but I still don't have an idea of the actual placement of buildings here. Any ideas, or where the function is at? Thanks!
Code: Select all
["4", "cute_buildings/4", (258,320),None,False,"scinterior1"],Code: Select all
for tile in tileList:
if col == tile[0]: #make buildings
self.buildings.append(OverworldDisplayable.Scenery(x,y, tile[1] + ".png", tile[2][0], tile[2][1], 2, tile[4], tile[5], tile[6]))
self.sceneryList.append(self.buildings[bldngCount])
self.NPCObstacles.append(self.buildings[bldngCount])
self.zList.append(self.buildings[bldngCount])



