This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(){ | |
| scriptElement = document.body.appendChild(document.createElement('script')); | |
| scriptElement.type='text/javascript'; | |
| scriptElement.src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js'; | |
| scriptElement.onload = function(){ | |
| (function($){ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --# Main | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| instances={} | |
| for i=0,20 do | |
| spawn(Star()) | |
| end | |
| ship=Ship(WIDTH/2,HEIGHT/2) | |
| spawn(ship) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --# Main | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| instances={} | |
| currentIndex=0 | |
| cannon=Cannon() | |
| table.insert(instances,cannon) | |
| touchDown=false | |
| shooting=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --# Main | |
| World = class() | |
| function World:init() | |
| self.instances={} | |
| self.width=1024 | |
| self.height=768 | |
| self.index=0 | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --# Main | |
| -- Snow | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| instances={} | |
| currentIndex=0 | |
| table.insert(instances,SnowMaker(0,1)) | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --# Main | |
| function setup() | |
| displayMode(FULLSCREEN) | |
| backingMode(RETAINED) | |
| spawns={} | |
| for i=0, 200 do | |
| table.insert(spawns,Spawn(math.random(WIDTH),math.random(HEIGHT))) | |
| end | |
| lineCapMode(PROJECT) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Physics(args) { | |
| var pixelsPerMeter=args.ptm; | |
| function px(x){ | |
| return x*pixelsPerMeter; | |
| } | |
| function meters(x){ | |
| return x/pixelsPerMeter; | |
| } | |
| function Body(args) { | |
| var self = Class({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>License</title> | |
| <style type="text/css"> | |
| body { | |
| text-align:center; | |
| padding-top:25%; | |
| background:#ddd; | |
| font-family:"sans-serif"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <style type="text/css"> | |
| </style> | |
| </head> | |
| <body> | |
| <form id="end" action="http://192.168.146.1/pos/firstpos/purch/srch_result.asp" method="post"> | |
| <input type="hidden" name="PAR_FNAME" id="fname"/> | |
| <input type="hidden" name="PAR_LNAME" id="lname"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * object.watch polyfill | |
| * | |
| * 2012-04-03 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public Domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ |