Skip to content
Snippets Groups Projects
Commit 7271f6f6 authored by Richard Torenvliet's avatar Richard Torenvliet
Browse files

iPhone 6 support for the game, for now

parent ae1332b5
No related branches found
No related tags found
No related merge requests found
Showing
with 38 additions and 4877 deletions
......@@ -9,7 +9,7 @@ angular.module( 'Interactive', [
])
.config(function ($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise( '/index' );
$urlRouterProvider.otherwise('/tapdance' );
})
.run( function run () {
......
<h1>Game index</h1>
<a ui-sref="game-tapdance">tapdance</a>
angular.module('Interactive.game.tapdance.how2play', [
'ui.router',
'ui.bootstrap'
])
.config(function($stateProvider) {
$stateProvider
.state( 'game-tapdance-how2play', {
url: '/tapdance-how2-play',
views: {
'main': {
controller: 'howCtrl',
templateUrl: 'game/tapdance/tapdance-how2play.tpl.html'
}
},
data: { pageTitle: 'How to Play' }
}
);
})
.controller( 'howCtrl', function IndexController($scope, $modal) {
//$modal.open(
// {
// templateUrl:'game/tapdance/tapdance-play-modal.tpl.html'
//});
})
;
<div class="game-background">
<img class="bg-image" src="/assets/bg.jpg" alt='bg'/>
<a ui-sref='game-tapdance-game'><img class="popup-image" src="/assets/how2play.png" alt='bg'/>
</a>
</div>
angular.module('Interactive.game.tapdance', [
'ui.router',
'ui.bootstrap',
'Interactive.pixi'
'Interactive.game.tapdance.how2play'
])
.config(function($stateProvider) {
......
<div class="game-background">
<img class="bg-image" src="/assets/bg.jpg" alt='bg'/>
<div class="popup">
<h1 class="text-center">TAP DANCE</h1>
<p class="text-center">Help your conscience and save water</p>
<button class="btn btn-default center-block play-now">PLAY NOW</button>
<a ui-sref='game-tapdance-how2play' class="btn btn-default center-block play-now">PLAY NOW</a>
</div>
</div>
src/assets/how2play.png

49.2 KiB

This diff is collapsed.
src/assets/tapdance/Backgrounds - JPG/Background_tapdance01.jpg

27.4 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance02.jpg

17.4 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance03.jpg

15.4 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance04.jpg

5.54 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance05.jpg

15.4 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance06.jpg

5.54 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance07.jpg

17.4 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance08.jpg

17.4 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance09.jpg

17.4 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance10.jpg

17.4 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance11.jpg

18.3 KiB

src/assets/tapdance/Backgrounds - JPG/Background_tapdance12.jpg

23.9 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment