Flappy Bird Wei Zheng Yen Hsi Lin Gaoyuan Zhang Junhui Zhang

Similar documents
BC04 Module_antenna__ doc

1.ai

Microsoft PowerPoint - STU_EC_Ch08.ppt

穨control.PDF

1 CPU

國立中山大學學位論文典藏.PDF

CH01.indd

天 主 教 輔 仁 大 學 社 會 學 系 學 士 論 文 小 別 勝 新 婚? 久 別 要 離 婚? 影 響 遠 距 家 庭 婚 姻 感 情 因 素 之 探 討 Separate marital relations are getting better or getting worse? -Exp

TX-NR3030_BAS_Cs_ indd

Microsoft Word - template.doc

Logitech Wireless Combo MK45 English

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I

untitled

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

<4D F736F F D C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63>

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10

The Development of Color Constancy and Calibration System

P4i45GL_GV-R50-CN.p65

Chapter 24 DC Battery Sizing

K301Q-D VRT中英文说明书141009

Microsoft PowerPoint - Lecture7II.ppt


列印

南華大學數位論文

COCO18-DensePose-BUPT-PRIV

國立中山大學學位論文典藏.PDF


高中英文科教師甄試心得

Microsoft Word - 論文封面 修.doc

Beds_bg_201904_Lowres.pdf

Value Chain ~ (E-Business RD / Pre-Sales / Consultant) APS, Advanc

