Skip to content

alimahad/FlingShot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Great-Expectasians

Flingshot game

Flingshot

What is it?

Flingshot uses Phaser, a phsyics engine, to simulate a game where you can hit students from the back of classroom. The game is sparked from our childhood imagination to tease other students in our class. Never attempted in real life, we created this game to fulfill your fantasy without getting yourself suspended. This is a fun, quick, low-stake, yet addicting game for people looking for ways to take a short break from work.

User Documentation

Installation

No hardware installation is necessary. Please visit https://alimahad.github.io/Great-Expectasians/Flingshot/ and enjoy the game.

The game works for both Android and Apple devices. It is compatiable with most browsers (i.e.: Chrome, Firefox, Safari, IE, Opera.) This game is best experienced on a mobile, touch-screen device.

Instruction

image

Users can drag anywhere from the screen to shoot paper balls at only students who raise their hands. Users get 10 points for hitting the right student, and lose 5 points for hitting the wrong one. The student raising their hand will change at random, and this change will happen at quicker at higher level. Each level lasts 30 seconds (shown by a timer in the top left corner) and a score goal users need to meet to progress to the next level. There are seven levels in this game with increasing difficulties.

FAQ

  1. Do I have to drag from the flingshot to launch the ball?

No. It's actually to your advantage to drag from different places on the screen to launch the ball faster.

  1. Which student do I hit?

The one who lights up and raises their hand.

  1. How do I win this game?

You need to reach the level score goal, displayed next to your current score and in the level progress bar, to move to the next level. The game will progressingly become more challenging and exciting to play.

  1. How can I play this game?

Visit this link: https://alimahad.github.io/Great-Expectasians/Flingshot/

Developer Documentation

This is a working version of the game. To clone the latest version, please visit https://alimahad.github.io/Great-Expectasians.

This game was written with JavaScript and used Phaser as the game engine. It requires Phaser 2.7.7 or later, and HTML5 or later. Please visit https://phaser.io/ to install the game engine and check out their tutorials/documentations. Additionally, polylines for collision objects in this game were created using PhysicsEditor, though any similar software would work. Animations in the game are created using sprite sheets. After cloning or downloading the project, run it using your local server.

Current state of project

The current project has all the essential features we envisioned our game to have. In the first version of the game, we had the ball launcher control schemes (the arrow), the physics of the balls (flying motion and collision detection) and students working. We also had level timer and level score goals implemented so users can level up. After much user testings, in the second version of the game, we polished the graphics, made elements in the UI display (i.e. buttons, score, timer, transparency of students, display of plus points) more obvious to convey the game play better. We also added sound effects, student reaction animations and background animations (the teacher) to make the game more polished and engaging.

Future work

We would like to add more levels and vary the difficulty and predictability of the game by adding moving targets or rearranging the placements of the students. At present, users also cannot go back to the instruction page once they've entered the play state.

Contacts

o Flingshot is created by Great-Expectasians. Our team includes Jack Chen, Nguyen Phuc, Taneeya Rele, Ali Mahad.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages