Another day another bug report: water. Also, changing the Near Clip Z to 1 or 0 still produces the same effect but a bit less.
The last picture under "Water pictures" is the Near Clip Z issue on 1 or 0 that happens occasionally, together with the water issue.
Water pictures? Is that another plugin?
Try using higher Near Z values, not lower ones. It basically controls how close stuff can get to the camera before disappearing. Using higher values means that the cutoff point is further away.
Oh no no no it's not another plugin. That's just what I called the spoiler. Looks like if the player touches animated tiles, it gets messed up like that.
Thanks for the Near Z tip. Didn't think about that yet -_-' (no sarcasm).
When using the doodads plugin with UM7 has anybody got the scale function (scale X and scale y in the tweak doodad menu) to work? Or does it work and I've set it up wrong? The doodads plugin seems to work fine when I turn UM7 off but when I reactivate the scaling of the doodads is removed. Its not too big a deal as I can just make my images exact sizes, but it's a bit more faffy. I'm using the doodads compatibility plugin posted by Waterguy on page 9 of this forum...
PS Blizzard thanks for releasing this, it's awesome.
You need to turn UM7 off, then place the doodads, then turn UM7 bakc on. It still sucks tho, wouldn't use it if I were you
Thanks Arend. That's what have been doing so far, placing doodads with UM7 off, just bit faffy and takes a bit more planning if all the image sizes need to be exact rather than being able to cheat a bit with the scale option. It was the grid free aspect that appealed to me with the doodads more than anything, and mainly so I can stack doodads behind eachother as a sort of fake depth to buildings.
Am I right in thinking in your vids the pop up images are all events then rather than doodads? (I'm guessing it has to be to enable the rotation mechanic you described earlier, curious to see how that looks by the way, sounds very interesting).
You're better off avoiding doodads all together. Especially if you're changing the Pitch. The scale and hitboxes get all messed up. I'm not sure anymore if doodads turn too if the YAW is changed, it's been a while ago since I tested it and threw the idea in the trashcan. I made 4-side turning a working thing with 2 buttons (supposed to be L&R on a controller) only to see that a complete "3D" space is a poopload of work and would quite litterally quadruple development time. Besides that the hitboxes and movement itself weren't right anymore (I'm using Altimit Movement).
Yes I am using events: First I make a complete 2D map, then copy every item one by one (including doors & walls) over to another map, take a mapshot of every item seperate and "print" them as character. Then change the file names according to the mapname and put them into the character images map. Then I make events of each character with custom hitboxes (from Altimit Movement): if it needs to be placed in bulk or mass I put them on a preloader map that activates when the player goes to another map. If a map needs bulk placement I mark every needed tile with a Region number which in return tells Galv's plugin where to put the events. BUT it only does it one at a time so I made it loop 200 times before fading into the map.
Besides that you need to put often used animations and SE into a common event that plays every time a file is loaded (also a plugin) so it won't lag on the first time, even when a PreLoader is used.
My game runs between 50 and 64 fps (60 average) and loadtimes between maps are max. 2,5 seconds. Map can hold max. ~250 events (I think) before lagging and decreasing performance. And don't make maps too big. 50x50 max. But I'm not completely sure about that one.
I still haven't implemented proper support for doodads. ._.;
One of the plugin parameters let's you check or type if you want to adjust controls according to the YAW. Won't work for diagonal movement without extra coding.
I thaught I managed to do the same as in that mode 7 plugin that wasn't finished. I'll look tommorow, today is a day off
You will likely need a separate pixel movement script for that that allows movement in 360". You can then just apply the yaw angle to the movement vector. It's similar to how one would recreate the FF6 airship controls.
Okay, well the 360° movement script is Altimit Movement, but I don't have a clue on how to apply the yaw angle to the movement vector. I can't really write code yet. (What even is a vector? I've heard of vector graphics but don't know yet what it is.)
Also, the Near Z Clop I asked about last week: making the number bigger than 10 makes events go away earlier instead of later. So the cut off distance as seen from the player character gets bigger. Using 0 is still better, but it's also bad since events still jump in front of the camera. Is it perhaps another hidden parameter I need to adjust, instead of the Near Z Clip?
Also sometimes there are some black lines visible... I think you call them artifacts, but I'm not so sure. I'm using the latest version btw
You can just use Math.cos($gameMap.ultraMode7Yaw) for the X coordinate and Math.sin($gameMap.ultraMode7Yaw) for the Y coordinate (or some other combinations of these values with + or - sign, because it's technically already rotated in space at 0°). That's your movement vector. Then just multiply those 2 values with a constant like 48/60 to apply movement speed (48/60 would be 48 pixels in 60 frames aka 1 tile per second).
No, Near Z is the parameter to go. You can change the Far Z as well to keep some consistency, but you need to adjust those manually if you use a low pitch. This is simply a nuisance of 3D cameras, you basically have to hand-pick whatever works for your game.
Black lines could happen for a number of reasons. When you see them the next time, take a screenshot. I might be able to figure out why they happen from the screenshot itself. Other than that, the best way to tackle this if you can find a way to consistently reproduce it so I can look into it and whether it's something that I can fix in the plugin or the scope is outside of the actual plugin.