From 4d94802036a53e6ec246ab0abac17fd76d17c885 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 17 Aug 2011 19:54:25 -0400 Subject: Started Jump game mode So far, Jump exists as a blank world where the player can control the cart (including the ability to jump by swiping upwards) and where the water level rises for a bit and then falls, taking the cart with it. Refs #204 --- Classes/JumpGameMode.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Classes/JumpGameMode.h (limited to 'Classes/JumpGameMode.h') diff --git a/Classes/JumpGameMode.h b/Classes/JumpGameMode.h new file mode 100644 index 0000000..7b7dff4 --- /dev/null +++ b/Classes/JumpGameMode.h @@ -0,0 +1,21 @@ +// +// JumpGameMode.h +// Cart Collect +// +// Created by Starla Insigna on 8/17/11. +// Copyright 2011 Four Island. All rights reserved. +// + +#import "GameMode.h" + +@interface JumpGameMode : GameMode { + CCSprite* water; + int waterTick; + BOOL wave; + CGPoint gestureStartPoint; + int jumpTick; + BOOL jump; + float swipeVarianceModifer; +} + +@end -- cgit 1.4.1