Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

Commit

Permalink
add img
Browse files Browse the repository at this point in the history
  • Loading branch information
supercaracal committed Apr 29, 2012
1 parent 9490828 commit aee3030
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.textile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Coming soon.

"Duel Shooting Online":http://duelshooting-online.herokuapp.com/

h4. White Demon
Expand All @@ -21,3 +19,5 @@ h4. Red Comet
|>. Barrier | I |
|>. Attack1 | Cursor Up |
|>. Attack2 | F |

!https://github.com/supercaracal/duelshooting/raw/master/img/screen_shot.gif!
Binary file added img/screen_shot.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="title" content="Duel Shooting Online -Javascript Game-" />
<meta name="keywords" content="duel,shooting,online,javascript,prototype.js,node.js,express,socket.io" />
<meta name="keywords" content="duel,shooting,online,javascript,prototype.js,node.js,express,socket.io,xhr-polling,comet,websocket" />
<meta name="description" content="This is a javascript game." />
<title>Duel Shooting Online -Javascript Game-</title>
<meta property="og:type" content="website" />
<meta property="og:title" content="Duel Shooting Online -Javascript Game-" />
<meta property="og:url" content="http://duelshooting-online.herokuapp.com/" />
<meta property="og:image" content="https://github.com/supercaracal/duelshooting/raw/master/screenshot.jpg" />
<meta property="og:image" content="http://duelshooting-online.herokuapp.com/img/screen_shot.gif" />
<meta property="og:description" content="This is a javascript game." />

<link rel="stylesheet" type="text/css" media="all" href="/css/style.css" />

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">google.load('prototype', '1.7')</script>
<script type="text/javascript">google.load('prototype', '1.7');</script>
<script type="text/javascript" src="/socket.io/socket.io.js"></script>

<script type="text/javascript" src="/js/action/base/action.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions js/sync/synchronizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ var Synchronizer = Class.create({
youHaveControl: function(data) {
this.controlShip = data.ship;
this.socket.emit('I have control', {ship: this.controlShip});
console.log('I have control: ' + this.controlShip);
if (console && typeof console.log == 'function') console.log('I have control: ' + this.controlShip);
},

youHaveNoControl: function(data) {
this.controlShip = null;
this.socket.emit('I have no control', {});
console.log('I have no control');
if (console && typeof console.log == 'function') console.log('I have no control');
},

white: function(data) {
Expand Down

0 comments on commit aee3030

Please sign in to comment.