[RMMV] SPLIT SCREEN

Posts

Pages: 1
Hey people is there a possible way to work with a splitscreen in RMMV?
On the left side the game and on the right side a website.

Thank you :D
I'm going to say "yes", because it's a HTML5 application.
There's two broad approaches you could take:

1) Embed the game in an iframe in a page

Don't need to modify the game at all, just put it in an element of the right size in the page.

The game's scripts will not be able to interact with parts of the page outside the iframe

2) Put the game in a div in a page

Will need to look at rpg_core.js, particularly the "Graphics" class where it appends elements to the document, to put those elements inside your div instead.

The game's scripts will be able to interact with any part of the page

Which one you do depends on what your objective is - if you just want to have the game playable online in your website without taking over the whole page, or a game that has both a canvas and ordinary page elements.
I found a way how I can achieve this split screen! Thanks for your help :D
Pages: 1