6 December 2015

How to make a jumping platformer game on xcode 7! - part 1

6 December 2015 · 10:55

Space play/pause · J/L seek 10s · [ ] previous/next

Summary

Creates a landscape Objective-C Xcode single-view platformer project, disabling Auto Layout and size classes, with floor, character, and jump-button UI. Links three IBOutlets and a jump IBAction; an NSTimer updates vertical position every 0.05 seconds using jumpValue for ascent and falling. Collision reset places the character atop the floor, but repeated presses permit unlimited jumps, excessive acceleration, hovering, and occasional floor penetration.

Insight

Continues iterative Xcode learning, moving from a fragile runner prototype toward a planned left- right platformer.