Skip to content

Commit

Permalink
release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
haqu committed May 20, 2011
1 parent a50f467 commit b7d227c
Show file tree
Hide file tree
Showing 276 changed files with 54,775 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pbxproj -crlf -diff -merge
34 changes: 34 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# git ignore template from: http://cocoaheads.tumblr.com/post/1350304132/gitignore-template-for-xcode3-4

# Mac OS X Finder
.DS_Store

# XCode (and ancestors) per-user config (very noisy, and not relevant)
*.mode1
*.mode1v3
*.mode2v3
*.perspective
*.perspectivev3
*.pbxuser

# Xcode 4
xcuserdata/
project.xcworkspace/

# build products
build/
*.[oa]

# Other source repository archive directories (protects when importing)
.hg
.svn
CVS

# automatic backup files
*~.nib
*.swp
*~
*(Autosaved).rtfd/
Backup[ ]of[ ]*.pages/
Backup[ ]of[ ]*.key/
Backup[ ]of[ ]*.numbers/
Binary file added Audio/click.caf
Binary file not shown.
Binary file added Audio/collectStar.mp3
Binary file not shown.
Binary file added Audio/dropRock.mp3
Binary file not shown.
Binary file added Audio/game.mp3
Binary file not shown.
Binary file added Audio/grab.caf
Binary file not shown.
Binary file added Audio/intro.mp3
Binary file not shown.
Binary file added Audio/levelCompleted.caf
Binary file not shown.
Binary file added Audio/levelFailed.caf
Binary file not shown.
54 changes: 54 additions & 0 deletions Game/Game.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
* Climbers
* https://github.com/haqu/climbers
*
* Copyright (c) 2011 Sergey Tikhonov
*
*/

#import "cocos2d.h"

@class Hero;
@class VRope;
@class Rock;

@interface Game : CCLayer {
CCSpriteBatchNode *batch1;
CCSpriteBatchNode *batch2;
CCSpriteBatchNode *ropeBatch;
Hero *hero1;
Hero *hero2;
VRope *rope;
NSMutableArray *grabs;
NSMutableArray *stars;
BOOL dragInProgress;
Hero *dragHero;
Hero *dragOtherHero;
CGPoint dragOffset;
CGPoint cameraOffset;
float levelHeight;
BOOL gameInProgress;
int currentLevel;
int nextLevel;
CGPoint startPosition1;
CGPoint startPosition2;
CCSprite *snapFeedback;
Rock *rock;
CCSprite *rockAlert;
CGPoint lastTouchLocation;
NSTimer *rockTimer;
float ropeLength;
float sw;
float sh;
float heroStarDist;
float heroRockDist;
float snapDist;
int starsCollected;
int starsTotal;
CCSprite *starIcon;
CCLabelBMFont *starsCollectedLabel;
CCSprite *menuButton;
}
+ (CCScene*)scene;

@end
Loading

0 comments on commit b7d227c

Please sign in to comment.