Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/