TCXX / CatPhaser

Refactored version of Cat's Adventure with Phaser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CatPhaser

By Cindy Le and Xueyan Xie

Introduction

This is a game where the user can control a cat to move it to a bubble (destination). After the cat reaches the bubble, the user will go to the next level of game. We will use another framework to create this game.

How to Run

  • Upload the content in this repo to a same directory on a server.
  • Visit the file path where cat.html is located.

How to Play

  • Use ← and → to control the cat's direction and use ↑ to jump.
  • You can only jump if you touch a block.
  • If the cat exits the screen from the border on the left, right or bottom, you will lose a life. When you don't have any life left, the game is over.
  • If the cat eats a star, you will get 10 points.
  • If the cat eats a diamond, you will gain an extra life.
  • If the cat reaches the bubble, you will go to the next level.
  • You can register or log in. After you log in, you will see you highest score. If you are a new user, your current highest score will automatically be 0 when the game starts.
  • After the game is over, click "sync my score" to synchronize your score to the database. If you click this button when the game is notover, your score will not be synchronized.

License

Copyright [2016] [Cindy Le] [Xueyan Xie]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Refactored version of Cat's Adventure with Phaser

License:Apache License 2.0


Languages

Language:HTML 59.8%Language:JavaScript 22.5%Language:PHP 17.7%