Create FIRST VIDEO (5min) speech authored by jvu2's avatar jvu2
Our team consists of Jessica and Simon. We are working towards developing a simple mini game called Bunny Crossy, inspired by Crossy Road and Frogger. It’s a multiplayer game where each player controls a bunny that must safely avoid moving cars to cross the road and reach their home.
The features we are aiming to implement in order to create our game are player movement, obstacle movement, win/loss condition and multiplayer mode.
For player movement, we’ve implemented player controls where pressing the up-arrow key will move the bunny up, pressing the left-arrow key will move it backwards etc. (show code snippet) The player can dodge the moving cars by pressing these key arrows.
For obstacle movement, cars will be moving across the screen at a fixed speed independently. (show code snippet)
For collision detection, to demonstrate what happens when a bunny gets in contact with a moving car, we’ve added a basic collision detection system. This checks whether the bunny has collided with a car. (show code snippet)
If collision has occurred with a player’s bunny, the player will have lost control of the bunny. (show code snippet)
We’ve also implemented a multiplayer mode and win/loss condition feature where this game can only be played with two players.
(show code snippet) if one bunny is hit, the other player’s bunny can still continue.
(show code snippet) In order for it to be a win condition, it requires both bunnies to make it home.
While developing Bunny Crossy, we encountered some challenges, particularly with collision detection. Initially, we faced issues with false-positive collisions due to inaccurate boundaries in the detection box. We refined the detection logic to address these issues and improve the gameplay experience. We are also trying to get the bunny to move smoothly, and we welcome any suggestions to improve or enhance the features of our gameplay.