forked from haqu/climbers
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
276 changed files
with
54,775 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.pbxproj -crlf -diff -merge |
This file contains 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
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains 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
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 |
Oops, something went wrong.