Videos and Examples
Example Projects
- Sprity Bird, an open source iOS Flappy Bird clone implemented in SpriteKit
- 3D Cave Runner, a simple Android + Unity infinite-runner
- Cookie Crunch Adventure, a popular Swift example project, with added Skillz integration
- Unity iOS example, a bare-bones example project for Skillz iOS integration with a Unity application
- Blocslot, a Tetris-style game built with Marmalade
- BlockBreaker, a Unity game that takes full advantage of the Skillz API, including turn-based tournaments and the skillz_difficulty parameter
- 2048, an open source Android Native 2048 game integrated with Skillz
Example Entry Points
Implementing an enticing point of entry to the Skillz platform from your game is cruicial to capturing your audience. These examples of successful entry points contain code and images you can use directly in your game.
//change me for the x position of the button
CGFloat xPos = 35;
//change me for the y position of the button
CGFloat yPos = 400;
//change me for the width of the button
CGFloat width = 250;
UIImageView *poweredBySkillz = [[UIImageView alloc] initWithFrame:CGRectMake(xPos+(width/2 - 96/2),yPos+49,96,23)];
[poweredBySkillz setImage:[UIImage imageNamed:@"gfx_powered_by_skillz_bottom"]];
[self.view addSubview:poweredBySkillz];
UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(xPos, yPos, width, 55)];
UIImage *buttonImage = [[UIImage imageNamed:@"btn_tournaments_orange"] resizableImageWithCapInsets:UIEdgeInsetsMake(20, 20, 20, 20)];
[button.titleLabel setFont:[UIFont fontWithName:@"HelveticaNeue-CondensedBlack" size:22.0]];
[button.titleLabel setTextColor:[UIColor whiteColor]];
[button setTitle:@"Tournaments" forState:UIControlStateNormal];
[button.titleLabel setShadowOffset:CGSizeMake(1.0f, 1.0f)];
[button setTitleShadowColor:[UIColor colorWithWhite:0.3 alpha:0.6] forState:UIControlStateNormal];
[button setBackgroundImage:buttonImage forState:UIControlStateNormal];
[self.view addSubview:button];