Skip to content

Instantly share code, notes, and snippets.

View Zerrien's full-sized avatar

Josh Callebaut Zerrien

  • Austin, Texas
View GitHub Profile
<html>
<head>
<script>
var canvas, ctx;
var sTime, dTime, pTime, tTime;
function init() {
canvas = document.getElementById("aCanvas");
ctx = canvas.getContext('2d');
pTime = (new Date()).getTime();
tTime = 0;
/*
Steps for using:
1. Go to the level editor for the level.
2. Double click the Hero Placeholder to edit it.
3. Run the level so you have the child window open.
4. Make sure the equipment you have equipped matches the hero's equipment for for the course.
5. Copy paste the solution code from the level editor into level, press run/submit. (Just want all the frames to load and ensure it succeeds)
6. Put this script into the console of the level-editor tab/window
Now everything (seed, equipment, frames, hash) should be added to the solutions.
*/
@Zerrien
Zerrien / dm.sublime-syntax
Created February 10, 2016 16:30
dm highlighting
%YAML1.2
---
# See http://www.sublimetext.com/docs/3/syntax.html
# Update Sublime Text 3 to 3103
# Put this file inside Sublime Text 3's appdata Packages folder
# Select 'dm' from the language select option.
file_extensions:
- dm
scope: dm