Skip to content

Commit

Permalink
add license info
Browse files Browse the repository at this point in the history
  • Loading branch information
cgack committed Jul 30, 2012
2 parents 459691f + 8fb1aef commit cbe91a6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!--
Pixel Quest - a Liberated Pixel Cup HTML5 Game
Copyright (C) 2012 Cory Gackenheimer
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!doctype html>
<html>
<head>
Expand Down
22 changes: 19 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**********************************************************************
* Pixel Quest - a Liberated Pixel Cup HTML5 Game
* Copyright (C) 2012 Cory Gackenheimer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
***********************************************************************/

// game resources
var g_resources = [
/* maps */
Expand Down Expand Up @@ -25,7 +43,6 @@ var g_resources = [
{ name: "magic_firelion_sheet", type: "image", src: "assets/magic/magic_firelion_sheet.png" },
{ name: "magic_torrentacle", type: "image", src: "assets/magic/magic_torrentacle.png" },
{ name: "magic_iceshield_sheet", type: "image", src: "assets/magic/magic_iceshield_sheet.png"},
{ name: "32x32_font", type: "image", src: "assets/32x32_font.png" },
{ name: "metatiles32x32", type: "image", src: "assets/metatiles32x32.png" },
{ name: "tileset01", type: "image", src: "assets/tileset01.png" },
{ name: "water", type: "image", src: "assets/water.png" },
Expand Down Expand Up @@ -70,7 +87,7 @@ var jsApp = {
}
//TODO: fix useNativeAnimFrame to not increase velocities on reload of levels
//me.sys.useNativeAnimFrame = true;
me.sys.fps = 60;
me.sys.fps = 30;
//me.debug.renderHitBox = true;
// initialize the "audio"
me.audio.init("ogg");
Expand Down Expand Up @@ -147,7 +164,6 @@ var PlayScreen = me.ScreenObject.extend({
me.game.HUD.setItemValue("score", 0);
me.game.HUD.setItemValue("message", "");
me.audio.playTrack("calmtown");

},

onDestroyEvent: function() {
Expand Down

0 comments on commit cbe91a6

Please sign in to comment.