https://github.com/richy486/platformer
Platfomer explorations
https://github.com/richy486/platformer
mario platformer spritekit swift
Last synced: 3 months ago
JSON representation
Platfomer explorations
- Host: GitHub
- URL: https://github.com/richy486/platformer
- Owner: richy486
- License: mit
- Created: 2018-08-24T04:16:12.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2025-02-09T15:46:48.000Z (5 months ago)
- Last Synced: 2025-02-09T16:35:33.813Z (5 months ago)
- Topics: mario, platformer, spritekit, swift
- Language: Swift
- Homepage:
- Size: 464 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Platformer
Experements in building a platformer in the style of Super Mario World and/or 3.
## Build with
- Swift 4.2
- Xcode 10
- macOS
- Sprite Kit## Inspired by
- Working from platformer code from [Super Mario War](https://github.com/mmatyas/supermariowar) by Florian Hufsky, fork by [Mátyás Mustoha](http://mmatyas.github.io/)
- Camera break downs inspired by [Scroll Back: The Theory and Practice of Cameras in Side-Scrollers](http://www.gamasutra.com/blogs/ItayKeren/20150511/243083/Scroll_Back_The_Theory_and_Practice_of_Cameras_in_SideScrollers.php) by [Itay Keren](https://twitter.com/itayke)
- Slopes from (jrndev #2)[https://web.archive.org/web/20100526071550/http://jnrdev.72dpiarmy.com:80/en/jnrdev2/] by Florian Hufsky
- Slopes from (tuts+)[https://gamedevelopment.tutsplus.com/tutorials/basic-2d-platformer-physics-part-7-slopes-groundwork--cms-28472]## Slope Colisions
Collisions on slopes are done by using two bounding boxes on each half of the player and adjusting them if the player is above a slope.

This is similar to the solution found on [this](https://forums.tigsource.com/index.php?topic=47713.msg1135390#msg1135390) post.
## Other Links
- http://www.metanetsoftware.com/technique/tutorialA.html
- http://lazyfoo.net/SDL_tutorials/index.php
- http://danjb.com/blog/tilebased_platformer_slopes
- https://forums.tigsource.com/index.php?topic=47713.0
- https://www.lexaloffle.com/bbs/?tid=28793
- https://nshipster.com/javascriptcore/