Chaos Project

RPG Maker => RPG Maker Scripts => Topic started by: Blizzard on November 08, 2017, 01:46:11 am

Title: MV Mode 7
Post by: Blizzard on November 08, 2017, 01:46:11 am
Some may already know that I started working on a new game in RMMV. It was all shakey until I wrote my first lines of code. xD I am definitely going to continue working on it and I will release some of my scripts to the public. The one most notable would be a Mode 7 script. Now, I'm wondering what kind of extra features you would like to see in this script, what kind of parameters, what kind of configurations.
Title: Re: MV Mode 7
Post by: KK20 on November 08, 2017, 01:54:22 am
I guess you should first layout what your Mode7 will entail. I'd assume the angle viewing the horizon could be adjusted. How about drawing distance? Will certain tiles pop up like a picture book (mainly how will "over the character"/star'd tiles work)? I take it no height map as that would be pretty complicated. Rotating the map (also might be too much)?
Title: Re: MV Mode 7
Post by: Blizzard on November 08, 2017, 02:51:43 am
Rotation actually isn't that hard. Since MV has direct access to GL calls, I just need to add rotation to the transformation matrix. Mostly because just adjusting using Mode 7 is already rotating, just by a different axis. Since this isn't manual calculation and rendering like it was done in XP and other RMs, it will actually be ridiculously easy to make the first working version. The majority of the time I will need is figuring out where stuff is in pixi.js to understand what I need to call and what I need to manipulate. xD

Drawing distance is a good one since it can add/reduce lag. I can easily include a horizon fade there as well.

Over the character tiles are a good question. I think the best way is to flatten everything and use events for standing objects / billboard sprites. I don't wanna go full 3D.

Height map probably no. But technically if I can find how the shader is set up or if I can write my own shaders, it could be possible.

If I can do shaders, this actually opens up the possibility for a curved map.
Title: Re: MV Mode 7
Post by: LiTTleDRAgo on November 08, 2017, 10:15:48 am
I'd like to see mode 7 with proper collision system, like when jumping your characters can bump into the ceiling, or characters could actually step at the top of objects, like a box, table, chair, etc.
Title: Re: MV Mode 7
Post by: Blizzard on November 08, 2017, 11:24:33 am
Yeah, that's already in the domain of proper 3D. Let's not go there. xD Even just having a height map is quite complicated. I've implemented an isometric renderer once and it was quite difficult, especially z-ordering.
Title: Re: MV Mode 7
Post by: KK20 on November 08, 2017, 02:05:19 pm
Zooming?
Also, ensure that plug-in calls can make smooth transitions from one value to another, e.g.

M7.change_angle(80, 30) // Transition to 80 degree angle in 30 frames
Title: Re: MV Mode 7
Post by: Blizzard on November 09, 2017, 05:10:12 am
Yes, of course. This is can all be done with the transformation matrix. :D Technically we can also do skewing.

I like the automated animations thingy. Will do.
Title: Re: MV Mode 7
Post by: Heretic86 on November 28, 2017, 08:31:00 am
Shaders?  :D
Title: Re: MV Mode 7
Post by: Blizzard on November 29, 2017, 01:52:28 am
Shaders need to be done in a custom manner either way most likely. So there's not really a point in integrating them here. Of course, only if shaders are actually supported. I haven't looked into that yet. Working on some other stuff right now.