I was looking up a few things about Yanfly's doodad script. It looks really interesting but I had a few questions about it.
1. Are the doodads handled like events that the player can interact with or are they just part of the scenery? For example, an npc in a village that you can speak with can't be a doodad.
2. Can doodads be used as level geometry in place of parallax mapping for things like ground and hills or stairs. For example, could a set of stairs that the player can climb to get to the second floor of a house be a doodad?
3. Finally, is there a way to make a doodad change into another doodad based on a variable or switch value? I know you can make one appear or disappear based on that, but I don't know if they can change based on that.
1. Nope, they actually aren't visible in the map editor, only in game. So while you can make that spot an event, you can't manipulate the doodad itself with event commands. So they're just scenery, more or less.
2. I'm not too familiar with parallax mapping so I don't know the exact answer for this. But you can place doodads on any map, and tell the doodad where it should be in relation to the player and other doodads using a layer system (above, below, etc). So you could do a staircase, sure. But it would be (almost) the same way as placing a staircase using map editor, except with no built in collision.
3. I don't think you can do this. However, you could have one doodad under another, and have them activated with a switch. So basically one will disappear and another appear based on how you setup switches, so it looks like they change.
No, you can't interact with doodads.
Yes, you can use them as level geometry, if you use the right doodads and back them with right eventing.
You can change a doodad based on a variable or switch value. However, you need to use javascript, because you will be hardcoding it.
To change a doodad, you need these three lines of code (two if the doodad pictures are in the same folder)
$dataDoodads[mapID][doodadID].folder = "whatever/folder"
$dataDoodads[mapID][doodadID].bitmap = "whateverBitmap", no need to type png.
DoodadManager.refresh ()
And voilá, the doodad is changed.
I did not know either, but took like 5 mins to find 😀
Also one last question, what is a good, easy to use script for natural looking, rounded and curved tiles? I keep hearing parallax is system intensive for mobile.
There isn't a script for this.
You can try to make or find a different tileset with more rounded tiles - there are a few like that.
Or you can use a parallax picture for more freedom, but that uses more resources.
To answer your previous question, yup, "whatever/folder" is the folder the doodads are in. Just be aware that it starts from your home folder (by default doodads), so if you have it in the folder "doodads" and not any subfolder, the folder string will be empty.