This project makes use of [Luacheck] for catching common mistakes. Install it and configure it for your text editor.
We recommend [Atom] for editing Lua code along with the following packages:
- [linter-luacheck]: [Luacheck] integration
| <script id="old-browser-support"> | |
| if (!(navigator.getGamepads || navigator.webkitGetGamepads)) { | |
| navigator.getGamepads = function() { return []; }; | |
| } | |
| if (!(window.AudioContext || window.webkitAudioContext)) { | |
| window.AudioContext = function() { | |
| this.sampleRate = 44100; | |
| this.destination = 0; | |
| this.currentTime = 0; | |
| this.state = "running"; |
| #!/bin/bash | |
| title=$(less game.project | grep "^title = " | cut -d "=" -f2 | sed -e 's/^[[:space:]]*//') | |
| title_no_space=$(echo -e "${title}" | tr -d '[[:space:]]') | |
| echo "Project: ${title}" | |
| if [ ! -f bob.jar ] | |
| then | |
| echo "Unable to find bob.jar. Download it from d.defold.com." | |
| exit 1 |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <title>Single-Column Responsive Email Template</title> | |
| <style> | |
| @media only screen and (min-device-width: 541px) { | |
| .content { |