Simplifying iOS Game Logic With Apple’s GameplayKit’s Rule Systems

puzzle-games-preview-opt.png

When you develop a game, you need to sprinkle conditionals everywhere. If Pac-Man eats a power pill, then ghosts should run away. If the player has low health, then enemies attack more aggressively. If the space invader hits the left edge, then it should start moving right. Usually, these bits of code are strewn around, embedded in larger functions, and the overall logic of the game is difficult to see or reuse to build up new levels. Apple’s GameplayKit has

Continue Reading

Site Footer

Sliding Sidebar

Tweets