Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
gcabrini committed Aug 3, 2016
1 parent 0423002 commit 8b4fdea
Show file tree
Hide file tree
Showing 26 changed files with 973 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.DS_Store
.AppleDouble
.LSOverride

# Icon must ends with two \r.
Icon


# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

lib-cov
lcov.info
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results
build
.grunt

node_modules
bower_components
tmp


# workspace files are user-specific
*.sublime-workspace

# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
"# flappyBirl"
#HTML5 flappy bird

play here: http://hyspace.io/flappy/

based on http://uralozden.com/flappy/

##License

MIT License

##Copyright

THE IMAGES' AND SOUNDS' COPYRIGHT IS OWNED BY THE ORIGINAL GAME'S AUTHOR.
Binary file added assets/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/bird.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/ground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/its_show_time.mp3
Binary file not shown.
Binary file added assets/sfx_die.mp3
Binary file not shown.
Binary file added assets/sfx_die.ogg
Binary file not shown.
Binary file added assets/sfx_hit.mp3
Binary file not shown.
Binary file added assets/sfx_hit.ogg
Binary file not shown.
Binary file added assets/sfx_point.mp3
Binary file not shown.
Binary file added assets/sfx_point.ogg
Binary file not shown.
Binary file added assets/sfx_point_bkp.ogg
Binary file not shown.
Binary file added assets/sfx_swooshing.mp3
Binary file not shown.
Binary file added assets/sfx_swooshing.ogg
Binary file not shown.
Binary file added assets/sfx_wing.mp3
Binary file not shown.
Binary file added assets/sfx_wing.ogg
Binary file not shown.
Binary file added assets/tube1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/tube2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "flappy",
"version": "0.0.1",
"authors": [
"shan zhou <[email protected]>"
],
"description": "flappy bird in html5",
"main": "index.html",
"keywords": [
"game",
"flappy",
"bird"
],
"license": "MIT",
"homepage": "https://github.com/hyspace/flappy",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"phaser": "~1.1.4"
}
}
9 changes: 9 additions & 0 deletions flappy.sublime-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"folders":
[
{
"follow_symlinks": true,
"path": "."
}
]
}
29 changes: 29 additions & 0 deletions gulpfile.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
gulp = require 'gulp'
coffee = require 'gulp-coffee'
gutil = require 'gulp-util'
connect = require 'gulp-connect'
concat = require 'gulp-concat'
uglify = require 'gulp-uglify'

gulp.task 'coffee', ->
gulp.src ['index.coffee']
.pipe coffee( bare: true ).on('error', gutil.log)
.pipe gulp.dest 'tmp'

gulp.task 'concat', ->
gulp.src ['bower_components/phaser/phaser.js', 'tmp/index.js']
.pipe concat('index.min.js')
.pipe uglify()
.pipe gulp.dest '.'
.pipe connect.reload()

gulp.task 'watch', ->
gulp.watch ['index.coffee', '!gulpfile.coffee'], ['coffee']

gulp.task "connect", connect.server(
root: __dirname
port: 3000
livereload: true
)

gulp.task 'default', ['coffee', 'concat', 'connect', 'watch']
Loading

0 comments on commit 8b4fdea

Please sign in to comment.