Giter VIP home page Giter VIP logo

gmvisualizer's Introduction

GameMaker' Visualizer is a program that manipulates "object information" output from YoYo Games' GameMaker (both Studio and older versions) to produce a variety of outputs.

You can check out the live version (and/or support the development) via project's itch.io page.

Usage

Instructions vary depending on the area of the interest.

  • If using BB mode for highlighting code, no additional setup or configuration is needed - the program will output a bunch of tags which will function fine on majority of forums and wbsites with BB/UBB code support.

    If you want to also display DnD icons, you will need to download the provided pkg.zip, upload the icon directory (img) containing DnD icons somewhere, and set the Icon URL format string to point to that location. Depending on the particular BB code format, you may also need to change several options to match the expected format.

  • If you want to display snippets of DnD or GML on a site/blog, you'll need to upload gminfo.png and gmvisualizer.css to your site, and include the CSS file on the pages of interest. Stylesheet can be customized to fit the blog theme, obviously.

  • For converting DnD blocks to GML, no additional setup is required. Code is output in "object information" format and displayed in highlighted form in the preview box for convenience.

Special syntax

For quick use as a highlighter for code snippets, I have included two "special cases" in the program's algorithm:

Inserting a single expression preceded with "```" will highlight it as an inline expression.

Inserting a piece of code with first line containing nothing but "```" will highlight it as a multi-line snippet (bearing similarity to "execute code" block but having no icon/indentation).

Notes on source code

The primary purpose of this repository is to allow anyone interested (and/or familiar with Haxe) to peek at the program's structure or take a shot at modifying it to do new tricks.

Program is kept largely modular - at most times you would want to create a new Info instance, readString a snippet into it, and print it into one of the formats supported. Currently setup is done via a static Conf class. Main class can be used as example of usage.

While the Main class will only compile under JS target, the rest of the source has no platform-specific references and should compile fine under the most platforms.

License

GameMaker' Visualizer is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.

gmvisualizer's People

Contributors

yaazarai avatar yellowafterlife avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nb109

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.