RMMV Swap OpenGL/Canvas render mode in Scene_Battle and Scene_Map

mastervnc

Warper
Member
Joined
Nov 22, 2020
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hi everybody. For example, when I go to Scene_Battle, can I switch to Canvas mode? Then when the battle is over and back to Scene_Map, I want to change it back to WebGL. Is this possible? Thanks!
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
it wont be possible so far I know, most scenes are already canvas and already in webGL
if you deploy it, and use it on the web.

some plugins dont work in webGL because on how the plugin is made and only workable
on desktop which is canvas.

you cannot just basicly switch between canvas or webGL, while playtesting is already
part of webGL as it runs in some chrome window.
 

mastervnc

Warper
Member
Joined
Nov 22, 2020
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMV
Thanks for the reply, I have a problem that when using Canvas mode on the phone it is very slow, only 10FPS, but if i open the Menu or go to Battle, the FPS will be 60, so is there any way to disable animations or shadows in Scene_Map?
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
you didn't told it was adroid before and the issue.

while android of phone can be good and bad performence, yanfly has an plugin
to disable animation if there are to many (like water or beach)

here is the animated tile option from yanfly [Link], however, there is none for shadow,
while it doesn't really animated.

there might be other ways, but I dont know if this can fix the issue entirely,
not sure if there is something for phones, because I think phones already use some
kind of WebGL, and not the canvas, but I cannot tell that for sure.
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,227
Reaction score
1,635
First Language
EN
Primarily Uses
RMMZ
Canvas mode can be several times slower than WebGL; it's a CPU-based fallback available in case the system is not capable of WebGL. If the system is capable of WebGL, the game will use that exclusively to render using the system's GPU, reducing CPU load [edit: unless using integrated graphics] and generally improving framerates.

Mobile systems have limited CPU/RAM; fancy effects like lighting, dynamic shadows, particle effects, etc may simply be too much.

Also @ShadowDragon: it's common for fancy graphical plugins (filters, particles, etc) to require WebGL...I've never heard of something requiring Canvas over WebGL, though. :kaoswt2:
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Today I drove through my city of 100,000+ people during rush hour and the streets were nearly empty. Just so I could go get my favorite burger. There a dental assistant (she said that's her other job, even though I didn't ask) took my order and handed me a burger. I know it's bad out there... But wow, she's either atrocious with her money, or "it really be like that".
Chilling out while toodling around someone's painstaking Minecraft recreation of Disneyland. It is mind-boggling and probably as close as I'll ever be to going.
>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?

Forum statistics

Threads
107,813
Messages
1,032,390
Members
139,956
Latest member
LeoMaguire
Top