0% found this document useful (0 votes)
48 views6 pages

Project Report 393395

Uploaded by

Chetan Channe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
48 views6 pages

Project Report 393395

Uploaded by

Chetan Channe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 6
A PROJECT REPORT ON FLAPPY BIRDS USING LUA A DISSERTATION SUBMITTED FOR THE MID TERM PROJECT EVALUATION (MTE) FOR THE COMPLETION OF COURSE COMPUTER GRAPHICS (CO=313) SUBMITTED BY VISHRUTH KHARE (2K18/CO/393) VISHWAS AGARWAL (2K18/CO/395) UNDER THE SUPERVISION OF Ms. CHINGMUANKIM NAULAK DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING DELHI TECHNOLOGICAL UNIVERSITY (Formerly Dethi Colege of Engineering) Gawana Road, Dethi- 110042 Session: November, 2020 1 DECLARATION We, Vishruth Khare, Roll No. 2K18/CO/393 and Vishwas Agarwal, Roll No. 2K18/CO/395 of B.Tech Computer Engineering, hereby declare that the project titled “Flappy Birds Using Lua” which is submitted by us to the Department of Computer Engineering, Delhi Technological University (DTU), Delhi for the mid-term project evaluation (MTE), is complete and working and has properly cited all it's quotations along with a working model. New Delhi India November "20 ABSTRACT Flappy bird is a mobile game turned Web Variation in which a player controls a bird’s flight to refrain from colliding with obstacles. Tapping the keys for a longer period of time allows the bird to fly higher, while letting go causes the bird to fall down. This project will bring the mobile game to life ny creating a web. variant which is unprecedented. The FPGA will render an image of the bird flying through an environment, and display the flapping motion of the wings according to the player's ability to tap the relevant keys. We will be imploring Lua Love2D framework for the implementation of a aforementioned game development. The necessary gaming design and develepment have been kept in mind while deploying the game features. We believe that this first attempt of the employment of Web frame application in a Mobile Based gamie will be an imporiant step for a wider deployment jin the research area of computer games. INTRODUCTION The game is a side-scroller where the player controls a bird, attempting to fly between rows of green pipes, which are equally sized gaps placed at random heights, without coming into contact them. Each successful pass through @ pair of pipes awards the player one point. If the player touches the pipes, it ends the game. The bird briefly flaps upward each time the player taps the key; if the key is not tapped, the bird falls due to gravity. The player is awarded with several milestones, such as a bronze medal if they reached twenty points, a silver medal from Forty points, a gold medal from Fifty, and a platinum medal from Hundred points. The achievements get stored in the collectible haul. Compatibility : Any system with Love2D framework installed can compile, execute and play this game. TECHNOLOGY USED We have used Lua Programming Language for the development of the project. Lua is an extensible, lightweight programming language written in C. It started as an in-house project in 1993 by Roberto lerusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes. It was designed from the beginning to be a software: that can be integrated with the code written in C and other conventional languages. It does not try to do what C can already do but aims at offering what C is not good at: a good distance from the hardware, dynamic structures, no redundancies, ease of testing and debugging. For this, Lua has a safe environment, automatic memory management, “atid good facilities for handling strings and other kinds of data with dynamic size Features: : Lua provides a set of unique features that makes it distinct from other languages. These include: © Extensible o Simple © Efficient © Portable @ Free and open Lua Interpreter : The Lua Interpreter is written in ANSI C, hence it is highly portable and can run on a vast spectrum of devices from high-end network servers to small devices. Both Lua’s language and its interpreter are mature, small, and fast. It hes evolved from other programming languages and top software standards. Being ‘small. in size makes it possible for it to run on small devices with low memory. METHODOLOGY @ We first import the desired modules and import the Love2D framework in out Script ® Then the classes and objects are implemented for the bird, pipes, background, Achievements, Pause Screen and the: final display Screen. @ We develop the relevant game logic that will ensure smooth play IMPLEMENTING. IMPORTING THE MULES F——P] CLASSES ANNO OBEGTS: EMTERTSPACEORR, using brnanc: RUNNING THE DEPLOY THE pena INPUTS FROM MANLOGe |*———)]_ Functions: THE USER ESC Key PRESSED ‘TeRMeNATE and in accomplice with the screen resolution and system settings. © Once everything is in check, the player executes the code which means the functions get deployed in the main.lua code. ©@ Once the main function gets compiled, it keeps on executing until the player presses hit an obstacle or makes an_ illegal move. © Finally the score along-with the trophy is displayed on the screen and the main.lua function keeps on looping until the Player presses the Escape Key to trigger an escaping sequence that closes the window.

You might also like