The one year game develpoment duel
  • Jul

    12

    Isometric Projectile Trajectory in Swift and SpriteKit0 commentscodespritekit

    How do you launch a catapult, grenade, arrow, or any other projectile in an isometric world? I had to joy of figuring that out over these past two days, and I thought I would share. Before jumping in, let me point out that the code below is for my specific use case, and is not a full featured framework. So, you'll still have to understand the concepts, but if you're Googling for help this will hopefully get you on the right track. Read More

  • Jan

    8

    Detecting and Managing Memory Leaks Between SKScenes0 commentscodespritekit

    Memory leaks suck. You know they exist, and you dread the day you have to track them down. In SpriteKit, I've encountered two main types of leaks. One is where the entire scene is not deallocated after transitioning to a new scene. The other is where memory is constantly being used up while interacting with a scene. For the latter, you have to use Instruments in XCode, or comb over your code, to get a handle on what is happening. But, for cleaning up scenes after you're finished with them, here are a few tips that simplified the process for me. Read More

  • Nov

    13

    Working With GKObstacleGraph0 commentscodespritekit

    This purpose of this post is to document some of the frustrations with pathfinding. I'm finding that it is too boring to try to implement every map at once, so I'm touching pathfinding every other week or so. As a refresher, the video below has served as my primer on GKObstacleGraph whenever I need to revisit pathfinding. So, if you're a SpriteKit / GameplayKit user, you may find my approach interesting. Read More

  • May

    28

    Understanding Shaders in SpriteKit9 commentscodeshaderspritekit

    If you're new to game development, you've probably heard of shaders but don't quite understand them. If you're new to SpriteKit, you've probably hit a few speed bumps working with shaders. Since I'm still learning more about the two, I figured it would be nice to put up a concrete example that covers cropping and effects using shaders. Specifically, we'll cover two concepts: Read More

  • Feb

    3

    Saving Game Data in SpriteKit12 commentscodespritekitswift

    When searching for tips on how to save game data in SpriteKit, most posts explain how to save one variable (high score, for example). In that regard, this Thinking Swiftly post was extremely helpful, and is where a majority of the code below comes from. I just wanted to extend that post, and look at how an entire object could be saved in a self contained way. Read More

  • Jan

    26

    Create Skippable Cutscenes in SpriteKit with Timing Functions2 commentscodespritekitswift

    Cutscenes are a labor of love, so it is hard accepting that some people just don't care. That story that took months to bring together may be amazing to you, but to others it is just an inconvenience. So, for that reason, we have to make cutscenes skippable. However, I didn't want to just settle at skipping the entire scene. I wanted to also make it skimmable for the speed readers, or those who are mildly interested. Read More

  • Jan

    20

    Outline Text in SpriteKit2 commentscodespritekit

    It's funny how the tasks that should be easy end up consuming the most amount of time. As of this writing, there is no easy way to outline text in SpriteKit. It's common to see approach that add a shadow node, but sometimes more contrast is needed. Here's what I have discovered. Read More

Popular Tags

Currently viewing Ryan's posts tagged with spritekit.

What's this contest about?

Armed with little to no game development experience, the Brothers Campbell are attempting to make video games for a living. We believe the best way for us to learn is to do what comes naturally to brothers — Compete! The challenge is to see who can make the most successful video game on a budget of $25,000 and in one year’s time. The duel begins on April 7th, 2014 and we'll be documenting the journey.


How will you determine the winner?

It’s simple. The most profitable game wins. We’ll have 6 months to market the game after the one year development deadline on April 7th, 2015.

Learn more about the competition