Pascal-Sonic
所属分类:其他
开发工具:Pascal
文件大小:0KB
下载次数:0
上传日期:2023-12-07 20:15:00
上 传 者:
sh-1993
说明: 使用Object Pascal编程语言制作的声音游戏
(Sonic game made using Object Pascal programming language)
文件列表:
LICENSE (1067, 2023-12-07)
collidebleimage.pas (1265, 2023-12-07)
game.ico (133345, 2023-12-07)
game.lpi (2457, 2023-12-07)
game.lpr (3783, 2023-12-07)
platform.inc (1893, 2023-12-07)
player.pas (13181, 2023-12-07)
rectanglecollider.pas (166, 2023-12-07)
sounds/ (0, 2023-12-07)
sounds/jump.wav (74300, 2023-12-07)
sounds/peel-out.wav (359528, 2023-12-07)
sounds/roll.wav (356360, 2023-12-07)
sounds/spin-charge.wav (323452, 2023-12-07)
sounds/spin-release.wav (252600, 2023-12-07)
textures/ (0, 2023-12-07)
textures/Sonic 3 - Sonic.png (132852, 2023-12-07)
textures/big-lvl.png (34803, 2023-12-07)
textures/ground.png (5099, 2023-12-07)
textures/loop.png (3976, 2023-12-07)
png (295, 2023-12-07)
textures/mask-small-bottom.png (146, 2023-12-07)
textures/mask-small-left.png (144, 2023-12-07)
textures/mask-small-right.png (150, 2023-12-07)
textures/mask-small-top.png (137, 2023-12-07)
textures/mask-small.png (132, 2023-12-07)
textures/pink-star.png (2096, 2023-12-07)
textures/solid_obj.bmp (2102, 2023-12-07)
textures/solid_obj.png (2471, 2023-12-07)
unitCollidebleImage.pas (1973, 2023-12-07)
unitsensor.pas (5271, 2023-12-07)
unitterrain.pas (1339, 2023-12-07)
Pascal-Sonic
Sonic game made using Object Pascal programming language and RayLib.
## How to run?
You can download a pre-built version of the game from the [Releases Section](https://github.com/GalaxyShad/Pascal-Sonic/releases). Alternatively, you can build it yourself by following the instructions below.
## How to build?
1. Clone this repository:
```
git clone https://github.com/GalaxyShad/Pascal-Sonic.git
```
3. Download the runtime libraries from [RayLib](https://www.raylib.com/) and place them in the root directory of the project.
4. Install [Lazarus IDE](https://www.lazarus-ide.org/).
5. Open the project in Lazarus IDE and build it.
## Dependencies
* [RayLib](https://www.raylib.com/)
* [Ray4Laz](https://github.com/GuvaCode/Ray4Laz)
## Features
* 360-degree movement
* Image-based collisions (a pixel with `alpha == 0x00` is considered empty)
* High-speed movement
* Jumping
* Sound effects
* Spindash
## Controls
* ***Arrow keys*** - movement
* ***Z key*** - jump/charge spindash
* ***D key*** - enable/disable drawing of collision masks
## How to create your own levels
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.
## Why not use a higher-level programming language?
Cuz challenge
## License
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](https://github.com/GalaxyShad/Pascal-Sonic/blob/main/LICENSE).
近期下载者:
相关文件:
收藏者: