• Stars
    star
    142
  • Rank 250,215 (Top 6 %)
  • Language
    Objective-C
  • Created almost 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SukerMarioBros. β€” Swift + SpriteKit Super Mario Brosers "port"

SukerMarioBros β€” Swift and SpriteKit

UPD: working with xCode 7 & Swift 2 β€” Nov 17, 2015

This is a hackathon project done in like 12 hours β€” expect troubles :)

It builds on iOS7&8 in xCode6.2, but sprites doesn't load on iOS7 β€” http://stackoverflow.com/questions/24069168/swift-and-spritekit-wont-run-on-device-running-ios-7-1

There's a map for the whole first level. You can use Tiled to edit the level map β€” http://www.mapeditor.org/ You can find other sprites here http://www.spriters-resource.com/nes/supermariobros/ or elsewhere.

Nodes for collisions load (not at all lazily) from "Collisions" objects layer in the .tmx level map. They are stored inside a node, which moves together with the map. Not all collidable objects are added :)

Collectables (mushrooms, coins) are just rendered where they should be, for now (not by objects, simply by static tiles). There're no enemies.

I didn't have time to process any collisions. Mario can move through obstacles, if pressed by the walls :)

Have fun and contact me if you have issues.