Tag: indiedev
-
How to add music and sounds to an iOS or macOS game with AVFoundation
While working on adding music and sounds to my latest project I found a problem: If you’re running some background music and then you trigger a sound ( for example by picking up some item ) the music will stop, as you’re overriding the sound with the new object. In order to fix this we…
-
Creating a game for iOS with Swift and SpriteKit
How to create a 2D game for iOS with Swift and SpriteKit . We’ll take the classic Pong and do our own iteration as code exercise.
-
Java Roguelike notes (5/13): How to create a Field Of View or Fog Of War
Let’s create a Field of View, so the dungeon unwraps as we walk through it, keeping the player in the dark for undiscovered zones.
-
Java Roguelike notes (4/13): How to add game collisions
Adding interactivity by creating tile collisions: Making our player interact with the game environment.
-
Java Roguelike notes (3/13): How to place random items and enemies in our dungeon
One step further: Placing random items and enemies in our dungeon with two simple methods