Skip to content

MontyThibault/JS-Graphics-Toolset

Repository files navigation

Build process

A python script merges all of the files from the src/ folder into a single file at build/max.js. The script (builder/build.py) is automatically called every time I save a file in my editor. Compression is disabled for instantaneous results and debugging.

Link to Page

Code Organization

The javascript engine for this project is outlined as follows:

A local engine object can be accessed within all code inside of the main wrapper. Inside of this lies all of the utilities and functions necessary for the program to work properly. main is called once everything has been defined; within it, the environment is initialized and the frame loop carries the program on, running at 60fps.`

TODO

  • Optimize darkness shader

    • Send geometry as datatextures
    • New line segment collision algorithm
    • JS edge ordering [CHECK]
    • Clean up code [CHECK]
      • Look for automatic ways to do material updates
        • Similar to map.js hack?
  • Create debug tools (canvas overlay/object selection/movement)

  • Player movement collision checking

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages