Giter Site home page Giter Site logo

Comments (5)

Cloudef avatar Cloudef commented on June 10, 2024

This is not really feasible since plugins in rpg maker mv basically have full access to browser or node apis (including nw.js apis) + pixi.js. Best you can do is build something on top of nw.js / node / browser and replace the core parts with better code. But you'd still have problems with compatibility, especially since games can pretty much ship their own runtime and plugins can hotpatch anything.

from mkxp.

dogtopus avatar dogtopus commented on June 10, 2024

Yes I'm aware of that. The question is how many plugin/game authors really bother to tap into the low-level parts like PIXI.js or even use DOM/WebGL/etc. directly and how they would make their code coexist with the RPG Maker stuff. On every Windows RPG Maker similar things are already possible via Win32API or hooks but they can often be worked around in a case-by-case basis. In case of "using their own runtime", this is definitely out of the scope since they are not even using RPG Maker anymore or just using a small subset of the features (like as a map editor).

from mkxp.

Cloudef avatar Cloudef commented on June 10, 2024

You could start by making shim of pixi.js that actually calls C code, but run anything else in javascript or even inside node.js (for more compatibility), implementing the nw.js bits is gonna be more work to be honest, because that thing is a full blown chromium. Honestly it sounds very fruitless work, and best approach would be to start with the same stack they are using and replacing bottlenecks by native shims.

from mkxp.

Ancurio avatar Ancurio commented on June 10, 2024

Closing this as it's not directly related to mkxp. What you describe sounds like a cool idea, feel free to contact me on twitter or discord if you get a project in that direction going (not saying I'll contribute, but I'd be interested in progress).

from mkxp.

dogtopus avatar dogtopus commented on June 10, 2024

@Cloudef I think you kinda missed the point. What I have in mind is more of emulating the RPG Maker layer of things (all rpg_core stuff and possibly all rpg_managers stuff as well) rather than porting the whole layer and above to a different engine. Using older RPG maker analogy it would be like porting all the scripts to a new runtime with Audio/Graphics/etc. implemented outside rather than running the whole RGSS*.dll on a different platform. I have to clarify that this doesn't make the process magically easier though since all the object lookup process will be really fragile. One could easily minify the whole package and I will have nothing to hook into and the only remaining option would be browser emulation (i.e. the thing that I definitely won't touch). I imagine that if this is real it will be even more of a developer's toy than mkxp since it will be a lot easier to integrate it into the game in development phase but (extremely?) difficult to use it to run published games on unintended platforms.

@Ancurio Although it will be unlikely from me. Noted.

from mkxp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.