diff options
| author | Starla Insigna <starla4444@gmail.com> | 2011-09-04 11:17:44 -0400 |
|---|---|---|
| committer | Starla Insigna <starla4444@gmail.com> | 2011-09-04 11:17:44 -0400 |
| commit | 339f8e2cb2fce18f6d32b3881a5cd390c0be488e (patch) | |
| tree | cb17c635d664838259e591f4b345ae6349931d49 /Classes/GameMode.m | |
| parent | 9f4bf94a763afba795fb991006081505c3ae466b (diff) | |
| download | cartcollect-339f8e2cb2fce18f6d32b3881a5cd390c0be488e.tar.gz cartcollect-339f8e2cb2fce18f6d32b3881a5cd390c0be488e.tar.bz2 cartcollect-339f8e2cb2fce18f6d32b3881a5cd390c0be488e.zip | |
Implemented Jump mode (BETA) jump
Dear god this is beta. I think I'll release a build for the testers soon so I can see what people think and then hammer out the bugs. Refs #204
Diffstat (limited to 'Classes/GameMode.m')
| -rw-r--r-- | Classes/GameMode.m | 1 |
1 files changed, 1 insertions, 0 deletions
| diff --git a/Classes/GameMode.m b/Classes/GameMode.m index af9b3bd..f0eb02f 100644 --- a/Classes/GameMode.m +++ b/Classes/GameMode.m | |||
| @@ -40,6 +40,7 @@ | |||
| 40 | cart = [[Cart alloc] initWithSprite:[CCSprite spriteWithFile:@"cart.png"]]; | 40 | cart = [[Cart alloc] initWithSprite:[CCSprite spriteWithFile:@"cart.png"]]; |
| 41 | cart.sprite.position = ccp(240, 22); | 41 | cart.sprite.position = ccp(240, 22); |
| 42 | cart.sprite.scale = 2; | 42 | cart.sprite.scale = 2; |
| 43 | cart.delegate = self; | ||
| 43 | [self addChild:cart.sprite]; | 44 | [self addChild:cart.sprite]; |
| 44 | 45 | ||
| 45 | scoreLabel = [CCLabelBMFont labelWithString:@"Score: 0" fntFile:@"helvetica2.fnt"]; | 46 | scoreLabel = [CCLabelBMFont labelWithString:@"Score: 0" fntFile:@"helvetica2.fnt"]; |
