GAME DEVELOPMENT IN JAVASCRIPT DIPLOMA COMPUTER SCIENCE PRESENTED AND DEVELOPED BY- MD.AFAQ ALI AHMED
INDEX About Language used Game development Snippets
About kaboom . js Kaboom. js is a Javascript game programming library that helps you make games fast and fun. It makes the process of game development simple and effective by the tools and functions given. This library was chose to make the process more effective, fast and enjoyable.
LANGUAGE USED Typescript - TypeScript is a programming language that adds extra functionality to JavaScript. Javascript - JavaScript , often abbreviated as JS, is a programming language and core technology of the Web, alongside HTML and CSS. 99% of websites use JavaScript on the client side for webpage behavior.
Game development
AQUA FIGHT Aqua Fight, is a survival game in which In players take on the role of a fish, aiming to accumulate points for growth and self-defense. The primary objective is to thrive in the underwater environment by strategically navigating through challenges and gaining as many points as possible BY EATING FOOD. However, the ocean is not without its dangers. Predatory sharks lurk in the depths, creating a constant threat to the fish population. Players must skillfully maneuver their fish to avoid these predators, thereby ensuring survival and maximizing their points.
CONTROLS AND WORKING PLAYER CAN USE THE ARROW KEYS TO MOVE THE ENTITY FISH across the screen. There are incoming predators coming from one side of the screen moving to the other side to hunt down the fish, dodge to survive. Food with Worm like appearance is spawned from one side and moves to the other side, catch it in time to eat and grow while avoiding the predators. Once the fish is bigger than the predators it is safe, but there will be bigger predators too.
LOGIC AND MECHANICS Upon collision with the predators the code checks the size of the fish and if its smaller than the predator the "bite" animation plays and the fish is destroyed. If the fish is bigger than the predator the predator is destroyed Once the fish is destroyed there is a button to restart. Upon collision with the food the fish grows a small percentage in size and the food is destroyed.
Additional features Music and audio - there is background music and sound effects Menu page - functional start and quit buttons Animations - the movement of the fish is animated, the movement of the shark is animated and also contains a bite animation.