/Cross-Land

CSC-303 Final Project

Primary LanguageHaxe

Cross-Land

This is a simple 2D platformer game created by LunarBitz / TeaLBiTZ (Marcus S.), a student at Missouri State University.

The main purpose of this project was to familiarize myself with HaxeFlixel and make a playable game!

Overview

In a realm filled with friendly creatures, your on vacation hoping to relax. Little do you know that your rest would come to an end. While catching some shut-eye, pandemonium suddenly strikes as the land quakes and the natives scream in fear. Not knowing what's causing panic, you need answers and unbeknownst, save the natives from the new terror. Travel across the land's terrain, collect valuables, and figure out what suddenly interrupted your vacation.

CrossLand Screenshot

Version 1.0 - Try Me!

Getting Started

To build and run Cross-Land, follow the steps below:

  1. Ensure you have Haxe, HaxeFlixel, HaxeFlixel Addons (2.8.0 +), and OpenFL installed on your computer.
  2. Open a command prompt in \Cross-Land.
  3. Run the command lime test html5 to build and run the executable.
    • To run in debug mode, run the command lime test -debug html5. Then access the debug console with the backquote key
    • Highly advised to avoid building with Neko for this project as this build is incredibly demanding and poor performing under Neko. Please use HTML5 only for the time being

Controls

  • The levels restars if the mechanic runs out of health.
  • All controls are keyboard-based.
  • Use the [LEFT] and [RIGHT] arrow keys to move the the player.
    • Hold the [UP] key and push towards a wall to slide on a wall
      • Press the arrow key opposite of the current wall while still holding [UP] to wall jump
  • Hold [DOWN] to crouch
  • Press [Z] to jump
    • Tapping [Z] will let you jump lightly
    • Holding the [Z] key will let you jump higher / to the max jump height
  • Press [X] to attack

Enemies

Basic Blob:

  • Starts off sleeping
  • When a player is too close, a yellow caution sign will appear above it, waking it up
    • Sleeping enemies will still inflict damage onto you
  • When awake and the player is still too close, a red caution sign will appear
    • This means that a spin attack from it is comming
      • An invisible, extended hitbox will damage you by then if not the physical bounding box of the blob

Colectables

Coins & Gems

  • They only contribute to your score

Powerups

  • Each powerup collected dynamically appears on the HUD in the order collected

Jump Boosts

  • Increases your max jump height
Normal Jump Boost
  • Increase by a factor or 12.5%
Super Jump Boost
  • Increase by a factor or 25%
Mega Jump Boost
  • Increase by a factor or 50%

Future Developments

This project is very rough under the hood. Listed below are some of the changes I'd like to make to this project when I have the more free time (and caffine for those all nighters).

  • Reorganize / clean up and document code
  • Add a proper level complete state
  • Extend current level
  • Add more levels
  • Add checkpoints
  • Add more enemies
  • Finish HUD
  • Add lives
  • Dialogue
  • In-game cutscenes

Due Credit (Copyrights/Attributions)

This project was assembled with various CC BY 4.0 assets avaialable on OpenGameArt and Itch.io. The following mentioned are the creators / contributors of the following assets: