Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sean-perkins/nativescript-flappy-bird
NativeScript implementation of Flappy Bird (basic). Demonstrates how to build games in NativeScript.
https://github.com/sean-perkins/nativescript-flappy-bird
angular flappy-bird game game-development nativescript nativescript-angular
Last synced: 6 days ago
JSON representation
NativeScript implementation of Flappy Bird (basic). Demonstrates how to build games in NativeScript.
- Host: GitHub
- URL: https://github.com/sean-perkins/nativescript-flappy-bird
- Owner: sean-perkins
- Created: 2017-08-27T20:53:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-31T01:36:25.000Z (about 7 years ago)
- Last Synced: 2024-10-26T03:39:25.914Z (20 days ago)
- Topics: angular, flappy-bird, game, game-development, nativescript, nativescript-angular
- Language: TypeScript
- Size: 1.86 MB
- Stars: 33
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NativeScript Flappy Bird App
This repository demonstrates how to create games such as Flappy Bird inside NativeScript Angular.#### Technologies
- NativeScript Angular
- Model-Driven Objects
- Custom Animation Implemenations#### Feature List
- Animated background scenes
- Animated player (bird) object using sprite sheet (iOS only)
- Animated player gravity sequence (climb & fall)
- Clipped canvas
- Audio segments for tap and death animations
- Replay screen## Getting Started
1. Download or clone this repository.
2. Install dependencies `npm i` or `npm install`.
3. Install and run your desired runtime `tns run ios` or `tns run android`.### Known Issues
- Android `background-position` support is incomparable to iOS. Temporarily have disabled the bird animation on Android as it cannot handle the sprite animation.
- Android player sensitivity is off - most likely need to account for DPI for calculations.### App Images
|iOS|Android|
|:---:|:---:|
|||## Credits / References
* [FloppyBird](https://github.com/nebez/floppybird) for all of the initial calculations and game assets.
* [NativeScript Audio](https://github.com/bradmartin/nativescript-audio) for allowing me to play audio segments for the animations.# Contributors
[](https://github.com/sean-perkins) |
:---:
|[Sean Perkins](https://github.com/sean-perkins)|