Month: July 2014

July 28, 2014

Progress

I have modified the code to be compatible with Xcode 6 Beta 4 and finished implementing the simple physics system. I have not thoroughly tested it yet, but it appears to be stable enough. The next thing to implement is basic input handlers, although that will be handled game side rather than engine side.

Read More

July 12, 2014

Working Out Collisions

I have decided to cut out SpriteKit for collisions and use it only for rendering. In place of SK Physics, I will reimplement the physics and collision system from the Objective-C engine. I am taking this opportunity to refine my algorithm and make some necessary optimizations.

Read More

July 2, 2014

Generics in Swift for Entity-Component-Systems

I have revised the entity class and added a component getter that uses Swift generics to eliminate the need for type casting the result. This will lead to more concise code in most cases, and makes it less likely for us to make mistakes when using the engine to build a game.

Read More

July 1, 2014

SpriteKit and Entity-Component-Systems Revisited

In my last post, I discussed how I made SpriteKit work with the Entity-Component-System approach to game development. I was not particularly pleased with my solution, so I have revisited it and come up with a slightly better way to integrate SpriteKit.

Read More