Skip to content

Commit b7d227c

Browse files
committed
release 1.0
1 parent a50f467 commit b7d227c

File tree

276 files changed

+54775
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+54775
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pbxproj -crlf -diff -merge

.gitignore

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# git ignore template from: http://cocoaheads.tumblr.com/post/1350304132/gitignore-template-for-xcode3-4
2+
3+
# Mac OS X Finder
4+
.DS_Store
5+
6+
# XCode (and ancestors) per-user config (very noisy, and not relevant)
7+
*.mode1
8+
*.mode1v3
9+
*.mode2v3
10+
*.perspective
11+
*.perspectivev3
12+
*.pbxuser
13+
14+
# Xcode 4
15+
xcuserdata/
16+
project.xcworkspace/
17+
18+
# build products
19+
build/
20+
*.[oa]
21+
22+
# Other source repository archive directories (protects when importing)
23+
.hg
24+
.svn
25+
CVS
26+
27+
# automatic backup files
28+
*~.nib
29+
*.swp
30+
*~
31+
*(Autosaved).rtfd/
32+
Backup[ ]of[ ]*.pages/
33+
Backup[ ]of[ ]*.key/
34+
Backup[ ]of[ ]*.numbers/

Audio/click.caf

14.2 KB
Binary file not shown.

Audio/collectStar.mp3

75 KB
Binary file not shown.

Audio/dropRock.mp3

29.2 KB
Binary file not shown.

Audio/game.mp3

755 KB
Binary file not shown.

Audio/grab.caf

10.6 KB
Binary file not shown.

Audio/intro.mp3

755 KB
Binary file not shown.

Audio/levelCompleted.caf

146 KB
Binary file not shown.

Audio/levelFailed.caf

98.6 KB
Binary file not shown.

Game/Game.h

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* Climbers
3+
* https://github.com/haqu/climbers
4+
*
5+
* Copyright (c) 2011 Sergey Tikhonov
6+
*
7+
*/
8+
9+
#import "cocos2d.h"
10+
11+
@class Hero;
12+
@class VRope;
13+
@class Rock;
14+
15+
@interface Game : CCLayer {
16+
CCSpriteBatchNode *batch1;
17+
CCSpriteBatchNode *batch2;
18+
CCSpriteBatchNode *ropeBatch;
19+
Hero *hero1;
20+
Hero *hero2;
21+
VRope *rope;
22+
NSMutableArray *grabs;
23+
NSMutableArray *stars;
24+
BOOL dragInProgress;
25+
Hero *dragHero;
26+
Hero *dragOtherHero;
27+
CGPoint dragOffset;
28+
CGPoint cameraOffset;
29+
float levelHeight;
30+
BOOL gameInProgress;
31+
int currentLevel;
32+
int nextLevel;
33+
CGPoint startPosition1;
34+
CGPoint startPosition2;
35+
CCSprite *snapFeedback;
36+
Rock *rock;
37+
CCSprite *rockAlert;
38+
CGPoint lastTouchLocation;
39+
NSTimer *rockTimer;
40+
float ropeLength;
41+
float sw;
42+
float sh;
43+
float heroStarDist;
44+
float heroRockDist;
45+
float snapDist;
46+
int starsCollected;
47+
int starsTotal;
48+
CCSprite *starIcon;
49+
CCLabelBMFont *starsCollectedLabel;
50+
CCSprite *menuButton;
51+
}
52+
+ (CCScene*)scene;
53+
54+
@end

0 commit comments

Comments
 (0)