Edge-Triggered Rising Edge-Triggered ( Falling Edge-Triggered ( Unit 11 Latches and Flip-Flops 3 Timing for D Flip-Flop (Falling-Edge Trigger) Unit 11

untitled

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

Microsoft PowerPoint - Sens-Tech WCNDT [兼容模式]

Windows XP

Microsoft Word doc

r_09hr_practical_guide_kor.pdf

Microsoft Word - A doc

UDC Empirical Researches on Pricing of Corporate Bonds with Macro Factors 厦门大学博硕士论文摘要库

新 竹 縣 教 育 研 究 集 刊 第 十 一 期 民 100 年 12 月 Guo,Na-Yi Teacher of Chu-Bei Elementary School Abstract The purpose of this action research was to examine the

KDC-U5049 KDC-U4049 Made for ipod, and Made for iphone mean that an electronic accessory has been designed to connect specifically to ipod, or iphone,

Guide to Install SATA Hard Disks

國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 表 11 國 立 政 治 大 學 教 育 學 系 博 士 班 資 格 考 試 抵 免 申 請 表 論 文 題 目 申 報 暨 指 導 教 授 表 12 國 立 政 治 大 學 碩 博 士 班 論

Microsoft PowerPoint - ATF2015.ppt [相容模式]

V6800/V6600 3D

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2

國家圖書館典藏電子全文

2/80 2

System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and se

epub83-1


Microsoft Word - 第四組心得.doc

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

Microsoft Word - KSAE06-S0262.doc

K7VT2_QIG_v3

untitled

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( )

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

89???????q?l?????T??

WTO

畢業專題結案報告書格式

<4D F736F F F696E74202D20C8EDBCFEBCDCB9B9CAA6D1D0D0DEBDB2D7F92E707074>

A VALIDATION STUDY OF THE ACHIEVEMENT TEST OF TEACHING CHINESE AS THE SECOND LANGUAGE by Chen Wei A Thesis Submitted to the Graduate School and Colleg

Microsoft Word - a8_wu_guangyun

Outline Speech Signals Processing Dual-Tone Multifrequency Signal Detection 云南大学滇池学院课程 : 数字信号处理 Applications of Digital Signal Processing 2

(Microsoft Word - 11-\261i\256m\253i.doc)



Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

a b c d e f g C2 C1 2

热设计网

USPTO Academic research Corporate needs Global/International Inventors Libraries News Media/Publication Patent Attorney or Agent USPTO e (ebusiness Ce

<4D F736F F D205F FB942A5CEA668B443C5E9BB73A740B5D8A4E5B8C9A552B1D0A7F75FA6BFB1A4ACFC2E646F63>

Microsoft PowerPoint - talk8.ppt

4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡

PowerPoint Presentation

余德浩诗词

audiogram3 Owners Manual

1 目 錄 1. 簡 介 一 般 甄 試 程 序 第 一 階 段 的 準 備 第 二 階 段 的 準 備 每 間 學 校 的 面 試 方 式 各 程 序 我 的 做 法 心 得 及 筆 記 結 論..


1.1 ML_ONOFF = 1 Q 3 Q 8 C 0.3V M 2 L 1 ML_ONOFF = 0 Q 3 Q 8 C 1. + R31 VCC R21 10K ML_ONOFF R15 0:off 1:on 1K Green Light VCC=5V L1 Q VDD=12V C

前 言 一 場 交 換 學 生 的 夢, 夢 想 不 只 是 敢 夢, 而 是 也 要 敢 去 實 踐 為 期 一 年 的 交 換 學 生 生 涯, 說 長 不 長, 說 短 不 短 再 長 的 路, 一 步 步 也 能 走 完 ; 再 短 的 路, 不 踏 出 起 步 就 無 法 到 達 這 次

Microsoft Word - 18-邱湘雲( ).doc

Epson

國立桃園高中96學年度新生始業輔導新生手冊目錄

Olav Lundström MicroSCADA Pro Marketing & Sales 2005 ABB - 1-1MRS755673

A dissertation for Master s degree Metro Indoor Coverage Systems Analysis And Design Author s Name: Sheng Hailiang speciality: Supervisor:Prof.Li Hui,

《红楼梦》中茗烟与李贵的对比分析

Microsoft PowerPoint - Aqua-Sim.pptx

Microsoft Word - MTK平台生产软件使用说明.doc


GPS連續觀測網之地殼變動監測:資料品質管制系統之規劃

...1 What?...2 Why?...3 How? ( ) IEEE / 23

南華大學數位論文

els0xu_zh_nf_v8.book Page Wednesday, June, 009 9:5 AM ELS-0/0C.8

202 The Sending Back of The Japanese People in Taiwan in The Beginning Years After the World War II Abstract Su-ying Ou* In August 1945, Japan lost th

- I -

Process Data flow Data store External entity 6-10 Context diagram Level 0 diagram Level 1 diagram Level 2 diagram

Transcription:

Flappy Bird Wei Zheng Yen Hsi Lin Gaoyuan Zhang Junhui Zhang

Overview and Objectives Motivated by the flappy bird on cell phone Strategies: press the key to fly the bird the bird automatically falls down control the bird through the pipes with random heights fly as far as possible to get high scores Combine the elements of other games Objectives: make all things work together without bugs

Overview and Objectives

Overview and Objectives Image processing pre-process the images to use Generate a memory initialization file for each image Single-port ROM memory blocks 24-bit index color Audio processing pre-process the audios Generate a memory initialization file for each audio Single-port ROM memory blocks 44100Hz sampling rate 16-bit quantization

Architecture

VGA DISPLAY MODULE

Audio Controller

Keyboard Controller Use libusb C library to communicate with USB keyboard Spawn one thread to receive signal from Keyboard, leaving the main program to handle the sprite control

Game Logic Interaction between user and hardware User: keyborad Hardware: vga and audio controller Do the computation and control the game Generate the height of pipes randomly Control the up and down of bird Control when the game is over

Experience and issues in implementation Sprite background elimination (when displaying scores, bird, and sun) Simple color: check RGB value in ROM if it is equal to background value. Complex color: No efficient way to eliminate the background color.

Experience and issues in implementation Sprite for pillars In order to realize pillars with different length using only one sprite, we capture a sprite of partial pillar, with relatively small height, and combine a certain number of such sprites to form a pillar whose length is what we want. Priority of sprites We set the priority of each sprites so that the screen will show the correct image when sprites overlap with each other. Frame update synchronization Receive and update coordination during synchronization vcount>480

Experience and issues in implementation Control signal to display the title We use one bit (first bit) of the 8-bit input as the signal to control if the title flappy bird is displayed or not, so that we can add more control signals by only introducing one input signal. Problem Don t have enough space of RAM to add more signals.

Experience and issues in implementation Game logic : Time System clock data type is not available in calculation, ex: clock() Implement counter: loop number as time unit collaborating with delay, ex: usleep() Game logic : Status Status variable: record jumping and falling Status variable cooperates with initial velocity supporting continuous jumping without multithread

Experience and issues in implementation Game logic : pillar display We combine the display of pillar with the check condition ( whether the pillar is on the screen or not ), and reset the coordinate of the pillar once the condition is triggered.

Lesson learned Sprite implementation Hardware and software collaboration Time management Architecture design of SoCKit board