Discuss Scratch
- Discussion Forums
- » Things I'm Making and Creating
- » Arsenal Games
- Turtle234
-
Scratcher
4 posts
Arsenal Games
I keep looking at @griffpatch profile and I thought I might want to sketch a picture of myself like he has. This is my try of myself… http://arsenalstudios.blog.com/files/2014/03/ProfilePhotoSketch.jpg
Last edited by Turtle234 (March 13, 2014 00:35:13)
- Turtle234
-
Scratcher
4 posts
Arsenal Games
<strong>HOW TO MAKE FLAPPRY BIRD</strong>
<code>in Html</code>
#import “GamePlayScene.h”
#import “Character.h”
#import “Obstacle.h”
@implementation GamePlayScene
- (void)initialize
{
// put your initialization code below this line
// initialize the character
character = ;
//add character to the scene
;
// put your initialization code above this line
}
// put new methods below this line
- (void)tap
- (void)update : ((CCTime)delta
// Increment the time since last obstacle was added
// delta is ~1/60th of a second
timeSinceObstacle += delta;
// Check to see if two seconds have passed
if (timeSinceObstacle > 2)
{
// Add a new obstacle
;
// Then reset the timer.
timeSinceObstacle = 0;
}
timeSinceObstacle = 1;
// put new methods above this line
{
//this gets called when the bird collides with an obstacle
;
}
-(void) passedObstacle
{
// Update the score
;
}
@end
<code>in Html</code>
#import “GamePlayScene.h”
#import “Character.h”
#import “Obstacle.h”
@implementation GamePlayScene
- (void)initialize
{
// put your initialization code below this line
// initialize the character
character = ;
//add character to the scene
;
// put your initialization code above this line
}
// put new methods below this line
- (void)tap
- (void)update : ((CCTime)delta
// Increment the time since last obstacle was added
// delta is ~1/60th of a second
timeSinceObstacle += delta;
// Check to see if two seconds have passed
if (timeSinceObstacle > 2)
{
// Add a new obstacle
;
// Then reset the timer.
timeSinceObstacle = 0;
}
timeSinceObstacle = 1;
// put new methods above this line
{
//this gets called when the bird collides with an obstacle
;
}
-(void) passedObstacle
{
// Update the score
;
}
@end
- Discussion Forums
- » Things I'm Making and Creating
-
» Arsenal Games