Tag: game programming
-
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.
-
2020 Update: Back to Unity and C#
Has been a crazy 2020 so far, am I right? Things are more stable now on my end, so is the time to go back to Unity, and C#. My last post was around a year ago , this also is ( more or less) the time when I’ve stopped coding so I can say…
-
Roguelike C# in Unity (3/13): Generating a dungeon
Welcome to the 3rd part of the tutorial! The original Python tutorial can be found here. Previous posts for C# in Unity: 1- RogueLike C# in Unity (1/13): Drawing the ‘@’ symbol and moving it around 2- RogueLike C# in Unity (2/13): The generic Entity, the render functions, and the map This is starting to…
-
RogueLike C# in Unity (2/13): The generic Entity, the render functions, and the map
Part 2 is here. This week we’ll create a generic Entity from where we’ll create all our entities, we’ll skip the original render functions from the original Python version, as won’t be used here, and finally we’ll create a basic map where we’ll be moving around. Don’t forget to check out the previous parts of…