https://github.com/jessmattless/sonic-2
A remake of the game Sonic 2 made with C++ and SDL. With an added level editor
https://github.com/jessmattless/sonic-2
cpp sdl2
Last synced: over 1 year ago
JSON representation
A remake of the game Sonic 2 made with C++ and SDL. With an added level editor
- Host: GitHub
- URL: https://github.com/jessmattless/sonic-2
- Owner: JessMattless
- Created: 2023-11-23T15:31:12.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-25T22:07:06.000Z (over 2 years ago)
- Last Synced: 2025-01-25T17:13:51.862Z (over 1 year ago)
- Topics: cpp, sdl2
- Language: C++
- Homepage:
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sonic 2
This is a recreation of sonic the hedgehog 2 using C++ and SDL. Made completely from scratch and including a level editor.
# Level Editor
The level editor can be used to create & edit custom levels for the game. The levels are saved in a `.zone` format.
Clicking the `Save` Button will save the zone under
> /Zones/XXN.zone
Where `X` is the first letter of each word of the zone and `N` is the act number.
## Controls
### Editor Window
- Left Click: Place a tile, hold LShift to flip a tile horizontally, and LCtrl to flip vertically.
- Right Click: Remove a tile.
- Middle Click: Hold to pan the screen when dragging the mouse.
- Scroll Wheel: Zoom In/Out.
- WASD/Arrow Keys: Pan the screen.
- +/-: Zoom In/Out.
### Options Window
- Left click on a tile in the menu to select it to be placed.
- Click on a text box to edit it.
- Press Enter or click out of a text box to confirm changes.
- Press Escape when a text box is selected to discard changes.