You can download a pre-built version of the game from the Releases Section. Alternatively, you can build it yourself by following the instructions below.
- Clone this repository:
git clone https://github.com/GalaxyShad/Pascal-Sonic.git
- Download the runtime libraries from RayLib and place them in the root directory of the project.
- Install Lazarus IDE.
- Open the project in Lazarus IDE and build it.
- Make sure that you have FPC installed
- Clone this repository:
git clone --recurse-submodules -j8 https://github.com/GalaxyShad/Pascal-Sonic.git && cd Pascal-Sonic
- Compile:
fpc -MOBJFPC game.lpr -Fu"ray4laz/source"
- (if you on Windows) copy dlls from
ray4laz/libs
for your platform
- 360-degree movement
- Image-based collisions (a pixel with
alpha == 0x00
is considered empty) - High-speed movement
- Jumping
- Sound effects
- Spindash
- Arrow keys - movement
- Z key - jump/charge spindash
- D key - enable/disable drawing of collision masks
You can create your own levels by editing the textures/big-lvl.png
file. Remember, a pixel is considered collideable if its alpha value is 0.
Cuz challenge 😎
Sonic The Hedgehog is a trademark of SEGA. Please do not use any images containing Sonic for commercial purposes. The source code is released under the MIT license.