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.
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.`
-
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?
- Look for automatic ways to do material updates
-
Create debug tools (canvas overlay/object selection/movement)
-
Player movement collision checking