Cool! Awesome! Now... A feature that I think would be pretty cool, but I'm not sure how easy would it be, is to have the ability to get collision data from images.
For instance, have a regular Outdoors.png tileset, and an Outdoors_Collision.png tileset. The Outdoors_Collision would have Transparent as completely passable, and Black as completely impassable. Maybe Red would make it react like a counter. (not sure how would it go with directional passability, though... But that's kind of a minor loss.
That would be especially cool with parallax mapping, because it'd allow for some pretty rad PS1-ish prerendered backgrounds! Or more organic drawn backgrounds, too! 😀
Also, this last one would be a bit hard, but in case of Parallax mapping, we would have parallax.png, parallax_collision.png AND parallax_depth.png. What parallax_depth.png would be: A grayscale map of the depth of the map. The blacker, the farther the player'd be from the camera. The whiter, the closer. The sprite being zoomed in or out accordingly, as well as character movement speed. Together with the rest of the functions, this would allow for a perfectly functional pseudo-3D system, reminiscent of Star Ocean 2!
in the last 15 seconds of the video you can see depth being applied to full extent!
I... Know this is kinda hard. Just a suggestion. This would make the simply and absolutely coolest pixel movement script in the history of RPG Maker LOL xD
I have no idea of what it takes to do it though >_>
The image collision does seem nice, but as archeia stated that's already a script for that + performance issue. Also my boxes currently only support well boxes lol so if I were to tackle that I would convert the image into boxes that are loaded into my tileboxes, and that should only drop performance on map load. But having weird shape like a circle depending on the algorithm I'd use, it'd either turn into a square or a bunch of tiny squares, doing the tiny squares would make it take even more time to load.
Another way could be like.. Forgot the name but it was the side-scroller where it has an ingame editor where you "painted" the collisions and that was saved into a file.
But I created the region tiles so you could have some custom sized boxes for parallax maps, but that may be hard to place accurately if you weren't using a grid.
it would be nice to have a circular collision but I could see why that would be pretty hard ;;;;
Problem: Your script doesn't like it when people use paralax maps because it keeps flinging up errors at me saying its not finding tiles more or less.
any work around for this?
Circles shouldn't be too hard, I'm just not sure how to draw them with bitmap lol
@deathsia: What parallax script are you using? When I use my own it works fine.
Still need to know what parallax script you are using. I don't think hime's collision map should be the issue but it shouldn't work/run with my script because I use a different collision check method, so hime's method shouldn't even run. As for the parallax I use, its just a very simple parallax I made for my project, nothing fancy, all it does is "lock" the parallax by moving whenever the display moves so it looks like the parallax didn't move.
@deathsia:
First of all, the author of that script's name is Tsukihime.
Secondly, the script you are using is a collision map script, which helps to provide collisions to a parallax map, not a parallax script.
Thirdly, Tsukihime's script helps you to provide collision for your parallax map in a 32 x 32 grid. It was not meant to overcome the 32 x 32 grid limitation. She might have plans later, but for now, it is what it is.
Lastly, I have not found any errors related to Quasi's Movement script per se. If you are going to combine two scripts that affects collision, you are going to find some problems.
Next update won't be for a while since I have finals next week.
But things I'm planning on adding in the next update/fix:
- Initial px/py values for events. Noticed it was kind of weird having pixel movement but the sprites still started on a 32x32 grid
- Fixing vehicles hopefully
- Extra smart move options
And 2-3 addons:
- Region locking events. Events can't move out of region.
- Collision Map
- Line of Sight with shadow casting (My wordpress has an old version, but it's been rewritten for better performance + workes with my current movement version, while old one doesn't. )
I won't be adding much support to the collision map though, because I didn't really like how it turned out, and feel bounding boxes is a better choice. Collision map with "true" pixel collision doesn't feel right with just 8 directions, it needs a more fluid/ free movement/(360degrees direction?) because with just 8 directions you get stuck quite a bit. + The performance with bigger maps with events might be low since this is written in all rgss3 no external dll.
Example:
I found a bug that the events don't face the right direction when talking to you.
I ended up working on this a bit even though I should have been studying lol.
Most Vehicle issues were fixed ( I also noticed a bug that it still used the players box not the vehicle when inside a vehicle. )
Event facing direction is fixed.
Started to work on some 8 Direction sprite support.
Next update will still be posted sometime at the end of this week.
Wow that Round collission is impressive and I'm super curious about it! Can't wait to try it out.
I think that is a slight bug, I tend to see only when facing direction 6 and 2, but it's usually only a 1 px gap. The gaps are probably because of the characters movement speed, since that changes how much pixels they are moving, so I built in some method which you can turn on by setting SMARTMOVE to :speed or :both to try to fix it. But I still see it so it might be just some slight miscalculation in the collision check like misusing a great then/less then sign.
Edit, kinda. Tested while typing this and changed the <=, >= signs to just <, > seemed to fix this for me. If you want to change that yourself, the changes were on lines 576, 577, 603 and 604, didn't really test this much so not sure if this might cause overlaps in other situations. But I'll look more into this over the weekend.