Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/richy486/platformer
Platfomer explorations
https://github.com/richy486/platformer
mario platformer spritekit swift
Last synced: 10 days ago
JSON representation
Platfomer explorations
- Host: GitHub
- URL: https://github.com/richy486/platformer
- Owner: richy486
- License: mit
- Created: 2018-08-24T04:16:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-31T19:51:34.000Z (about 6 years ago)
- Last Synced: 2024-11-05T22:43:15.206Z (about 2 months ago)
- Topics: mario, platformer, spritekit, swift
- Language: Swift
- Homepage:
- Size: 353 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.
![Adjusting Bounding Box Slope Collision](images/adjustingBoundingBoxSlopeCollision.png "Logo Title Text 1")
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/