Grid Map Fun

jaynabonne
Attached is a project that exposes the current grid/map to make it customizable. The current core Quest grid code is wrapped in a paper.js instance, which makes it impossible to customize. I basically took that code and moved it out and made it straight JavaScript functions, though still using paper.js. This means you have the power of paper.js to customize the grid.

The included "grid.js" is that replacement. And the included "grid.aslx" has replacement grid functions for the standard core ones, since they need to call my version, not the built-in version.

This sample also has some room generation code as well as an example of how to customize the compass buttons.

It's a bit "loose". I could tighten it up if need be, but I think it's enough if someone wants to take and use. I figure if you want to use it, you know enough about how to code that you can integrate it properly.

Ask if you have any questions.

(The main "game" file in the zip is MapTest.aslx.)

jaynabonne
Note that this only works with 5.4. It does not work with the 5.5 beta. It will need to be adapted.

Omega
Hey dude!

Sorry for no replying for such a long time. Busy life. Got time in my hands so jumped back on. I looked at what you had for the map but I already updated to the newest Quest, tried it and it didn't work. It's all good though, I have the patience to wait for this change to happen. Im currently working on a story that will have its own game on Quest.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums