<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Check Sim Games</title>
    <link>https://checksimgames.com/</link>
    <description>Recent content on Check Sim Games</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 09 Feb 2026 14:21:37 -0500</lastBuildDate>
    <atom:link href="https://checksimgames.com/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Xcode Tile Map Editor Introduction</title>
      <link>https://checksimgames.com/posts/xcode-tilemap-editor/</link>
      <pubDate>Mon, 09 Feb 2026 14:21:37 -0500</pubDate>
      <guid>https://checksimgames.com/posts/xcode-tilemap-editor/</guid>
      <description>&lt;p&gt;Xcode includes a tile map editor you can use to build levels in SpriteKit games. Unfortunately the tile map editor is not intuitive to use, and Apple does not provide any documentation on using the tile map editor. This article should help you get started using Xcode&amp;rsquo;s tile map editor.&lt;/p&gt;&#xA;&lt;p&gt;If you haven&amp;rsquo;t used Xcode&amp;rsquo;s scene editor before, read the following article:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://checksimgames.com/introducing-xcodes-scene-editor/&#34;&gt;Introducing Xcode&amp;rsquo;s Scene Editor&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Using Xcode&amp;rsquo;s tile map editor requires you to do the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add a tile set to your project&lt;/li&gt;&#xA;&lt;li&gt;Add tile image files to your project&lt;/li&gt;&#xA;&lt;li&gt;Add tile groups to your tile set&lt;/li&gt;&#xA;&lt;li&gt;Add tiles to your tile groups&lt;/li&gt;&#xA;&lt;li&gt;Add a tile map node to your SpriteKit scene&lt;/li&gt;&#xA;&lt;li&gt;Paint tiles with the tile map editor&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;add-a-tile-set-to-your-project&#34;&gt;Add a Tile Set to Your Project&lt;/h2&gt;&#xA;&lt;p&gt;The first thing you must do to create tile maps is add a tile set to your project. A tile set contains a group of tiles.&lt;/p&gt;&#xA;&lt;p&gt;Press Cmd-N or choose File &amp;gt; New &amp;gt; File in Xcode to add a new file to your project. The New File Assistant opens. The file template for a tile set is in the Resource section.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/TileSetFileTemplate.png&#34; alt=&#34;Tile Set File Template&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Select the SpriteKit Tile Set template and click the Next button.&lt;/p&gt;&#xA;&lt;p&gt;Next you&amp;rsquo;ll be asked to choose the type of tile set to add. You can choose from the following tile set options:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Grid&lt;/li&gt;&#xA;&lt;li&gt;Isometric&lt;/li&gt;&#xA;&lt;li&gt;Hexagonal&lt;/li&gt;&#xA;&lt;li&gt;Empty&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Choose Empty Tile Set if you have an existing set of tiles you want to add to your game. The other options help if you want to experiment with painting tiles in the scene editor.&lt;/p&gt;&#xA;&lt;h2 id=&#34;add-your-tiles-to-the-project&#34;&gt;Add Your Tiles to the Project&lt;/h2&gt;&#xA;&lt;p&gt;To add tiles to your project, you must add the tile image files to your project&amp;rsquo;s Assets catalog.&lt;/p&gt;&#xA;&lt;p&gt;Select the &lt;code&gt;Assets&lt;/code&gt; item from the left side of the project navigator to open the Assets catalog. Add the image files for your tiles to the Assets catalog.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/AssetsCatalog.png&#34; alt=&#34;Assets Catalog&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Either drag and drop the image files from the Finder to the Assets list or click the Add button at the bottom of the list and choose Import.&lt;/p&gt;&#xA;&lt;h2 id=&#34;add-a-tile-group-to-the-tile-set&#34;&gt;Add a Tile Group to the Tile Set&lt;/h2&gt;&#xA;&lt;p&gt;Select the tile set from the left side of the project window to open the tile set editor. The tile set editor looks similar to the following screenshot:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/TileSetEditor.png&#34; alt=&#34;Tile Set Editor&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The left side of the editor has a list that shows the hierarchy of the tile set. Selecting an item from the list shows the details in the right side of the editor.&lt;/p&gt;&#xA;&lt;p&gt;A tile set contains a list of tile groups. The screenshot shows four tile groups: grass, cobblestone, sand, and water.&lt;/p&gt;&#xA;&lt;p&gt;Clicking the disclosure triangle next to a group shows the group&amp;rsquo;s rules. SpriteKit tile map rules can contain a list of tile definitions and an adjacency group.&lt;/p&gt;&#xA;&lt;p&gt;A tile definition represents a single tile. An adjacency group defines how neighboring tiles are placed. Suppose you have water tiles in your tile map. You can create an adjacency group that has tiles that show part water and part sand to represent the edges of a body of water.&lt;/p&gt;&#xA;&lt;p&gt;Select an item from the left side of the tile set editor, right-click, and choose New &amp;gt; Single Tile Group to add a tile definition. Choose New &amp;gt; 8-Way Adjacency Group to create an adjacency group.&lt;/p&gt;&#xA;&lt;h2 id=&#34;adding-tiles-to-the-group&#34;&gt;Adding Tiles to the Group&lt;/h2&gt;&#xA;&lt;p&gt;Open Xcode&amp;rsquo;s Library window so you can add tile images to the tile groups in the tile set editor. Hold down the Option key and choose View &amp;gt; Show Library to open the Library window. Holding the Option key when opening the Library keeps the Library window open.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/TileLibraryWindow.png&#34; alt=&#34;Tile Library Window&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Drag a tile image from the Library window to a slot in the tile set editor.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/TileSetEditor.png&#34; alt=&#34;Tile Set Editor&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;For an adjacency group, you must supply 13 tile images, one for each slot in the group.&lt;/p&gt;&#xA;&lt;p&gt;For a single tile, you must supply at least one tile image. If you want to create variants of the tile, you can supply additional images by dragging them to the Add New Variant slot. If you create variants, the tile map editor chooses a tile variant at random when you paint a tile in that group. The point of variants is to create large areas that don&amp;rsquo;t look exactly the same.&lt;/p&gt;&#xA;&lt;h2 id=&#34;build-the-level&#34;&gt;Build the Level&lt;/h2&gt;&#xA;&lt;p&gt;To build a level with Xcode&amp;rsquo;s tile map editor, you must do the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add a tile map node to the SpriteKit scene&lt;/li&gt;&#xA;&lt;li&gt;Choose a tile set for the tile map&lt;/li&gt;&#xA;&lt;li&gt;Start editing the tile map&lt;/li&gt;&#xA;&lt;li&gt;Paint tiles in the scene&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;add-a-tile-map-node-to-scene&#34;&gt;Add a Tile Map Node to Scene&lt;/h3&gt;&#xA;&lt;p&gt;Press Cmd-Shift-L or choose View &amp;gt; Show Library to access the Library. Select the Tile Map Node item from the Library and drag it to the scene canvas.&lt;/p&gt;&#xA;&lt;h3 id=&#34;choose-the-tile-set-for-the-tile-map&#34;&gt;Choose the Tile Set for the Tile Map&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select the tile map item from the scene graph view.&lt;/li&gt;&#xA;&lt;li&gt;Open the attributes inspector on the right side of the project window. Cmd-Option-4 is the keyboard shortcut.&lt;/li&gt;&#xA;&lt;li&gt;Choose a tile set from the Tile Sets menu.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/TileMapAttributesInspector.png&#34; alt=&#34;Tile Map Attributes Inspector&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Use the attributes inspector to set the map size, tile size, and position.&lt;/p&gt;&#xA;&lt;h3 id=&#34;edit-the-tile-map&#34;&gt;Edit the Tile Map&lt;/h3&gt;&#xA;&lt;p&gt;It&amp;rsquo;s not obvious how to edit the tile map in Xcode&amp;rsquo;s scene editor. Select the tile map node from the scene graph view. Choose Editor &amp;gt; Edit Tile Map to start editing the tile map.&lt;/p&gt;&#xA;&lt;h3 id=&#34;tile-map-editor-buttons&#34;&gt;Tile Map Editor Buttons&lt;/h3&gt;&#xA;&lt;p&gt;When you start editing the tile map, the tile map editor buttons appear above the canvas.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/TileMapEditorButtons.png&#34; alt=&#34;Tile Map Editor Buttons&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The buttons, running from left to right, are the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Hand&lt;/li&gt;&#xA;&lt;li&gt;Eyedropper&lt;/li&gt;&#xA;&lt;li&gt;Select Tile&lt;/li&gt;&#xA;&lt;li&gt;Brush&lt;/li&gt;&#xA;&lt;li&gt;Flood Fill&lt;/li&gt;&#xA;&lt;li&gt;Erase&lt;/li&gt;&#xA;&lt;li&gt;Select Brush Size&lt;/li&gt;&#xA;&lt;li&gt;Create Stamp&lt;/li&gt;&#xA;&lt;li&gt;Select Stamp&lt;/li&gt;&#xA;&lt;li&gt;Randomize&lt;/li&gt;&#xA;&lt;li&gt;Done&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;painting-a-single-tile&#34;&gt;Painting a Single Tile&lt;/h3&gt;&#xA;&lt;p&gt;Take the following steps to paint a single tile:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Click the Select Tile button.&lt;/li&gt;&#xA;&lt;li&gt;Choose a tile from the popover.&lt;/li&gt;&#xA;&lt;li&gt;Click where you want to place the tile in the canvas.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;If you make a mistake, click the Erase button and click the tile you want to erase.&lt;/p&gt;&#xA;&lt;p&gt;Click the Hand button to move around the canvas.&lt;/p&gt;&#xA;&lt;p&gt;Click the Done button when you are finished painting tiles.&lt;/p&gt;&#xA;&lt;h3 id=&#34;painting-larger-areas&#34;&gt;Painting Larger Areas&lt;/h3&gt;&#xA;&lt;p&gt;Painting a large map one tile at a time can be tedious. Xcode&amp;rsquo;s tile map editor provides the following ways to paint larger areas:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Increase brush size&lt;/li&gt;&#xA;&lt;li&gt;Flood fill&lt;/li&gt;&#xA;&lt;li&gt;Create stamps&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Increasing the brush size paints multiple rows and columns with a single tile. Click the Select Brush Size button to increase the brush size.&lt;/p&gt;&#xA;&lt;p&gt;Flood fill fills a large area with a single tile. Click the Flood Fill button to perform a flood fill.&lt;/p&gt;&#xA;&lt;p&gt;Stamps let you select a group of placed tiles and create a template you can use to paint that group with one click in the canvas. Take the following steps to create a stamp:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Click the Create Stamp button.&lt;/li&gt;&#xA;&lt;li&gt;Click the tile in the tile map that should be the upper left part of the stamp.&lt;/li&gt;&#xA;&lt;li&gt;Click the tile that should be the lower right part of the stamp.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Click the Select Stamp button to select a stamp to use.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Using Virtual Controllers in an iOS Game</title>
      <link>https://checksimgames.com/using-virtual-controllers-in-an-ios-game/</link>
      <pubDate>Wed, 17 Jul 2024 18:48:41 +0000</pubDate>
      <guid>https://checksimgames.com/using-virtual-controllers-in-an-ios-game/</guid>
      <description>&lt;p&gt;Apple provides the Game Controller framework to simplify supporting game controllers for games on Apple platforms. The Game Controller framework includes the &lt;code&gt;GCVirtualController&lt;/code&gt; class for iOS games that displays a virtual controller on the touch screen. The virtual controller lets people play your game if they don’t have a physical game controller. The benefit of using Apple’s virtual controller is you don’t have to write your own.&lt;/p&gt;&#xA;&lt;p&gt;You have to do the following tasks to use a virtual controller in your iOS game:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Configure the controller&lt;/li&gt;&#xA;&lt;li&gt;Create the controller&lt;/li&gt;&#xA;&lt;li&gt;Add value changed handlers&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;configurethecontroller&#34;&gt;Configure the Controller&lt;/h3&gt;&#xA;&lt;p&gt;When you configure a virtual controller, you specify the input elements (controls) you want for the controller: joysticks, direction pads, and buttons.&lt;/p&gt;&#xA;&lt;p&gt;To configure the controller, create an instance of &lt;code&gt;GCVirtualController.Configuration&lt;/code&gt;. The instance has an &lt;code&gt;elements&lt;/code&gt; property that contains a set of elements the virtual controller has.&lt;/p&gt;&#xA;&lt;p&gt;You must specify the input elements your game needs. The names of the elements have the prefix &lt;code&gt;GCInput&lt;/code&gt;. The following code creates a controller with a virtual joystick on the left side of the screen and an A button:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; controllerConfig = GCVirtualController.Configuration()&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;controllerConfig.elements = [GCInputLeftThumbstick, GCInputButtonA]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;createthecontroller&#34;&gt;Create the Controller&lt;/h3&gt;&#xA;&lt;p&gt;To create the virtual controller, call the initializer for the &lt;code&gt;GCVirtualController&lt;/code&gt; class. Supply the configuration you created. Call the &lt;code&gt;connect&lt;/code&gt; function to use the virtual controller in your game:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; controller = GCVirtualController(configuration: controllerConfig)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;controller.connect()&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;addvaluechangedhandlers&#34;&gt;Add Value Changed Handlers&lt;/h3&gt;&#xA;&lt;p&gt;When the player uses the virtual controller, it creates value changed events. You must create value changed handlers for the input elements (controls) your game handles. You must also set the value changed handler for each input element to the handler you created.&lt;/p&gt;&#xA;&lt;p&gt;The value changed handler is a closure (a function without a name). The data type for joystick and direction pad handlers is &lt;code&gt;GCControllerDirectionPadValueChangedHandler&lt;/code&gt;. The data type for button handlers is &lt;code&gt;GCControllerButtonValueChangedHandler&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In the closure write code to handle the particular event. For example a side scrolling platform game may have a button for jumping. Call the &lt;code&gt;jump&lt;/code&gt; function in the closure for the jump button’s value changed handler. The following code shows the value changed handler for a button:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; buttonAHandler: GCControllerButtonValueChangedHandler = &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;{ button, pressure, pressed &lt;span style=&#34;color:#66d9ef&#34;&gt;in&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#x9;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; pressed {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#x9;jump()&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;pressure&lt;/code&gt; argument is a value from 0 to 1 that measures the force of the button press. The &lt;code&gt;pressed&lt;/code&gt; argument tells you whether or not the button was pressed.&lt;/p&gt;&#xA;&lt;p&gt;The following code shows a value changed handler for using a virtual joystick to move the player:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; movementHandler: GCControllerDirectionPadValueChangedHandler = &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;{ dPad, xValue, yValue &lt;span style=&#34;color:#66d9ef&#34;&gt;in&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;movePlayer(x: xValue, y: yValue)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;xValue&lt;/code&gt; and &lt;code&gt;yValue&lt;/code&gt; arguments tell you how far the joystick moved on the x and y axes.&lt;/p&gt;&#xA;&lt;p&gt;The final step is to set the value changed handler for each input element. The virtual controller has a &lt;code&gt;controller&lt;/code&gt; property where you access input elements. This property has an &lt;code&gt;extendedGamepad&lt;/code&gt; property that contains the input elements.&lt;/p&gt;&#xA;&lt;p&gt;For each input element in the &lt;code&gt;extendedGamepad&lt;/code&gt; property that your game uses, set its &lt;code&gt;valueChangedHandler&lt;/code&gt; property to the value changed handler you created. The following code sets the value changed handlers for the virtual joystick and a jump button:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; gamePad = virtualController?.controller?.extendedGamepad {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;gamePad.leftThumbstick.valueChangedHandler = movementHandler&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;gamePad.buttonA.valueChangedHandler = buttonAHandler&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;demoproject&#34;&gt;Demo Project&lt;/h3&gt;&#xA;&lt;p&gt;I have a &lt;a href=&#34;https://github.com/CheckSimGames/VirtualControllerDemo&#34;&gt;demo project on GitHub&lt;/a&gt; that moves a sprite around the screen using a virtual joystick.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Why Does my SpriteKit Sprite Drop off the Screen?</title>
      <link>https://checksimgames.com/why-does-my-spritekit-sprite-drop-off-the-screen/</link>
      <pubDate>Wed, 07 Dec 2022 19:24:51 +0000</pubDate>
      <guid>https://checksimgames.com/why-does-my-spritekit-sprite-drop-off-the-screen/</guid>
      <description>&lt;p&gt;You’re making a SpriteKit game. You have a sprite on the screen. You run the game, and the sprite falls off the screen. Why is this happening?&lt;/p&gt;&#xA;&lt;p&gt;The answer is gravity.&lt;/p&gt;&#xA;&lt;p&gt;If you add a physics body to a sprite, it is initially affected by gravity. Gravity is a downward force. The game launches, and the sprite moves down. Because there’s nothing in the scene to stop the sprite’s downward movement, it moves off the screen.&lt;/p&gt;&#xA;&lt;p&gt;The fix is to set the physics body’s &lt;code&gt;affectedByGravity&lt;/code&gt; property to false.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sprite.physicsBody.affectedByGravity = &lt;span style=&#34;color:#66d9ef&#34;&gt;false&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now the sprite will stay where you placed it.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Keep the Player on the Screen with SpriteKit Constraints</title>
      <link>https://checksimgames.com/keep-the-player-on-the-screen-with-spritekit-constraints/</link>
      <pubDate>Wed, 30 Nov 2022 18:34:40 +0000</pubDate>
      <guid>https://checksimgames.com/keep-the-player-on-the-screen-with-spritekit-constraints/</guid>
      <description>&lt;p&gt;If you have a game where the scene doesn’t scroll, you want to prevent the player from moving off the screen. SpriteKit constraints provide a nice way to keep the player on the screen at all times.&lt;/p&gt;&#xA;&lt;h3 id=&#34;creatingapositionconstraint&#34;&gt;Creating a Position Constraint&lt;/h3&gt;&#xA;&lt;p&gt;Start by creating a range that specifies the lower and upper limits for a sprite’s position. Call the &lt;code&gt;SKRange&lt;/code&gt; initializer and supply the lower and upper limits. The initializer for &lt;code&gt;SKRange&lt;/code&gt; takes floating point values. You will get a compiler error if you supply integers, such as the following:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; playerRange = SKRange(lowerLimit: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;, upperLimit: &lt;span style=&#34;color:#ae81ff&#34;&gt;999&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After creating the range, call the &lt;code&gt;SKConstraint&lt;/code&gt; class function &lt;code&gt;positionX&lt;/code&gt; or &lt;code&gt;positionY&lt;/code&gt; and supply the range.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;SKConstraint&lt;/code&gt; class has two &lt;code&gt;positionX&lt;/code&gt; functions. One version constrains the sprite’s &lt;code&gt;x&lt;/code&gt; value. The other version constrains both the &lt;code&gt;x&lt;/code&gt; and &lt;code&gt;y&lt;/code&gt; values. I’m not sure why they didn’t name the other version &lt;code&gt;positionXY&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;After creating the constraints, add them to the sprite by setting its &lt;code&gt;constraints&lt;/code&gt; property. The &lt;code&gt;constraints&lt;/code&gt; property takes an array of constraints.&lt;/p&gt;&#xA;&lt;h3 id=&#34;constraintexample&#34;&gt;Constraint Example&lt;/h3&gt;&#xA;&lt;p&gt;Suppose you have a brick breaking game where the paddle moves horizontally. The following code creates a constraint to prevent the paddle from moving off the screen:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; minX = &lt;span style=&#34;color:#ae81ff&#34;&gt;0.0&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; maxX = scene.size.width&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; paddleRange = SKRange(lowerLimit: minX, upperLimit: maxX)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; paddleConstraint = SKConstraint.positionX(paddleRange)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;paddle.sprite.constraints = [paddleConstraint]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;keepingthespritecompletelyonthescreen&#34;&gt;Keeping the Sprite Completely on the Screen&lt;/h3&gt;&#xA;&lt;p&gt;One issue with the code listing from last section is half of the paddle may move off the screen. If you want to prevent any part of the sprite from going off the screen, you must account for the sprite’s size when setting the range.&lt;/p&gt;&#xA;&lt;p&gt;Why can part of the sprite move off the screen with the code from the last section? SpriteKit uses the center of the sprite to determine its position. Suppose the player moves left. The sprite will keep going left until the center of the sprite reaches zero. Because the sprite can move left until its center is at the left edge of the screen, half the sprite can move off the screen.&lt;/p&gt;&#xA;&lt;p&gt;To keep the sprite completely on screen, set the lower range limit to be half the sprite’s width (or height for vertical constraints). Set the upper limit to be the edge of the screen minus the lower limit.&lt;/p&gt;&#xA;&lt;p&gt;The following code prevents any part of the paddle from moving off the screen:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; minX = paddle.sprite.size.width &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; maxX = scene.size.width &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt; minX&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; paddleRange = SKRange(lowerLimit: minX, upperLimit: maxX)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; paddleConstraint = SKConstraint.positionX(paddleRange)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;paddle.sprite.node.constraints = [paddleConstraint]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;fullexample&#34;&gt;Full Example&lt;/h3&gt;&#xA;&lt;p&gt;I have an example on GitHub that demonstrates keeping the player on the screen in a simple game.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/CheckSimGames/Catcher&#34;&gt;Xcode version&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/CheckSimGames/CatcherSwiftPlaygrounds&#34;&gt;Swift Playgrounds version&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The &lt;code&gt;placePlayer&lt;/code&gt; function in the &lt;code&gt;GameScene&lt;/code&gt; class has the code to keep the player from going off the screen.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>SpriteKit Overview</title>
      <link>https://checksimgames.com/spritekit-overview/</link>
      <pubDate>Tue, 22 Nov 2022 18:49:38 +0000</pubDate>
      <guid>https://checksimgames.com/spritekit-overview/</guid>
      <description>&lt;h3 id=&#34;whatisspritekit&#34;&gt;What is SpriteKit?&lt;/h3&gt;&#xA;&lt;p&gt;SpriteKit is Apple’s framework for making 2D games. Some of the game types you can make with SpriteKit include the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Platform games&lt;/li&gt;&#xA;&lt;li&gt;Brick breaking games&lt;/li&gt;&#xA;&lt;li&gt;Arcade games&lt;/li&gt;&#xA;&lt;li&gt;RPGs&lt;/li&gt;&#xA;&lt;li&gt;Strategy games&lt;/li&gt;&#xA;&lt;li&gt;Word games&lt;/li&gt;&#xA;&lt;li&gt;Puzzle games&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;SpriteKit is different than game engines like Unity, Unreal, and Godot. There is no dedicated SpriteKit app to make games. SpriteKit developers generally use one of the following apps:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://developer.apple.com/xcode/&#34;&gt;Xcode&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://apps.apple.com/us/app/swift-playgrounds/id908519492&#34;&gt;Swift Playgrounds&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Use Xcode if you have a Mac. Use Swift Playgrounds if all you have is an iPad. The following articles provide introductions to using SpriteKit and Swift Playgrounds:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.checksimgames.com/creating-your-first-spritekit-project/&#34;&gt;Creating Your First SpriteKit Project&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.checksimgames.com/using-spritekit-in-the-swift-playgrounds-app/&#34;&gt;Using SpriteKit in the Swift Playgrounds App&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;SpriteKit does not have visual scripting. You must write code to make a SpriteKit game. SpriteKit supports the Swift and Objective-C programming languages. I recommend using Swift. If you are using Swift Playgrounds, you must use Swift.&lt;/p&gt;&#xA;&lt;h3 id=&#34;reasonstousespritekit&#34;&gt;Reasons to Use SpriteKit&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can make games on an iPad with the Swift Playgrounds app.&lt;/li&gt;&#xA;&lt;li&gt;You want to make a 2D game in Swift.&lt;/li&gt;&#xA;&lt;li&gt;You don’t care about non-Apple platforms.&lt;/li&gt;&#xA;&lt;li&gt;You can use GameplayKit to more easily add complex behavior to your games.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;reasonstoavoidspritekit&#34;&gt;Reasons to Avoid SpriteKit&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Your game will run only on Apple platforms.&lt;/li&gt;&#xA;&lt;li&gt;Apple hasn’t updated SpriteKit in years.&lt;/li&gt;&#xA;&lt;li&gt;You want to make 3D games.&lt;/li&gt;&#xA;&lt;li&gt;You don’t like writing code.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;spritekitcomponents&#34;&gt;SpriteKit Components&lt;/h3&gt;&#xA;&lt;p&gt;SpriteKit has the following components to make 2D games:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Scenes&lt;/li&gt;&#xA;&lt;li&gt;Nodes&lt;/li&gt;&#xA;&lt;li&gt;Actions&lt;/li&gt;&#xA;&lt;li&gt;Particle effects&lt;/li&gt;&#xA;&lt;li&gt;Shaders&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;You don’t have to use all of the SpriteKit components in your game. You can definitely make a game without writing shaders or adding particle effects.&lt;/p&gt;&#xA;&lt;h4 id=&#34;scenes&#34;&gt;Scenes&lt;/h4&gt;&#xA;&lt;p&gt;The game action in a SpriteKit game takes place in a scene. Every SpriteKit game needs at least one scene. But you can create additional scenes if your game has multiple levels. You can also create a scene to show a game menu when the game launches or to show a Game Over scene when the game ends.&lt;/p&gt;&#xA;&lt;p&gt;Xcode includes an editor to build scenes visually. Swift Playgrounds does not have an editor so you must build your scenes in code. The following article provides an introduction to Xcode’s scene editor:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.checksimgames.com/introducing-xcodes-scene-editor/&#34;&gt;Introducing Xcode’s Scene Editor&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;nodes&#34;&gt;Nodes&lt;/h4&gt;&#xA;&lt;p&gt;Nodes represent the objects in a SpriteKit. Common nodes are the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sprite nodes for the entities the player interacts with in the game&lt;/li&gt;&#xA;&lt;li&gt;Label nodes for displaying text&lt;/li&gt;&#xA;&lt;li&gt;Camera nodes to scroll the screen&lt;/li&gt;&#xA;&lt;li&gt;Light nodes for lighting a scene&lt;/li&gt;&#xA;&lt;li&gt;Audio nodes for playing sounds&lt;/li&gt;&#xA;&lt;li&gt;Tile map nodes for laying out levels&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;SpriteKit nodes inherit from the &lt;code&gt;SKNode&lt;/code&gt; class.&lt;/p&gt;&#xA;&lt;h4 id=&#34;actions&#34;&gt;Actions&lt;/h4&gt;&#xA;&lt;p&gt;Actions apply changes to nodes. Some things you can do with actions include the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Move sprites&lt;/li&gt;&#xA;&lt;li&gt;Resize sprites&lt;/li&gt;&#xA;&lt;li&gt;Rotate sprites&lt;/li&gt;&#xA;&lt;li&gt;Animate sprites&lt;/li&gt;&#xA;&lt;li&gt;Play sounds&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The &lt;code&gt;SKAction&lt;/code&gt; class has dozens of built in actions that you can use by calling the class initializers.&lt;/p&gt;&#xA;&lt;h4 id=&#34;particleeffects&#34;&gt;Particle Effects&lt;/h4&gt;&#xA;&lt;p&gt;Particle effects let you add visual flair to your game. If you shoot an enemy ship in a space shooting game, you can add a particle effect for the explosion.&lt;/p&gt;&#xA;&lt;p&gt;Xcode has support for adding particle resource files to your projects and editing them in the scene editor.&lt;/p&gt;&#xA;&lt;h4 id=&#34;shaders&#34;&gt;Shaders&lt;/h4&gt;&#xA;&lt;p&gt;A shader is a program that runs on the graphics card instead of the CPU. Writing custom shaders can make your game stand out.&lt;/p&gt;&#xA;&lt;h3 id=&#34;wheretogoformoreinformation&#34;&gt;Where to Go for More Information&lt;/h3&gt;&#xA;&lt;p&gt;The most recent book on SpriteKit is &lt;a href=&#34;https://pragprog.com/titles/tcswift/apple-game-frameworks-and-technologies/&#34;&gt;Apple Game Frameworks and Technologies&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If you want a free book, Kodeco (formerly raywenderlich.com), has the book &lt;em&gt;2D Apple Games by Tutorials&lt;/em&gt; on their &lt;a href=&#34;https://github.com/kodecocodes/deprecated-books&#34;&gt;deprecated book GitHub page&lt;/a&gt;. The SpriteKit material is still relevant, but the code hasn’t been updated for the latest versions of Swift and Xcode.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.checksimgames.com&#34;&gt;This site&lt;/a&gt; has articles on SpriteKit.&lt;/p&gt;&#xA;&lt;p&gt;Apple’s developer site has &lt;a href=&#34;https://developer.apple.com/documentation/spritekit&#34;&gt;SpriteKit documentation&lt;/a&gt;. You can also read the SpriteKit documentation in Xcode by choosing Help &amp;gt; Developer Documentation. The SpriteKit documentation is in the Graphics and Games section of the documentation.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Generating Random Numbers in Swift with GameplayKit</title>
      <link>https://checksimgames.com/generating-random-numbers-in-swift-with-gameplaykit/</link>
      <pubDate>Fri, 18 Nov 2022 20:32:28 +0000</pubDate>
      <guid>https://checksimgames.com/generating-random-numbers-in-swift-with-gameplaykit/</guid>
      <description>&lt;p&gt;Many games have a need to generate random numbers. If you are making an iOS game with SpriteKit, the GameplayKit framework has classes for generating random numbers.&lt;/p&gt;&#xA;&lt;p&gt;Generating random numbers has two steps.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a random number generator&lt;/li&gt;&#xA;&lt;li&gt;Generate a random number&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;creatingarandomnumbergenerator&#34;&gt;Creating a Random Number Generator&lt;/h3&gt;&#xA;&lt;p&gt;Create an instance of &lt;code&gt;GKRandomDistribution&lt;/code&gt;, which is GameplayKit’s class for generating random numbers. Supply the low and high values to define the range of numbers the generator can generate.&lt;/p&gt;&#xA;&lt;p&gt;The following code demonstrates how to create a random number generator for rolling a die:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; randomGenerator = GKRandomDistribution(lowestValue: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;, &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;highestValue: &lt;span style=&#34;color:#ae81ff&#34;&gt;6&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;generatingarandomnumber&#34;&gt;Generating a Random Number&lt;/h3&gt;&#xA;&lt;p&gt;After creating the random number generator, you can use it to generate random numbers. Call the generator’s &lt;code&gt;nextInt&lt;/code&gt; function to generate a random number.&lt;/p&gt;&#xA;&lt;p&gt;The following code simulates a die roll:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; dieRoll = randomGenerator.nextInt()&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;example&#34;&gt;Example&lt;/h3&gt;&#xA;&lt;p&gt;I have a simple game prototype on GitHub that spawns objects at random starting points.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/CheckSimGames/Catcher&#34;&gt;Xcode version&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/CheckSimGames/CatcherSwiftPlaygrounds&#34;&gt;Swift Playgrounds version&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The &lt;code&gt;spawnFood&lt;/code&gt; function in the &lt;code&gt;GameScene.swift&lt;/code&gt; file has the random number code.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Using SpriteKit in the Swift Playgrounds App</title>
      <link>https://checksimgames.com/using-spritekit-in-the-swift-playgrounds-app/</link>
      <pubDate>Sat, 25 Jun 2022 17:57:11 +0000</pubDate>
      <guid>https://checksimgames.com/using-spritekit-in-the-swift-playgrounds-app/</guid>
      <description>&lt;p&gt;The &lt;a href=&#34;https://apps.apple.com/us/app/swift-playgrounds/id908519492&#34;&gt;Swift Playgrounds app&lt;/a&gt; lets you create iOS apps on an iPad. You can also make 2D games using the SpriteKit framework in Swift Playgrounds. This article shows you how to use SpriteKit in Swift Playgrounds.&lt;/p&gt;&#xA;&lt;p&gt;If you are new to Swift Playgrounds, read the following article:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.swiftdevjournal.com/intro-to-making-swiftui-apps-with-swift-playgrounds/&#34;&gt;Intro to Making SwiftUI Apps with Swift Playgrounds&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;You have to do the following to use SpriteKit in Swift Playgrounds:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a SpriteKit scene&lt;/li&gt;&#xA;&lt;li&gt;Add a sprite view to the content view&lt;/li&gt;&#xA;&lt;li&gt;Show the scene in the sprite view&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;createaspritekitscene&#34;&gt;Create a SpriteKit Scene&lt;/h3&gt;&#xA;&lt;p&gt;Swift Playgrounds currently does not include a SpriteKit scene editor so you must create your scenes in code.&lt;/p&gt;&#xA;&lt;p&gt;If you haven’t already done so, create or open an app playground. Add a new Swift file to the playground by tapping the Add Document button at the top of the sidebar and choosing Swift File.&lt;/p&gt;&#xA;&lt;p&gt;Open the file you created and add the following code:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;import&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;SpriteKit&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;class&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;GameScene&lt;/span&gt;: SKScene {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;didMove&lt;/span&gt;(to view: SKView) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;backgroundColor = .yellow&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&lt;span style=&#34;color:#75715e&#34;&gt;// Build the scene&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The first line of code imports the SpriteKit framework so you can use SpriteKit’s data types and functions in your game.&lt;/p&gt;&#xA;&lt;p&gt;A SpriteKit scene must inherit from the &lt;code&gt;SKScene&lt;/code&gt; class so you must create a Swift class for your SpriteKit scenes. I named the class &lt;code&gt;GameScene&lt;/code&gt;. You can use any name you want for the scene class.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;didMove&lt;/code&gt; function sets up the scene. I set the background color of the scene to yellow in this example to keep things simple. In your game you will write functions to build the scene and call those functions in &lt;code&gt;didMove&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h3 id=&#34;addaspriteview&#34;&gt;Add a Sprite View&lt;/h3&gt;&#xA;&lt;p&gt;The Swift Playgrounds app playground creates SwiftUI apps. To use SpriteKit with SwiftUI, you must add a sprite view to the app’s content view. A sprite view lets a SwiftUI app show a SpriteKit scene.&lt;/p&gt;&#xA;&lt;p&gt;Open the file &lt;code&gt;ContentView.swift&lt;/code&gt;. Import the SpriteKit framework.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;import&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;SpriteKit&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You should see the following code in the &lt;code&gt;ContentView.swift&lt;/code&gt; file:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;struct&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ContentView&lt;/span&gt;: View {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; body: some View {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;VStack {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#x9;Image(systemName: &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;globe&amp;#34;&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#x9;&#x9;.imageScale(.large)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#x9;&#x9;.foregroundColor(.accentColor)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#x9;Text(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Hello, world!&amp;#34;&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For a SpriteKit game, replace the &lt;code&gt;VStack&lt;/code&gt; code with a sprite view.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; body: some View {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;SpriteView()&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;showthescene&#34;&gt;Show the Scene&lt;/h3&gt;&#xA;&lt;p&gt;At this point you have a compiler error because you haven’t specified a scene to display in the sprite view.&lt;/p&gt;&#xA;&lt;p&gt;First you must declare a property in the content view for the scene to display.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;@State &lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; currentScene: SKScene = GameScene(size: &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;CGSize(width: &lt;span style=&#34;color:#ae81ff&#34;&gt;1024&lt;/span&gt;, height: &lt;span style=&#34;color:#ae81ff&#34;&gt;768&lt;/span&gt;))&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The code declares a variable called &lt;code&gt;currentScene&lt;/code&gt;. It uses the &lt;code&gt;SKScene&lt;/code&gt; subclass you created earlier. Supply the size for the scene. In the code listing the scene is 1024 pixels wide and 768 pixels high.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;@State&lt;/code&gt; at the start of the property declaration says that SwiftUI is responsible for the storage of the SpriteKit scene. If you didn’t have the &lt;code&gt;@State&lt;/code&gt; at the start, the app would create a new scene every time there was a change in the content view.&lt;/p&gt;&#xA;&lt;p&gt;Now pass the scene to the sprite view.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;SpriteView(scene: currentScene)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Here’s the full code.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;import&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;SwiftUI&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;import&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;SpriteKit&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;struct&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ContentView&lt;/span&gt;: View {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;@State &lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; currentScene: SKScene = GameScene(size: &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;CGSize(width: &lt;span style=&#34;color:#ae81ff&#34;&gt;1024&lt;/span&gt;, height: &lt;span style=&#34;color:#ae81ff&#34;&gt;768&lt;/span&gt;))&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; body: some View {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;SpriteView(scene: currentScene)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now the preview in Swift Playgrounds should be yellow. If you run the playground, you should see a yellow background. Now you can start making your game.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Adding a Texture to a Sprite in SpriteKit</title>
      <link>https://checksimgames.com/adding-a-texture-to-a-sprite-in-spritekit/</link>
      <pubDate>Mon, 26 Apr 2021 18:50:49 +0000</pubDate>
      <guid>https://checksimgames.com/adding-a-texture-to-a-sprite-in-spritekit/</guid>
      <description>&lt;p&gt;When you add a sprite to a SpriteKit scene from the scene editor, the only option is to create a sprite with a single color. A sprite with one color is OK for prototyping. But you’re going to eventually need to use real images for your sprite. Textures are the way to apply an image to a sprite so it looks like a spaceship, car, person, animal, or whatever your game needs. In this article you’ll learn how to add textures to your SpriteKit project and apply a texture to a sprite.&lt;/p&gt;&#xA;&lt;h3 id=&#34;addtheimagestotheproject&#34;&gt;Add the Images to the Project&lt;/h3&gt;&#xA;&lt;p&gt;The first step to using textures is to add the texture images to the project. Add the images to the asset catalog.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select the &lt;code&gt;Assets.xcassets&lt;/code&gt; folder on the left side of the project window.&lt;/li&gt;&#xA;&lt;li&gt;Click the Add button, which is at the bottom of the list of assets in the catalog.&lt;/li&gt;&#xA;&lt;li&gt;Choose Import from the menu that opens when you click the Add button to add an image.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;You can also choose Image Set from the menu. Drag the image to the 1x, 2x, or 3x image well. What do 1x, 2x, and 3x mean?&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A 1x image is for non-retina screens. Only very old iOS devices have non-retina screens.&lt;/li&gt;&#xA;&lt;li&gt;A 2x image is for retina screens.&lt;/li&gt;&#xA;&lt;li&gt;A 3x image is for super-retina screens on newer iOS devices.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Supporting 1x, 2x, and 3x means you need three copies of each image. If you have a texture image that is 128 by 128 pixels, you must supply the following images:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The 128 by 128 pixel version for 1x&lt;/li&gt;&#xA;&lt;li&gt;A 256 by 256 pixel version for 2x&lt;/li&gt;&#xA;&lt;li&gt;A 384 by 384 pixel version for 3x&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;assignatexturetoasprite&#34;&gt;Assign a Texture to a Sprite&lt;/h3&gt;&#xA;&lt;p&gt;After adding the texture images to the asset catalog, you can apply a texture to the sprite.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Open the scene (.sks file) that contains the sprite.&lt;/li&gt;&#xA;&lt;li&gt;Select the sprite.&lt;/li&gt;&#xA;&lt;li&gt;Open the attributes inspector.&lt;/li&gt;&#xA;&lt;li&gt;Choose the texture from the Texture combo box.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Now the sprite looks like the texture image instead of one solid color.&lt;/p&gt;&#xA;&lt;p&gt;You can create a sprite in code and use the texture image by calling the &lt;code&gt;SKSpriteNode&lt;/code&gt; initializer and supplying the name of the image as the &lt;code&gt;imageNamed:&lt;/code&gt; argument.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; sprite = SKSpriteNode(imageNamed: &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;TestTexture&amp;#34;&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The name of the image must match the name in the asset catalog.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Introducing Xcode’s Scene Editor</title>
      <link>https://checksimgames.com/introducing-xcodes-scene-editor/</link>
      <pubDate>Tue, 20 Apr 2021 17:50:50 +0000</pubDate>
      <guid>https://checksimgames.com/introducing-xcodes-scene-editor/</guid>
      <description>&lt;p&gt;In the &lt;a href=&#34;https://www.checksimgames.com/creating-your-first-spritekit-project/&#34;&gt;Creating Your First SpriteKit Project article&lt;/a&gt; you created a game project in Xcode and removed Apple’s boilerplate code. Now you’re ready to start adding content to your game.&lt;/p&gt;&#xA;&lt;p&gt;Xcode’s scene editor is the tool most SpriteKit games use to add game content. Use Xcode’s scene editor to do things like build your game’s levels, design your game’s main menu, and create an end of game screen.&lt;/p&gt;&#xA;&lt;h3 id=&#34;openingthesceneeditor&#34;&gt;Opening the Scene Editor&lt;/h3&gt;&#xA;&lt;p&gt;Select a file with the extension &lt;code&gt;.sks&lt;/code&gt; from the left side of the project or playground window to open the scene in the scene editor. If you create a Game project or playground in Xcode, Xcode includes a scene file, &lt;code&gt;GameScene.sks&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/Finding-Game-Scene-File.png&#34; alt=&#34;find same scene file&#34;&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;sceneeditorview&#34;&gt;Scene Editor View&lt;/h3&gt;&#xA;&lt;p&gt;When you open an empty scene file, the scene editor looks like the following screenshot:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/SceneEditorViewHighlighted.png&#34; alt=&#34;scene editor view&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The scene editor has the following areas:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Scene graph view&lt;/li&gt;&#xA;&lt;li&gt;Canvas&lt;/li&gt;&#xA;&lt;li&gt;Bottom bar&lt;/li&gt;&#xA;&lt;li&gt;Action editor view&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The scene graph view shows a hierarchical list of the items in the scene. The scene graph view is the easiest way to select an item so you can move it, resize it, or edit its attributes.&lt;/p&gt;&#xA;&lt;p&gt;The canvas is where you lay out the scene.&lt;/p&gt;&#xA;&lt;p&gt;The bottom bar has the following controls:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Buttons to show and hide the scene graph view and action editor view.&lt;/li&gt;&#xA;&lt;li&gt;An Animate button to play an action.&lt;/li&gt;&#xA;&lt;li&gt;A button to control the playback speed.&lt;/li&gt;&#xA;&lt;li&gt;Buttons to zoom the canvas in and out.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Unless you have a huge monitor it can be tough to see the whole canvas to see how large the scene is. Zooming out lets you see the bounding rectangle of the scene.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ZoomedOutCanvasHighlighted.png&#34; alt=&#34;zoomed out canvas&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The action editor view lets you edit SpriteKit actions in the scene editor. You’re more likely to create SpriteKit actions in code.&lt;/p&gt;&#xA;&lt;p&gt;Drag an action from the Library to the action editor. Click the Animate button in the bottom bar to play the action. Select an action from the timeline and press the Delete key to remove an action.&lt;/p&gt;&#xA;&lt;h3 id=&#34;addingitemstoascene&#34;&gt;Adding Items to a Scene&lt;/h3&gt;&#xA;&lt;p&gt;The first step to adding an item to a scene is to open the object library, which contains all the items you can add to SpriteKit scenes. Click the Add (+) button in the project window toolbar to open the object library.&lt;/p&gt;&#xA;&lt;p&gt;Newer versions of Xcode do not have an Add button in the toolbar. To open the object library if there is no Add button, press Cmd-Shift-L or choose View &amp;gt; Show Library in Xcode. Press Cmd-Shift-Option-L to keep the object library window open.&lt;/p&gt;&#xA;&lt;p&gt;If you are running Xcode 10, there is an Object Library button instead of an Add button in the toolbar.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ObjectLibraryButtonHighlighted.png&#34; alt=&#34;object library button&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Holding down the Option key when you click the Add button keeps the object library window open.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ObjectLibrary.png&#34; alt=&#34;object library&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;To add an item to the scene, select the item you want to add from the object library and drag it to the canvas or the scene graph view. Unless you want the item to be in the center of the scene, I recommend dragging to the canvas.&lt;/p&gt;&#xA;&lt;h3 id=&#34;movingandresizingitems&#34;&gt;Moving and Resizing Items&lt;/h3&gt;&#xA;&lt;p&gt;Select the item from the scene graph view or the canvas. The following screenshot shows a selected sprite node in the canvas:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/SelectedItem.png&#34; alt=&#34;selected item&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;To move the item, click the white circle in the center, hold the mouse button down, and drag the item. To resize an item, click one of the eight blue dots, hold the mouse button down, and move the mouse in the direction you want to resize.&lt;/p&gt;&#xA;&lt;h3 id=&#34;renamingitems&#34;&gt;Renaming Items&lt;/h3&gt;&#xA;&lt;p&gt;Double-click an item in the scene graph view to rename it.&lt;/p&gt;&#xA;&lt;h3 id=&#34;makingotherchangestoitems&#34;&gt;Making Other Changes to Items&lt;/h3&gt;&#xA;&lt;p&gt;Use the attributes inspector to make other changes to items. In Xcode choose View &amp;gt; Inspectors &amp;gt; Show Attributes Inspector to show the attributes inspector. What the attributes inspector shows depends on the type of item you are inspecting. The following screenshot shows the attributes inspector for a sprite node:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/AttributesInspector.png&#34; alt=&#34;attributes inspector&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Some attributes you can specify for a sprite node include the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Name&lt;/li&gt;&#xA;&lt;li&gt;Parent&lt;/li&gt;&#xA;&lt;li&gt;Texture image&lt;/li&gt;&#xA;&lt;li&gt;Position&lt;/li&gt;&#xA;&lt;li&gt;Size&lt;/li&gt;&#xA;&lt;li&gt;Anchor point&lt;/li&gt;&#xA;&lt;li&gt;Color&lt;/li&gt;&#xA;&lt;li&gt;Scale&lt;/li&gt;&#xA;&lt;li&gt;Physics body&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;If you’re going to access a sprite node from your code, it’s important to remember the name you gave it in the scene. If the names don’t match, your code won’t be able to find the node.&lt;/p&gt;&#xA;&lt;h3 id=&#34;exercise:addaspritetothescene&#34;&gt;Exercise: Add a Sprite to the Scene&lt;/h3&gt;&#xA;&lt;p&gt;As a learning exercise, add a sprite (the Color Sprite item in the Library) to the scene. Run the project and you should see the sprite on the screen.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Creating Your First SpriteKit Project</title>
      <link>https://checksimgames.com/creating-your-first-spritekit-project/</link>
      <pubDate>Mon, 19 Apr 2021 19:20:12 +0000</pubDate>
      <guid>https://checksimgames.com/creating-your-first-spritekit-project/</guid>
      <description>&lt;p&gt;Xcode playgrounds are good for prototyping game ideas, but if you want to get a SpriteKit game on your iPhone or iPad, you must create a project in Xcode. This article guides you through creating a SpriteKit project in Xcode.&lt;/p&gt;&#xA;&lt;h3 id=&#34;choosethegameprojecttemplate&#34;&gt;Choose the Game Project Template&lt;/h3&gt;&#xA;&lt;p&gt;Launch Xcode and choose File &amp;gt; New &amp;gt; Project to create a project. When you choose File &amp;gt; New &amp;gt; Project the New Project Assistant opens.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/NewProjectAssistantStep1.png&#34; alt=&#34;new project step 1&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;At the top of the New Project Assistant is a list of platforms: Multiplatform, iOS, macOS, watchOS, tvOS, and Other. Multiplatform, iOS, macOS, and tvOS all have game project templates. You can choose iOS, but I’m going with Multiplatform in this article for the following reasons:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;On some versions of Xcode, the iOS game project template is missing a launch storyboard. The missing storyboard causes the scene to be much smaller than the screen size, giving you black bars on the edges of the screen. Read the &lt;a href=&#34;https://www.checksimgames.com/make-background-fill-entire-spritekit-scene/&#34;&gt;Make Background Fill Entire SpriteKit Scene&lt;/a&gt; article for a way to work around the bug.&lt;/li&gt;&#xA;&lt;li&gt;I find that building and testing works better on the Mac than the iOS simulator.&lt;/li&gt;&#xA;&lt;li&gt;Having a Mac target will make things easier for those of you who don’t have a paid developer account. With a free account you must create a provisioning profile every week and reinstall your games on the device.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;After choosing the platform, select the Game template. Click the Next button to move to the next step.&lt;/p&gt;&#xA;&lt;h3 id=&#34;configuretheproject&#34;&gt;Configure the Project&lt;/h3&gt;&#xA;&lt;p&gt;After clicking the Next button, it’s time to configure the project.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/NewProjectAssistantStep2.png&#34; alt=&#34;new project step 2&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Enter the name of the project in the Product Name text field. The project name is also the name of the game.&lt;/p&gt;&#xA;&lt;p&gt;Choose your developer team from the Team menu. If you do not have a development team, choose None.&lt;/p&gt;&#xA;&lt;p&gt;Enter an organization identifier in the Organization Identifier text field. The organization identifier takes the following form:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;com.CompanyName&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If you don’t have a company name, replace &lt;code&gt;CompanyName&lt;/code&gt; with your name.&lt;/p&gt;&#xA;&lt;p&gt;Choose Swift from the Language menu.&lt;/p&gt;&#xA;&lt;p&gt;Choose SpriteKit from the Game Technology menu.&lt;/p&gt;&#xA;&lt;p&gt;If you chose the Multiplatform game project, there will be checkboxes to include the following platforms: iOS, watchOS, tvOS, and macOS. I selected iOS and macOS because I don’t have an Apple Watch or an AppleTV. Click the Next button.&lt;/p&gt;&#xA;&lt;h3 id=&#34;finishcreatingtheproject&#34;&gt;Finish Creating the Project&lt;/h3&gt;&#xA;&lt;p&gt;The final step is to choose a location to save the project on your Mac. Click the Create button to finish creating the project.&lt;/p&gt;&#xA;&lt;p&gt;In the save panel you should see a checkbox to create a git repository for the project. This is a matter of personal preference. If you clicked the Create button and want to create a git repository, choose Source Control &amp;gt; New Git Repositories to create a git repository for the project.&lt;/p&gt;&#xA;&lt;h3 id=&#34;theprojectcontents&#34;&gt;The Project Contents&lt;/h3&gt;&#xA;&lt;p&gt;The project navigator on the left side of the project window shows the project’s contents. The following image shows the project navigator for a Multiplatform SpriteKit game with iOS and Mac app targets:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ProjectNavigatorAtStart.png&#34; alt=&#34;project navigator start&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can see there’s a Shared folder that has the files for both the iOS and Mac versions of the project. Beneath the Shared folder are folders for the iOS version and the Mac version.&lt;/p&gt;&#xA;&lt;p&gt;The two files you are going to use in this article are the two GameScene files.&lt;/p&gt;&#xA;&lt;h3 id=&#34;changingthedeploymenttargetoptional&#34;&gt;Changing the Deployment Target (Optional)&lt;/h3&gt;&#xA;&lt;p&gt;The deployment target is the earliest operating system version (iOS, macOS, tvOS, or watchOS) that can run the game. Xcode defaults to using the version of the SDK that comes with the version of Xcode you’re using. Apple hasn’t added anything to SpriteKit since iOS 11 so you can set the iOS deployment target to iOS 11 and the macOS target to macOS 10.13 without doing any damage.&lt;/p&gt;&#xA;&lt;p&gt;Select the project file from the project navigator to open the project editor. Select the project from the project editor. Use the combo boxes to set the deployment target.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/SetDeploymentTarget.png&#34; alt=&#34;set deployment target&#34;&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;runtheproject&#34;&gt;Run the Project&lt;/h3&gt;&#xA;&lt;p&gt;Let’s run the project. If you created a Multiplatform game project, you must choose which version of the project to run. At the top of the project window above the editor is a path control with two sections.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/PathControl.png&#34; alt=&#34;path control&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The left section has the name of the project followed by the platform, macOS in the screenshot. Click that section to choose the version to run. Connect an iOS device to your Mac and choose the device from the jump bar to run the project on a device. Otherwise choose a simulator from the jump bar to run the project in the iOS simulator.&lt;/p&gt;&#xA;&lt;p&gt;Click the Run (Play) button in the project window toolbar to run the project. A Hello, World label appears on the screen. Clicking in the window creates a spinning object. Dragging creates a line of spinning objects.&lt;/p&gt;&#xA;&lt;h3 id=&#34;removeapplesboilerplate&#34;&gt;Remove Apple’s Boilerplate&lt;/h3&gt;&#xA;&lt;p&gt;You’re not going to need the label or the spinning objects in your game. So the next step is to remove the label and the spinning objects.&lt;/p&gt;&#xA;&lt;p&gt;Select the &lt;code&gt;GameScene.sks&lt;/code&gt; file to open the scene editor. Select the label from the canvas or the object list next to the canvas. Press the Delete key to remove the label from the scene.&lt;/p&gt;&#xA;&lt;p&gt;Now there’s a lot of code to remove from the &lt;code&gt;GameScene.swift&lt;/code&gt; file. You must remove all the code that accesses the label and the spinning nodes. Start by removing all the code from the &lt;code&gt;setUpScene&lt;/code&gt; function so it looks like the following:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;setUpScene&lt;/span&gt;() {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Next, remove the &lt;code&gt;makeSpinny&lt;/code&gt; function.&lt;/p&gt;&#xA;&lt;p&gt;Next, edit the &lt;code&gt;touchesBegan&lt;/code&gt;, &lt;code&gt;touchesMoved&lt;/code&gt;, &lt;code&gt;touchesEnded&lt;/code&gt;, and &lt;code&gt;touchesCancelled&lt;/code&gt; functions so they look like the following:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;touchesBegan&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;_&lt;/span&gt; touches: Set&amp;lt;UITouch&amp;gt;, with event: UIEvent?) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; t &lt;span style=&#34;color:#66d9ef&#34;&gt;in&lt;/span&gt; touches {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;touchesMoved&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;_&lt;/span&gt; touches: Set&amp;lt;UITouch&amp;gt;, with event: UIEvent?) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; t &lt;span style=&#34;color:#66d9ef&#34;&gt;in&lt;/span&gt; touches {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;touchesEnded&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;_&lt;/span&gt; touches: Set&amp;lt;UITouch&amp;gt;, with event: UIEvent?) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; t &lt;span style=&#34;color:#66d9ef&#34;&gt;in&lt;/span&gt; touches {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;touchesCancelled&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;_&lt;/span&gt; touches: Set&amp;lt;UITouch&amp;gt;, with event: UIEvent?) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; t &lt;span style=&#34;color:#66d9ef&#34;&gt;in&lt;/span&gt; touches {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you have a Mac app target, remove the code inside the &lt;code&gt;mouseDown&lt;/code&gt;, &lt;code&gt;mouseDragged&lt;/code&gt; and &lt;code&gt;mouseUp&lt;/code&gt; functions.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;mouseDown&lt;/span&gt;(with event: NSEvent) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;mouseDragged&lt;/span&gt;(with event: NSEvent) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;mouseUp&lt;/span&gt;(with event: NSEvent) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;runtheprojectagain&#34;&gt;Run the Project Again&lt;/h3&gt;&#xA;&lt;p&gt;Click the Run button to make sure there are no build errors. The project should run and show a blank window.&lt;/p&gt;&#xA;&lt;p&gt;Now you’re ready to start adding your own stuff to the project.&lt;/p&gt;&#xA;&lt;h3 id=&#34;addingnewfilestotheproject&#34;&gt;Adding New Files to the Project&lt;/h3&gt;&#xA;&lt;p&gt;When you create a SpriteKit game project, Xcode includes a scene. But most games require more than one scene so you’ll be adding files to your project.&lt;/p&gt;&#xA;&lt;p&gt;Choose File &amp;gt; New &amp;gt; File to add a new file to your project. The files you will add to SpriteKit projects are in the Source and Resource sections of the New File Assistant. The source code files you will create are Swift files and Cocoa/Cocoa Touch class files. You would create a Cocoa/Cocoa Touch class file when creating a subclass of a SpriteKit class.&lt;/p&gt;&#xA;&lt;p&gt;The Resource section has the following files for SpriteKit projects:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Asset catalog&lt;/li&gt;&#xA;&lt;li&gt;SpriteKit action&lt;/li&gt;&#xA;&lt;li&gt;SpriteKit particle file&lt;/li&gt;&#xA;&lt;li&gt;SpriteKit scene&lt;/li&gt;&#xA;&lt;li&gt;SpriteKit tile set&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;If you created a Multiplatform game project, make sure you add the files to all of the project’s targets.&lt;/p&gt;&#xA;&lt;h3 id=&#34;addingexistingfilestotheproject&#34;&gt;Adding Existing Files to the Project&lt;/h3&gt;&#xA;&lt;p&gt;To add files you’ve already created to a project, choose File &amp;gt; Add Files to ProjectName. An Open panel opens. Navigate to where the files are, select them, and click the Add button.&lt;/p&gt;&#xA;&lt;p&gt;If you add a file of folders to the project, you have the option of creating groups or folder references. Create a group if you need to edit the files in Xcode. If you are adding a folder of source code files, create a group.&lt;/p&gt;&#xA;&lt;p&gt;Create a folder reference if you don’t need to edit the files in Xcode. If you are adding a folder of sound or image files, create a folder reference.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Make Background Fill Entire SpriteKit Scene</title>
      <link>https://checksimgames.com/make-background-fill-entire-spritekit-scene/</link>
      <pubDate>Wed, 07 Apr 2021 20:02:24 +0000</pubDate>
      <guid>https://checksimgames.com/make-background-fill-entire-spritekit-scene/</guid>
      <description>&lt;p&gt;I have seen many questions lately on Stack Overflow from people creating an iOS SpriteKit game project and having black bars on the edges of the screen.&lt;/p&gt;&#xA;&lt;p&gt;The cause of the issue is a bug in Xcode’s iOS game project template. When you create the project, the project does not include a storyboard for the launch screen. If you create a multiplatform game project, you will see a file called &lt;code&gt;LaunchScreen.storyboard&lt;/code&gt; in the project navigator. This storyboard file is missing in the iOS template. Without a launch screen storyboard, the scene size defaults to 320 by 480 pixels, giving you black bars on the edges of the screen.&lt;/p&gt;&#xA;&lt;p&gt;To fix the issue you must set a storyboard as the launch screen file. Fortunately the iOS game project has a main storyboard to use as the launch screen file. To set the launch screen file, perform the following steps:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Select the project from the project navigator on the left side of the project window to open the project editor.&lt;/li&gt;&#xA;&lt;li&gt;Select the app target from the target list in the project editor.&lt;/li&gt;&#xA;&lt;li&gt;Click the General button at the top of the project editor.&lt;/li&gt;&#xA;&lt;li&gt;Choose Main from the Launch Screen File combo box in the App Icons and Launch Images section.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/SetLaunchScreenFile.png&#34; alt=&#34;set launch screen&#34;&gt;&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Tap to Move in SpriteKit</title>
      <link>https://checksimgames.com/tap-to-move-in-spritekit/</link>
      <pubDate>Fri, 22 May 2020 22:39:12 +0000</pubDate>
      <guid>https://checksimgames.com/tap-to-move-in-spritekit/</guid>
      <description>&lt;p&gt;Many iOS games use tap to move. Tap on the screen, and the player character will move to where you tapped.&lt;/p&gt;&#xA;&lt;p&gt;Use the SpriteKit action &lt;code&gt;moveTo&lt;/code&gt; to add tap to move. Supply the destination location and the time interval (in seconds). When you run the action, the sprite will smoothly move to the destination over the time interval.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;touchDown&lt;/span&gt;(atPoint pos : CGPoint) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; action = SKAction.move(to: pos, duration: &lt;span style=&#34;color:#ae81ff&#34;&gt;1.0&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&lt;span style=&#34;color:#75715e&#34;&gt;// playerSprite is a SpriteKit sprite node.&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;playerSprite.run(action)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;touchesBegan&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;_&lt;/span&gt; touches: Set&amp;lt;UITouch&amp;gt;, with event: UIEvent?) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; t &lt;span style=&#34;color:#66d9ef&#34;&gt;in&lt;/span&gt; touches { &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&#x9;&#x9;touchDown(atPoint: t.location(&lt;span style=&#34;color:#66d9ef&#34;&gt;in&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;self&lt;/span&gt;)) &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The speed the sprite moves depends on the distance between the sprite and the tap. The longer the distance, the faster the sprite moves.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Avoid Subclassing SKSpriteNode</title>
      <link>https://checksimgames.com/avoid-subclassing-skspritenode/</link>
      <pubDate>Thu, 26 Mar 2020 18:40:40 +0000</pubDate>
      <guid>https://checksimgames.com/avoid-subclassing-skspritenode/</guid>
      <description>&lt;p&gt;When I see SpriteKit questions on Stack Overflow, I notice a common problem people make. They make every visible entity in their game, such as the player and enemies, a subclass of &lt;code&gt;SKSpriteNode&lt;/code&gt;. They also add a property to the subclass for the sprite node.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;class&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;Player&lt;/span&gt;: SKSpriteNode {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; sprite: SKSpriteNode&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Subclassing &lt;code&gt;SKSpriteNode&lt;/code&gt; and having a property of &lt;code&gt;SKSpriteNode&lt;/code&gt; is redundant. If you have a property for the sprite, you don’t need to subclass &lt;code&gt;SKSpriteNode&lt;/code&gt;. If you have a &lt;code&gt;SKSpriteNode&lt;/code&gt; subclass, an instance of the subclass has all the components of &lt;code&gt;SKSpriteNode&lt;/code&gt;. You don’t need the property.&lt;/p&gt;&#xA;&lt;p&gt;In 99 percent of cases, avoid subclassing &lt;code&gt;SKSpriteNode&lt;/code&gt; and add a property for the sprite node to your class or struct. Prefer composition to inheritance.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;class&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;Player&lt;/span&gt; {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; sprite: SKSpriteNode&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A player &lt;strong&gt;has&lt;/strong&gt; a sprite node along with other properties that depend on your game (score, number of lives, health, etc.). A player is not a sprite node.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Handling Touches in a SpriteKit Game</title>
      <link>https://checksimgames.com/handling-touches-in-a-spritekit-game/</link>
      <pubDate>Mon, 08 Apr 2019 22:37:10 +0000</pubDate>
      <guid>https://checksimgames.com/handling-touches-in-a-spritekit-game/</guid>
      <description>&lt;p&gt;One thing most iOS games must do is handle touch input from the player. If you use SpriteKit, handling touch input isn’t too difficult.&lt;/p&gt;&#xA;&lt;p&gt;When you create a SpriteKit project or playground, the &lt;code&gt;GameScene.swift&lt;/code&gt; file includes the following functions to handle touch input:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;touchesBegan&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;touchesMoved&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;touchesEnded&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;touchesCancelled&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The two functions you’ll use the most are &lt;code&gt;touchesBegan&lt;/code&gt; and &lt;code&gt;touchesMoved&lt;/code&gt;. You use &lt;code&gt;touchesBegan&lt;/code&gt; to handle taps and use &lt;code&gt;touchesMoved&lt;/code&gt; to move a sprite with your finger.&lt;/p&gt;&#xA;&lt;h3 id=&#34;determiningwhatwastouched&#34;&gt;Determining What Was Touched&lt;/h3&gt;&#xA;&lt;p&gt;Use the &lt;code&gt;location&lt;/code&gt; property to determine where the touch occurred. Call the &lt;code&gt;atPoint&lt;/code&gt; function to determine what SpriteKit node was touched.&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;for t in touches {&#xA;&#x9;let location = t.location(in: self)&#xA;&#x9;let touchedNode = atPoint(location)&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Once you know what SpriteKit node the player touched, you can do whatever you need to do with the node, such as move it, hide it, or highlight it.&lt;/p&gt;&#xA;&lt;h3 id=&#34;exampleplayground&#34;&gt;Example Playground&lt;/h3&gt;&#xA;&lt;p&gt;I have a SpriteKit playground that lets you drag a sprite around the screen.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://checksimgames.com/playgrounds/draggableplayerplayground.zip&#34;&gt;&lt;!-- raw HTML omitted --&gt;Download Playground&lt;!-- raw HTML omitted --&gt;&lt;/a&gt;&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Empty SpriteKit Playground</title>
      <link>https://checksimgames.com/empty-spritekit-playground/</link>
      <pubDate>Thu, 07 Mar 2019 15:15:47 +0000</pubDate>
      <guid>https://checksimgames.com/empty-spritekit-playground/</guid>
      <description>&lt;p&gt;I find it tedious to remove all of the Apple-supplied material in their game playground every time I create a playground. I have a SpriteKit playground with the boilerplate removed so you can start using SpriteKit right away.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://checksimgames.com/playgrounds/emptyplayground.zip&#34;&gt;&lt;!-- raw HTML omitted --&gt;Download Playground&lt;!-- raw HTML omitted --&gt;&lt;/a&gt;&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Adding Files to SpriteKit Playgrounds</title>
      <link>https://checksimgames.com/adding-files-to-spritekit-playgrounds/</link>
      <pubDate>Thu, 21 Feb 2019 19:10:40 +0000</pubDate>
      <guid>https://checksimgames.com/adding-files-to-spritekit-playgrounds/</guid>
      <description>&lt;p&gt;I left one important thing out of my &lt;a href=&#34;https://checksimgames.com/spritekit-playground-introduction/&#34;&gt;SpriteKit playground article&lt;/a&gt;: how to add files to the playground. I wanted to put that material in the article, but there was so much to mention that it warranted its own article.&lt;/p&gt;&#xA;&lt;p&gt;Keep in mind that Swift playgrounds aren’t designed to handle tons of files. If you find yourself creating dozens of files, you’re better off creating an Xcode project for your game.&lt;/p&gt;&#xA;&lt;h3 id=&#34;playgroundshavelimitedsupportforcreatingnewfiles&#34;&gt;Playgrounds Have Limited Support for Creating New Files&lt;/h3&gt;&#xA;&lt;p&gt;If you look at the navigator for a playground, you will see that a playground page has a Sources folder and a Resources folder.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/PlaygroundNavigator.png&#34; alt=&#34;playground navigator&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can add a new Swift file to the playground by control-clicking the Sources folder and choosing New File. Control-clicking the Resources folder and choosing New File creates an empty file. Those are the only options for creating a new file in a playground.&lt;/p&gt;&#xA;&lt;h3 id=&#34;addingnewfilestotheplayground&#34;&gt;Adding New Files to the Playground&lt;/h3&gt;&#xA;&lt;p&gt;How do you add things like new scenes and image files to your playground? You must perform the following steps:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Put the playground in its own folder.&lt;/li&gt;&#xA;&lt;li&gt;Add the files to the playground folder.&lt;/li&gt;&#xA;&lt;li&gt;Add the files from the playground folder to the playground.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Putting the playground in its own folder isn’t mandatory, but doing so makes organizing the files in the playground easier.&lt;/p&gt;&#xA;&lt;h4 id=&#34;addingfilestotheplaygroundfolder&#34;&gt;Adding Files to the Playground Folder&lt;/h4&gt;&#xA;&lt;p&gt;In Xcode choose File &amp;gt; New &amp;gt; File to create a new file. The New File Assistant opens.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/NewFileAssistant.png&#34; alt=&#34;new file assistant&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Click the iOS button at the top of the window. Select the type of file you want to create. For SpriteKit games the most common files to create are the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Asset catalog&lt;/li&gt;&#xA;&lt;li&gt;Cocoa Touch class&lt;/li&gt;&#xA;&lt;li&gt;SpriteKit action&lt;/li&gt;&#xA;&lt;li&gt;SpriteKit particle file&lt;/li&gt;&#xA;&lt;li&gt;SpriteKit scene&lt;/li&gt;&#xA;&lt;li&gt;SpriteKit tile set&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Click the Next button. Name the file, navigate to the playground folder, and click the Create button.&lt;/p&gt;&#xA;&lt;h5 id=&#34;troubleshooting&#34;&gt;Troubleshooting&lt;/h5&gt;&#xA;&lt;p&gt;If the New File Assistant does not open and a new file appears in the playground, close the playground and reopen it. Swift playgrounds can be flaky.&lt;/p&gt;&#xA;&lt;h4 id=&#34;addthecreatedfilestotheplayground&#34;&gt;Add the Created Files to the Playground&lt;/h4&gt;&#xA;&lt;p&gt;Now that you created the file, you can add it to the playground. Select the Resources folder or Sources folder (for source code files), right-click, and choose Add Files to. An Open panel opens. Navigate to the playground folder, select the file you want to add, and click the Add button.&lt;/p&gt;&#xA;&lt;h5 id=&#34;troubleshooting&#34;&gt;Troubleshooting&lt;/h5&gt;&#xA;&lt;p&gt;If the file you added does not appear in the playground, close the playground and reopen it.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>SpriteKit Playground Introduction</title>
      <link>https://checksimgames.com/spritekit-playground-introduction/</link>
      <pubDate>Mon, 18 Feb 2019 19:09:50 +0000</pubDate>
      <guid>https://checksimgames.com/spritekit-playground-introduction/</guid>
      <description>&lt;p&gt;One of the easiest ways to get started making iOS games is to use Swift playgrounds in Xcode. With playgrounds you can create game prototypes, experiment with gameplay mechanics, and learn SpriteKit without worrying about annoying details like code signing, certificates, and provisioning profiles. This article introduces you to using playgrounds in iOS game development.&lt;/p&gt;&#xA;&lt;h3 id=&#34;creatingaplayground&#34;&gt;Creating a Playground&lt;/h3&gt;&#xA;&lt;p&gt;The first step in using a Swift playground is to create one. Launch Xcode and choose File &amp;gt; New &amp;gt; Playground. The New Playground Assistant opens.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/CreatePlayground.png&#34; alt=&#34;create playground&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Click iOS at the top of the window and select the Game template. Click the Next button. Name your playground and choose a location to save it. Click the Create button to finish making the playground.&lt;/p&gt;&#xA;&lt;h3 id=&#34;showthegameview&#34;&gt;Show the Game View&lt;/h3&gt;&#xA;&lt;p&gt;When you create the playground, all you see is an editor with the source code for the playground. The next step is to open the live view so you can see the game running in the playground.&lt;/p&gt;&#xA;&lt;h4 id=&#34;xcode11andlater&#34;&gt;Xcode 11 and Later&lt;/h4&gt;&#xA;&lt;p&gt;To open the live view look at the tab bar above the editor. On the right side of the tab bar are two buttons. Click the left button and choose Live View.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ShowLiveViewXcode11.png&#34; alt=&#34;show live view&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Use the Layout submenu to decide whether to show the live view on the right or the bottom.&lt;/p&gt;&#xA;&lt;h4 id=&#34;xcode10andearlier&#34;&gt;Xcode 10 and Earlier&lt;/h4&gt;&#xA;&lt;p&gt;The first step to opening the live view is to open the assistant editor so you can have both the source code editor and the live view visible in the playground. On the top right side of the playground window are two sets of three buttons. The first set of buttons controls the editor. Click the center button to open the assistant editor.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/AssistantEditorHighlighted.png&#34; alt=&#34;assistant editor&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;When you click the button, a menu opens to let you decide how the assistant editor appears. If you choose Assistant Editors on Right, the editor and game view appear side by side. If you choose Assistant Editors on Bottom, the game view appears below the editor. Where you want the assistant editor is a matter of personal preference.&lt;/p&gt;&#xA;&lt;h4 id=&#34;gettheliveviewtoshowsomething&#34;&gt;Get the Live View to Show Something&lt;/h4&gt;&#xA;&lt;p&gt;When you open the live view, you’ll notice it’s blank and not showing a game. That’s because the playground is not running so there’s nothing to show. The bottom left area of the window has two buttons. Click the right button to run the playground.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/RunPlaygroundHighlighted.png&#34; alt=&#34;run playgrounds&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now the playground is running and the live view should have a black background with a &lt;code&gt;Hello, World!&lt;/code&gt; label showing.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/HelloWorldLabel.png&#34; alt=&#34;hello world label&#34;&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;playwiththedefaultplayground&#34;&gt;Play with the Default Playground&lt;/h3&gt;&#xA;&lt;p&gt;Clicking in the game view shows a spinning shape. Clicking and dragging creates a series of shapes. If you drag slowly, it looks like you’re dragging a Slinky around the game view.&lt;/p&gt;&#xA;&lt;h3 id=&#34;removingapplesboilerplatecode&#34;&gt;Removing Apple’s Boilerplate Code&lt;/h3&gt;&#xA;&lt;p&gt;Apple included code in the playground to show the label and the spinning shapes. But you’re not going to need that code in your own game projects.&lt;/p&gt;&#xA;&lt;p&gt;Now it’s time to remove what Apple supplied in the playground so you can start prototyping your game. You’re going to remove the &lt;code&gt;Hello, World!&lt;/code&gt; label from the scene, remove the code that uses the label, and remove the code that creates the spinning shapes.&lt;/p&gt;&#xA;&lt;h4 id=&#34;stoptheplayground&#34;&gt;Stop the Playground&lt;/h4&gt;&#xA;&lt;p&gt;Removing Apple’s code is going to cause errors temporarily so it makes sense to stop the playground until everything is removed. Click the Stop button at the bottom of the window to stop running the playground.&lt;/p&gt;&#xA;&lt;h4 id=&#34;showthenavigator&#34;&gt;Show the Navigator&lt;/h4&gt;&#xA;&lt;p&gt;To remove the label from the scene, you must open the scene file. To open the scene file you must show the navigator in the playground window. On the top right side of the playground window are two sets of three buttons. Click the first button in the second group of buttons to open a navigator on the left side of the window.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ShowNavigatorHighlighted.png&#34; alt=&#34;show navigator old Xcode&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Screenshot for newer Xcode versions:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/Xcode11ShowNavigatorHighlighted.png&#34; alt=&#34;show navigator new Xcode&#34;&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;removethelabelfromthescene&#34;&gt;Remove the Label from the Scene&lt;/h4&gt;&#xA;&lt;p&gt;Once you open the navigator, you can remove the label from the scene. Select the file &lt;code&gt;GameScene.sks&lt;/code&gt; from the navigator to open the scene editor.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/Navigator.png&#34; alt=&#34;navigator&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Select the label in the scene editor.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/RemoveLabel.png&#34; alt=&#34;remove label&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Press the Delete key to remove the label.&lt;/p&gt;&#xA;&lt;h4 id=&#34;removethecode&#34;&gt;Remove the Code&lt;/h4&gt;&#xA;&lt;p&gt;Now it’s time to remove Apple’s code. Let’s start by removing the following two lines of code that declare properties (variables) for the label and spinning nodes:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;private&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; label : SKLabelNode!&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;private&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; spinnyNode : SKShapeNode!&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Next, remove the code inside the following functions:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;didMove&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;touchDown&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;touchMoved&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;touchUp&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;After removing the code, the functions should look like the following:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;didMove&lt;/span&gt;(to view: SKView) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;touchDown&lt;/span&gt;(atPoint pos : CGPoint) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;touchMoved&lt;/span&gt;(toPoint pos : CGPoint) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;touchUp&lt;/span&gt;(atPoint pos : CGPoint) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now when you run the playground, there will be an empty black view. It takes a surprising amount of work to get the playground in a state where you can start making a game in the playground.&lt;/p&gt;&#xA;&lt;h3 id=&#34;addyourownstuff&#34;&gt;Add Your Own Stuff&lt;/h3&gt;&#xA;&lt;p&gt;Now you can start making a game prototype. To finish this tutorial I’m going to add a sprite to the scene and add code to move the sprite to where the player taps on the screen.&lt;/p&gt;&#xA;&lt;h4 id=&#34;addaspritenode&#34;&gt;Add a Sprite Node&lt;/h4&gt;&#xA;&lt;p&gt;Select the file &lt;code&gt;GameScene.sks&lt;/code&gt; from the navigator to open the scene editor.&lt;/p&gt;&#xA;&lt;p&gt;Open the object library by option-clicking the Library button at the top of the window. Option-clicking will keep the object library open so you can add items to the scene. If you don’t want the object library open the whole time, then click the Library button instead of option-clicking.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ObjectLibraryButtonHighlighted.png&#34; alt=&#34;object library old Xcode&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Screenshot for newer Xcode versions:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/Xcode11OpenLibraryHighlighted.png&#34; alt=&#34;object library new Xcode&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Select Color Sprite from the object library and drag it to the scene canvas.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ObjectLibrary.png&#34; alt=&#34;object library&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Select the sprite in the canvas. Open the attributes inspector by choosing View &amp;gt; Inspectors &amp;gt; Show Attributes Inspector.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/AttributesInspector.png&#34; alt=&#34;attributes inspector&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Enter a name for the sprite in the Name text field. Remember the name because you’re going to use it in your code. If you want a different color for your sprite, choose a color from the Color menu.&lt;/p&gt;&#xA;&lt;h4 id=&#34;addcode&#34;&gt;Add Code&lt;/h4&gt;&#xA;&lt;p&gt;The last step is to add some code to show the sprite and move it to where the player taps on the screen. There are three pieces of code to add:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Declare a property (variable) for the player sprite.&lt;/li&gt;&#xA;&lt;li&gt;Write code to read the player sprite from the scene (.sks) file.&lt;/li&gt;&#xA;&lt;li&gt;Write code to set the player sprite to the location of the tap.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;To declare a property for the player sprite, add the following line of code before the &lt;code&gt;didMove&lt;/code&gt; function:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; playerSprite: SKSpriteNode? = &lt;span style=&#34;color:#66d9ef&#34;&gt;nil&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The start of the &lt;code&gt;GameScene&lt;/code&gt; class should look like the following code:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;class&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;GameScene&lt;/span&gt;: SKScene {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; playerSprite: SKSpriteNode? = &lt;span style=&#34;color:#66d9ef&#34;&gt;nil&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;didMove&lt;/span&gt;(to view: SKView) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The code declares the &lt;code&gt;playerSprite&lt;/code&gt; variable to be an optional of type &lt;code&gt;SKSpriteNode&lt;/code&gt;, which is SpriteKit’s class for sprites. Making the variable an optional means that &lt;code&gt;playerSprite&lt;/code&gt; is either an object of type &lt;code&gt;SKSpriteNode&lt;/code&gt; or nil. The &lt;code&gt;playerSprite&lt;/code&gt; property is initially nil. You will set it in the &lt;code&gt;didMove&lt;/code&gt; function.&lt;/p&gt;&#xA;&lt;p&gt;To set the &lt;code&gt;playerSprite&lt;/code&gt; property, add the following line of code in the &lt;code&gt;didMove&lt;/code&gt; function:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;playerSprite = self.childNode(withName: &amp;quot;playerSprite&amp;quot;) as? SKSpriteNode&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;So the function looks like the following code:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;func&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;didMove&lt;/span&gt;(to view: SKView) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&#x9;playerSprite = &lt;span style=&#34;color:#66d9ef&#34;&gt;self&lt;/span&gt;.childNode(withName: &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;playerSprite&amp;#34;&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;as&lt;/span&gt;? SKSpriteNode&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The code checks for an item in the &lt;code&gt;GameScene.sks&lt;/code&gt; file with the name &lt;code&gt;playerSprite&lt;/code&gt; and sets the &lt;code&gt;playerSprite&lt;/code&gt; variable to that item. The name of the sprite in the call to &lt;code&gt;childNode&lt;/code&gt; has to match the name you gave it in the &lt;code&gt;GameScene.sks&lt;/code&gt; file. If the names don’t match, the code won’t be able to find the sprite you added to the scene file. The &lt;code&gt;playerSprite&lt;/code&gt; variable will still be nil, and nothing will happen when the player taps on the screen. The &lt;code&gt;as? SKSpriteNode&lt;/code&gt; part of the code says to treat the item as a sprite node instead of a generic SpriteKit node.&lt;/p&gt;&#xA;&lt;p&gt;The last thing to do is set the sprite’s position to where you tap in the scene. Add the following line of code in the &lt;code&gt;touchDown&lt;/code&gt; function:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;playerSprite?.position = pos&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;So the function looks like the following code:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;func touchDown(atPoint pos : CGPoint) {&#xA;&#x9;playerSprite?.position = pos&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The code sets the position of the sprite to the position of the touch on the screen.&lt;/p&gt;&#xA;&lt;p&gt;Run the playground, and the sprite should appear where you click in the game view.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://checksimgames.com/playgrounds/spritekitplayground.zip&#34;&gt;&lt;!-- raw HTML omitted --&gt;Download Playground&lt;!-- raw HTML omitted --&gt;&lt;/a&gt;&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>What engine should I use to make my iOS game?</title>
      <link>https://checksimgames.com/what-engine-should-i-use-to-make-my-ios-game/</link>
      <pubDate>Mon, 11 Feb 2019 23:04:47 +0000</pubDate>
      <guid>https://checksimgames.com/what-engine-should-i-use-to-make-my-ios-game/</guid>
      <description>&lt;p&gt;If you go to &lt;a href=&#34;https://www.reddit.com/r/gamedev&#34;&gt;Reddit’s game development group&lt;/a&gt;, you will see lots of questions from people asking what engine they should use to make their game. Since Check Sim Games is about iOS game development, I figured I should answer this question for people who want to make iOS games.&lt;/p&gt;&#xA;&lt;p&gt;There are two engines for making iOS games that stand above the rest: Unity and SpriteKit.&lt;/p&gt;&#xA;&lt;h3 id=&#34;unity&#34;&gt;Unity&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://unity3d.com&#34;&gt;Unity&lt;/a&gt; is a very popular engine for making 2D and 3D games. Unity has a lot going for it. It’s free until you start making $100,000(US) a year with your games. Lots of people use Unity so there are numerous books, articles, and videos to help you learn how to use Unity. Unity also has a large asset store of tools, libraries, and artwork you can buy to speed up the development of your game.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Reasons to use Unity&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You want your game to run on Android and other non-Apple platforms.&lt;/li&gt;&#xA;&lt;li&gt;You want to make a 3D game. SpriteKit is for 2D games only.&lt;/li&gt;&#xA;&lt;li&gt;You want to develop your game on a Windows computer.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The last reason deserves more explanation. You need access to a Mac to install your game on an iOS device and to upload your game to the App Store. But with Unity you can develop an iOS game on a Windows computer. Unity has a &lt;a href=&#34;https://itunes.apple.com/us/app/unity-remote-5/id871767552&#34;&gt;Unity Remote iOS app&lt;/a&gt; you can install from the App Store. With Unity Remote you can play a scene from your game on an iOS device without having to install the whole game on the device.&lt;/p&gt;&#xA;&lt;h3 id=&#34;unityalternatives&#34;&gt;Unity Alternatives&lt;/h3&gt;&#xA;&lt;p&gt;In September 2023 Unity angered many game developers by proposing to charge developers 20 cents per game install once the game crossed income and install thresholds. If you don’t want to use Unity, take at a look at &lt;a href=&#34;https://github.com/DJLink/list-of-game-engines-and-frameworks/&#34;&gt;a list of game engines and frameworks&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Out of that list of engines, &lt;a href=&#34;https://godotengine.org/&#34;&gt;Godot&lt;/a&gt; and &lt;a href=&#34;https://defold.com/&#34;&gt;Defold&lt;/a&gt; are the ones I recommend looking at first.&lt;/p&gt;&#xA;&lt;p&gt;Godot is the most popular of the engines on the list so you have the best chance of finding tutorials and answers to your questions. One current limitation of Godot for making iOS games is you must use Godot’s GDScript language. Godot supports C# but not on iOS.&lt;/p&gt;&#xA;&lt;p&gt;Defold is less popular but looks like it has better iOS support than Godot. When I looked at Godot, most people used it to make computer games.&lt;/p&gt;&#xA;&lt;h3 id=&#34;spritekit&#34;&gt;SpriteKit&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://developer.apple.com/documentation/spritekit&#34;&gt;SpriteKit&lt;/a&gt; is Apple’s framework for making 2D games. SpriteKit is not a standalone app. Use &lt;a href=&#34;https://developer.apple.com/xcode/&#34;&gt;Xcode&lt;/a&gt; to make your game with SpriteKit.&lt;/p&gt;&#xA;&lt;p&gt;In Xcode choose File &amp;gt; New &amp;gt; Project to create a new project for your game. Click either the iOS or Cross-platform button at the top of the New Project Assistant. Select the Game project template.&lt;/p&gt;&#xA;&lt;!-- raw HTML omitted --&gt;&#xA;&lt;p&gt;&lt;strong&gt;Reasons to use SpriteKit&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You don’t care about Android. SpriteKit games run only on iOS and other Apple platforms.&lt;/li&gt;&#xA;&lt;li&gt;You want to program your game in Swift. Unity uses C# as its programming language.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Game Development Requirements</title>
      <link>https://checksimgames.com/ios-game-development-requirements/</link>
      <pubDate>Tue, 29 Jan 2019 00:06:30 +0000</pubDate>
      <guid>https://checksimgames.com/ios-game-development-requirements/</guid>
      <description>&lt;p&gt;People new to iOS game development want to know what’s required to make an iOS game. iOS game development has the following requirements:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;An iOS device&lt;/li&gt;&#xA;&lt;li&gt;An Apple developer account&lt;/li&gt;&#xA;&lt;li&gt;Access to a Mac&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;If you have a Mac, an iOS device, and $99(US), you can develop and ship an iOS game.&lt;/p&gt;&#xA;&lt;h3 id=&#34;iosdevice&#34;&gt;iOS Device&lt;/h3&gt;&#xA;&lt;p&gt;You’re going to need an iOS device to test your game. It doesn’t matter much the type of iOS device: iPhone, iPad, or iPod Touch. All that matters is the device is capable of running your game. Any device capable of running iOS 9 would make a good test device.&lt;/p&gt;&#xA;&lt;h3 id=&#34;appledeveloperaccount&#34;&gt;Apple Developer Account&lt;/h3&gt;&#xA;&lt;p&gt;You need an Apple developer account to submit apps to the App Store. If you own an Apple device, you probably created an Apple ID to use the device. You can use that Apple ID to create a developer account.&lt;/p&gt;&#xA;&lt;p&gt;Go to &lt;a href=&#34;https://developer.apple.com&#34;&gt;Apple developer’s site&lt;/a&gt; and click the Account link at the top of the page. Sign in with your Apple ID. If you don’t have an Apple ID, click the Create yours now link to create an Apple ID.&lt;/p&gt;&#xA;&lt;p&gt;When you start developing your game, you can stick with a free developer account. To put your app on the App Store, you must join &lt;a href=&#34;https://developer.apple.com/programs/&#34;&gt;Apple’s developer program&lt;/a&gt; and pay the $99(US) annual fee. But you can wait until you’re close to finishing your game to join the developer program.&lt;/p&gt;&#xA;&lt;h3 id=&#34;accesstoamac&#34;&gt;Access to a Mac&lt;/h3&gt;&#xA;&lt;p&gt;You don’t need a Mac to make an iOS game. You can make an iOS game with the Unity game engine on a Windows computer. But you need access to a Mac to submit your game to the App Store.&lt;/p&gt;&#xA;&lt;p&gt;If you’re not sure what kind of Mac to buy, make sure you get one that is capable of running the latest version of macOS. Any Mac made in the past 3–5 years should be suitable to develop iOS games.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Butts in Space</title>
      <link>https://checksimgames.com/ios-games-i-like-butts-in-space/</link>
      <pubDate>Thu, 20 Dec 2018 22:00:56 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-butts-in-space/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/butts-in-space/id1150960208?mt=8&#34;&gt;iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In Butts in Space you take the role of a butt floating around in outer space. The object of the game is to gather rolls of toilet paper while avoiding asteroids. You get one point for each second you play and 10 points for each roll of toilet paper. There are no levels in Butts in Space. You play until you run out of lives.&lt;/p&gt;&#xA;&lt;p&gt;Butts in Space has the following powerups:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Underwear, which lets you destroy asteroids for a brief time and gives you 25 points for each asteroid you destroy.&lt;/li&gt;&#xA;&lt;li&gt;Green Crystal, which shrinks you, making it easier to avoid asteroids.&lt;/li&gt;&#xA;&lt;li&gt;Red Crystal, which enlarges you. Each roll of toilet paper you gather while enlarged is worth 25 points.&lt;/li&gt;&#xA;&lt;li&gt;Cosmic Cloud, which provides a cosmic blast. Long press to unleash the cosmic blast, pushing the asteroids away. This is a good powerup to use when you find yourself surrounded by asteroids.&lt;/li&gt;&#xA;&lt;li&gt;Space Blob, which gives you an extra life.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;There are also wooden crates floating in space. A crate contains a random powerup. The randomness of the powerups makes each game a unique experience.&lt;/p&gt;&#xA;&lt;p&gt;Butts in Space is free, but paying 99 cents unlocks all the characters, including the charming Hairy Butt, and gives you an extra life for each game.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Getting Started with ProBuilder in Unity</title>
      <link>https://checksimgames.com/getting-started-with-probuilder-in-unity/</link>
      <pubDate>Tue, 08 May 2018 22:24:10 +0000</pubDate>
      <guid>https://checksimgames.com/getting-started-with-probuilder-in-unity/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://unity3d.com/unity/features/worldbuilding/probuilder&#34;&gt;ProBuilder&lt;/a&gt; is a Unity asset that Unity bought and incorporated into the 2018 version of Unity. ProBuilder simplifies creating 3D levels. Unity’s instructions on installing ProBuilder are a little vague so I’m writing this post on how to get started with ProBuilder using Unity 2018.&lt;/p&gt;&#xA;&lt;h3 id=&#34;addingprobuildertoyourproject&#34;&gt;Adding ProBuilder to Your Project&lt;/h3&gt;&#xA;&lt;p&gt;Start by creating a new project using the 3D template. ProBuilder works only with 3D projects.&lt;/p&gt;&#xA;&lt;p&gt;After creating your project you must add ProBuilder to the project. Choose Window &amp;gt; Package Manager to open the package manager window. Click the All button in the top left portion of the window to show the available packages to install. Select ProBuilder from the list of packages.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/UnityPackageManagerWindow.png&#34; alt=&#34;package manager window&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The right side of the window contains a description of the ProBuilder asset. Click the Install button to add ProBuilder to your project.&lt;/p&gt;&#xA;&lt;h3 id=&#34;usingprobuilder&#34;&gt;Using ProBuilder&lt;/h3&gt;&#xA;&lt;p&gt;To start using ProBuilder, open its window by choosing Tools &amp;gt; ProBuilder &amp;gt; ProBuilder Window.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ProBuilderWindow.png&#34; alt=&#34;ProBuilder window&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The easiest way to start is to click the New Shape item in the ProBuilder window.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ProBuilderShapeToolWindow.png&#34; alt=&#34;ProBuilder shape tool window&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Choose a shape from the Shape Selector menu. A plane is a good choice for your first shape. It lets you place the ground for a player character to walk on. Cubes are good for building walls.&lt;/p&gt;&#xA;&lt;p&gt;When you choose a shape from the Shape Selector menu, the Shape Tool window provides controls to customize the shape. Most shapes have controls to set the size of the shape. Click the green Build button at the bottom of the Shape Tool window to add the shape to your scene.&lt;/p&gt;&#xA;&lt;h3 id=&#34;polyshapetool&#34;&gt;Poly Shape Tool&lt;/h3&gt;&#xA;&lt;p&gt;If you want to create a shape that’s not in the Shape Selector menu, use ProBuilder’s Poly Shape tool. Click the New Poly Shape item in the ProBuilder menu.&lt;/p&gt;&#xA;&lt;p&gt;The first step to creating a poly shape is to build the surface of the shape. Click inside the scene to create a vertex for the surface. Select a vertex and drag to change its position. Continue to click to create vertices, making sure to eventually connect them.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ProBuilderPolyShapeVerticesHighlighted.png&#34; alt=&#34;poly shape vertices&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Once you connect the vertices, ProBuilder creates the surface. After ProBuilder creates the surface, move the mouse up or down to change the shape’s height.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://checksimgames.com/images/ProBuilderPolyShapeSurface.png&#34; alt=&#34;poly shape surface&#34;&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;wheretolearnmoreaboutprobuilder&#34;&gt;Where to Learn More About ProBuilder&lt;/h3&gt;&#xA;&lt;p&gt;Go to Unity’s &lt;a href=&#34;https://unity3d.com/unity/features/worldbuilding/probuilder&#34;&gt;ProBuilder page&lt;/a&gt; to learn more about ProBuilder and watch video tutorials about it.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Tennis in the Face</title>
      <link>https://checksimgames.com/ios-games-i-like-tennis-in-the-face/</link>
      <pubDate>Mon, 22 Jan 2018 05:04:54 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-tennis-in-the-face/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/tennis-in-the-face/id583817577?mt=8&#34;&gt;iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you like Angry Birds, you’ll like Tennis in the Face. Instead of using a slingshot to launch birds, you serve tennis balls and try to hit all the people on the screen. If you can hit everyone with one shot, you get a crown for that level.&lt;/p&gt;&#xA;&lt;p&gt;With over 100 levels Tennis in the Face provides plenty of entertainment for $2.99. Finding a way to hit everyone with one shot provides replay value. Fans of Angry Birds should add Tennis in the Face to their iOS game library.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Considers This a Word Game: MASH</title>
      <link>https://checksimgames.com/apple-considers-this-a-word-game-mash/</link>
      <pubDate>Mon, 11 Dec 2017 20:17:43 +0000</pubDate>
      <guid>https://checksimgames.com/apple-considers-this-a-word-game-mash/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/m-a-s-h/id437655976?mt=8&#34;&gt;MASH iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;MASH is a mobile version of Mansion Apartment Shack House, a grade school game that tries to predict your future. Like all the games I’ve discussed in the Apple Considers This a Word Game series, I have no idea how this is a word game.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Touch Arcade Private Developer Forum</title>
      <link>https://checksimgames.com/touch-arcade-private-developer-forum/</link>
      <pubDate>Mon, 13 Nov 2017 00:02:05 +0000</pubDate>
      <guid>https://checksimgames.com/touch-arcade-private-developer-forum/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://toucharcade.com&#34;&gt;Touch Arcade&lt;/a&gt; is a popular site that covers iOS gaming. They have &lt;a href=&#34;http://forums.toucharcade.com&#34;&gt;forums&lt;/a&gt; where people discuss games. If you’re making an iOS game, the &lt;a href=&#34;http://forums.toucharcade.com&#34;&gt;Touch Arcade forums&lt;/a&gt; are a good way to build up a buzz about your game as you’re making it.&lt;/p&gt;&#xA;&lt;p&gt;If you go to Touch Arcade’s forums, you’ll notice they have two forums for game developers, one public and one private. To join the private game developer forum, you must have a game published on the App Store and ask to be invited. When I released the iOS version of LetterMiner, I asked to be invited to the private forum, figuring I was joining a secret group where people discussed all aspects of iOS game development.&lt;/p&gt;&#xA;&lt;p&gt;I learned the private game developer forum has very few posts. There have been three posts in 2017, five in 2016, and nine in 2015. The last post that received a reply was in April of 2016. If you’re an aspiring iOS game developer who’s worried about missing out on something in the private game developer forum, stop worrying. You’re not missing anything. There’s more traffic in the public game developer forum.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>October 2017 LetterMiner Downloads</title>
      <link>https://checksimgames.com/october-2017-letterminer-downloads/</link>
      <pubDate>Thu, 02 Nov 2017 04:06:33 +0000</pubDate>
      <guid>https://checksimgames.com/october-2017-letterminer-downloads/</guid>
      <description>&lt;p&gt;Here are LetterMiner’s October download numbers.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;iOS: 11 downloads&lt;/li&gt;&#xA;&lt;li&gt;Mac: 2 downloads&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The fear I had last month was realized. The download boost that started in the middle of August ended in late September. The download spike wasn’t helpful. All of the iOS downloads were from China, and I did not notice any new people playing LetterMiner.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Considers This a Word Game: Draw One line</title>
      <link>https://checksimgames.com/apple-considers-this-a-word-game-draw-one-line/</link>
      <pubDate>Mon, 23 Oct 2017 04:01:28 +0000</pubDate>
      <guid>https://checksimgames.com/apple-considers-this-a-word-game-draw-one-line/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/draw-one-line/id1265153996?mt=8&#34;&gt;Draw One line iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Draw One line is a puzzle game where you draw one line to connect two circles. There are no words in the game, yet Apple places Draw One line in its list of free word games.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Considers This a Word Game: Minesweeper Board Game</title>
      <link>https://checksimgames.com/apple-considers-this-a-word-game-minesweeper-board-game/</link>
      <pubDate>Mon, 16 Oct 2017 04:23:46 +0000</pubDate>
      <guid>https://checksimgames.com/apple-considers-this-a-word-game-minesweeper-board-game/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/minesweeper-board-game/id1262352734?mt=8&#34;&gt;Minesweeper Board Game iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Minesweeper Board Game is a Minesweeper game. There are no words in it, only numbers. Yet Minesweeper Board Game appears in Apple’s list of free word games and LetterMiner doesn’t.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Considers This a Word Game: Slots of Gold Big Win</title>
      <link>https://checksimgames.com/apple-considers-this-a-word-game-slots-of-gold-big-win/</link>
      <pubDate>Mon, 09 Oct 2017 18:39:59 +0000</pubDate>
      <guid>https://checksimgames.com/apple-considers-this-a-word-game-slots-of-gold-big-win/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/slots-of-gold-big-win/id1238386050?mt=8&#34;&gt;Slots of Gold Big Win iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Slots of Gold Big Win is a slot machine game yet it appears in the App Store’s list of free word games.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>September 2017 LetterMiner Downloads</title>
      <link>https://checksimgames.com/september-2017-letterminer-downloads/</link>
      <pubDate>Mon, 02 Oct 2017 19:38:32 +0000</pubDate>
      <guid>https://checksimgames.com/september-2017-letterminer-downloads/</guid>
      <description>&lt;p&gt;Here are the download numbers for LetterMiner in September.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;iOS: 1744 downloads&lt;/li&gt;&#xA;&lt;li&gt;Mac: 9 downloads&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I had almost double the iOS downloads I had in August. The downloads started to drop on September 29. I fear the boost in downloads that started in the middle of August has ended.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Considers This a Word Game: Trivia Guy</title>
      <link>https://checksimgames.com/apple-considers-this-a-word-game-trivia-guy/</link>
      <pubDate>Mon, 25 Sep 2017 19:53:56 +0000</pubDate>
      <guid>https://checksimgames.com/apple-considers-this-a-word-game-trivia-guy/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/trivia-guy/id1220889266?mt=8&#34;&gt;Trivia Guy iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Trivia Guy is a quiz game. It belongs in the trivia game section of the App Store, not the word game section.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Considers This a Word Game: Number Salad</title>
      <link>https://checksimgames.com/apple-considers-this-a-word-game-number-salad/</link>
      <pubDate>Mon, 18 Sep 2017 20:08:16 +0000</pubDate>
      <guid>https://checksimgames.com/apple-considers-this-a-word-game-number-salad/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/number-salad/id1257602741?mt=8&#34;&gt;Number Salad iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The first sentence describing Number Salad in its iTunes listing is that Number Salad is a numeric puzzle game. How can Apple consider a numeric puzzle game to be a word game?&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Considers This a Word Game: Choices: Stories You Play</title>
      <link>https://checksimgames.com/apple-considers-this-a-word-game-choices-stories-you-play/</link>
      <pubDate>Mon, 11 Sep 2017 04:20:35 +0000</pubDate>
      <guid>https://checksimgames.com/apple-considers-this-a-word-game-choices-stories-you-play/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/choices-stories-you-play/id1071310449?mt=8&#34;&gt;Choices: Stories You Play iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Choices: Stories You Play is the mobile gaming equivalent of reading a Choose Your Own Adventure book. You play through a story and make choices to control the direction the story takes.&lt;/p&gt;&#xA;&lt;p&gt;The only way Choices: Stories You Play could qualify as a word game is that the stories you play have words in them. By that logic almost every adventure and role-playing game in the App Store would be classified as word games. This game belongs in the adventure game section of the App Store.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>August 2017 LetterMiner Downloads</title>
      <link>https://checksimgames.com/august-2017-letterminer-downloads/</link>
      <pubDate>Mon, 04 Sep 2017 21:32:28 +0000</pubDate>
      <guid>https://checksimgames.com/august-2017-letterminer-downloads/</guid>
      <description>&lt;p&gt;August was the best month yet for LetterMiner downloads.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;iOS: 900 downloads&lt;/li&gt;&#xA;&lt;li&gt;Mac: 10 downloads&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The 900 downloads for the iOS version is especially good considering I had only 53 downloads from January through July.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner iOS Downloads Jump</title>
      <link>https://checksimgames.com/letterminer-ios-downloads-jump/</link>
      <pubDate>Thu, 24 Aug 2017 18:44:57 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-ios-downloads-jump/</guid>
      <description>&lt;p&gt;I recently checked the download stats for the iOS version of LetterMiner and noticed a big jump in downloads. The following list of download stats shows how dramatic the jump is:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;45 downloads in January&lt;/li&gt;&#xA;&lt;li&gt;8 downloads from February 1 to May 7&lt;/li&gt;&#xA;&lt;li&gt;0 downloads from May 8 to August 12&lt;/li&gt;&#xA;&lt;li&gt;7 downloads from August 13 to August 16&lt;/li&gt;&#xA;&lt;li&gt;331 downloads from August 17 to August 23&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I have no idea how I went from nobody downloading LetterMiner for three months to getting over 300 downloads in a week. I know Apple had nothing to do with it. You still can’t find LetterMiner by browsing the App Store. No one mentioned the game on Twitter. I didn’t get a spike in traffic to this site. A YouTube search for LetterMiner turned up nothing. There was an increase in my tweet impressions starting on August 17, but the number of impressions wasn’t much higher than the impressions I had some days in May and June when no one downloaded the game.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Considers This a Word Game: Key of Back Rooms 2</title>
      <link>https://checksimgames.com/apple-considers-this-a-word-game-key-of-back-rooms-2/</link>
      <pubDate>Mon, 21 Aug 2017 18:16:22 +0000</pubDate>
      <guid>https://checksimgames.com/apple-considers-this-a-word-game-key-of-back-rooms-2/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/key-of-back-rooms-2/id1267203374?mt=8&#34;&gt;Key of Back Rooms 2 iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The first sentence in the game’s App Store description says Key of Back Rooms 2 is a puzzle game. Why is it in the word game list? Key of Back Rooms 2 is as much a word game as LetterMiner is a trivia game.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Considers This a Word Game: What if..</title>
      <link>https://checksimgames.com/apple-considers-this-a-word-game-what-if/</link>
      <pubDate>Tue, 15 Aug 2017 19:45:13 +0000</pubDate>
      <guid>https://checksimgames.com/apple-considers-this-a-word-game-what-if/</guid>
      <description>&lt;p&gt;If you browse the word games in the iOS App Store, you will find a Free Games category. I browsed through the free games to see where LetterMiner appeared on the list. I discovered that LetterMiner was not on the list of free word games even though LetterMiner is a free word game.&lt;/p&gt;&#xA;&lt;p&gt;When browsing the list of free word games, I discovered lots of games that have no business being classified as word games. This discovery inspired me to create a series of blog posts spotlighting these games to point out the absurdity of Apple categorizing these games as word games. The series starts with the game What if..&lt;/p&gt;&#xA;&lt;h3 id=&#34;what-if&#34;&gt;What if..&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/what-if/id708700174?mt=8&#34;&gt;What if.. iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;What if.. is a game where you answer Yes or No to a question about a hypothetical situation and see how other people answered. The question starts with a What if that describes something positive and ends with a But that adds a downside to the situation. The following example comes from a screenshot on the iTunes page:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;What if...&#xA;&#xA;You got a magic printer which could print real money&#xA;&#xA;But...&#xA;&#xA;You need to wear a kilt and no underwear for the rest of your life.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;This sounds like an interesting game to play with a group of people. But the only way you could classify What if.. as a word game is to say the questions contain words. But if you’re going to use that logic, almost every game would be considered a word game, rendering the category meaningless.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: SpellPix</title>
      <link>https://checksimgames.com/ios-games-i-like-spellpix/</link>
      <pubDate>Wed, 03 May 2017 18:59:39 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-spellpix/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/spellpix/id868438474?mt=8&#34;&gt;SpellPix iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;SpellPix is a game where you find words to paint pictures. Each level begins with a grid of letters. Some of the letter tiles are colored. A colored tile represents either the start or the end of a word. The starting and ending tiles for a word have the same color. There are usually more than two tiles with the same color in an area so it’s not always easy to know which two tiles are the start and end of a word.&lt;/p&gt;&#xA;&lt;p&gt;Building a word involves creating a path from one colored tile to another. It’s similar to building a word in LetterMiner. When you find the word, the letter tiles in the word become the color of the starting and ending tiles. When you find all the words, you see the picture you painted.&lt;/p&gt;&#xA;&lt;p&gt;SpellPix has 233 levels. The early levels have smaller boards you can complete in a few minutes. The later levels have large boards that can take 15-30 minutes to clear so you get a lot of gameplay for $2. If you like word games, I recommend SpellPix.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Blockadillo</title>
      <link>https://checksimgames.com/ios-games-i-like-blockadillo/</link>
      <pubDate>Mon, 24 Apr 2017 04:09:04 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-blockadillo/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/blockadillo/id989724231?mt=8&#34;&gt;Blockadillo iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In Blockadillo you control a bouncing armadillo. The armadillo constantly bounces vertically. Tap the left side of the screen to move left, and tap the right side of the screen to move right. Having the armadillo constantly bounce simplifies the controls.&lt;/p&gt;&#xA;&lt;p&gt;The goal for each level in Blockadillo is to smash all the colored blocks. There are also optional idols to collect in each level. Collecting the idols increases the challenge and provides some replay value. You can play a level one time to get through it and go back and collect all the idols. When you die you have to restart the level. That’s why you would want to play a level once to complete it and go back to grab all the idols. The levels aren’t too big so restarting a level isn’t too frustrating.&lt;/p&gt;&#xA;&lt;p&gt;Blockadillo combines the gameplay of a platforming game and a puzzle game. Many levels have traps to avoid and chasms to cross, similar to a platforming game. Some levels require puzzle solving to smash all the blocks. Blockadillo currently has 80 levels with the promise of additional levels coming in the future.&lt;/p&gt;&#xA;&lt;p&gt;Blockadillo is a premium game with no ads or in-game purchases. It currently costs $2. You can try the game in your browser at the &lt;a href=&#34;http://www.blockadillo.com&#34;&gt;Blockadillo website&lt;/a&gt; and see if you like it before buying it for your iOS device.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Tools I Used to Make LetterMiner</title>
      <link>https://checksimgames.com/tools-i-used-to-make-letterminer/</link>
      <pubDate>Mon, 20 Mar 2017 19:28:42 +0000</pubDate>
      <guid>https://checksimgames.com/tools-i-used-to-make-letterminer/</guid>
      <description>&lt;p&gt;It’s a short list. I used Apple’s Xcode tool and SpriteKit framework to program the game using the Swift language. I used the app &lt;a href=&#34;http://flyingmeat.com/acorn/&#34;&gt;Acorn&lt;/a&gt; to create the letter tiles.&lt;/p&gt;&#xA;&lt;p&gt;Some auxiliary tools I used include git for version control, Bitbucket to store a backup of my code online, and the app &lt;a href=&#34;https://itunes.apple.com/us/app/asset-catalog-creator-free/id866571115?mt=12&#34;&gt;Asset Catalog Creator&lt;/a&gt; to generate the app icons.&lt;/p&gt;&#xA;&lt;p&gt;If you’re wondering why I used SpriteKit instead of Unity to make LetterMiner, I did try Unity before I settled on SpriteKit. With Unity I had a hard time getting the tiles on the game board to line up properly and determining what tile on the board was clicked. I had a much easier time getting a prototype working with SpriteKit so I stuck with it.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Pinball Breaker Forever</title>
      <link>https://checksimgames.com/ios-games-i-like-pinball-breaker-forever/</link>
      <pubDate>Mon, 20 Feb 2017 05:02:51 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-pinball-breaker-forever/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/pinball-breaker-forever/id1020947824?mt=8&#34;&gt;Pinball Breaker Forever iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Pinball Breaker Forever combines pinball and Breakout. Hit the ball with pinball flippers to break bricks like Breakout.&lt;/p&gt;&#xA;&lt;p&gt;The twist on the pinball and Breakout formulas is that the bricks move downward, similar to Space Invaders. Instead of worrying about keeping the ball from passing between the flippers, you worry about the bricks reaching the bottom of the board. When the bricks reach the bottom of the board, you lose a shield, which is the equivalent of a life in the game. Run out of shields and the game ends.&lt;/p&gt;&#xA;&lt;p&gt;In addition to the bricks there are targets to hit on the board. Hitting the targets gives you goodies like scoring bonuses and extra shields.&lt;/p&gt;&#xA;&lt;p&gt;If you like brick breaking games, give Pinball Breaker Forever a try. It’s free to play so there’s no financial risk in trying the game.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>January 2017 LetterMiner Downloads</title>
      <link>https://checksimgames.com/january-2017-letterminer-downloads/</link>
      <pubDate>Wed, 01 Feb 2017 19:59:44 +0000</pubDate>
      <guid>https://checksimgames.com/january-2017-letterminer-downloads/</guid>
      <description>&lt;p&gt;Here are the download numbers for LetterMiner in January.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;iOS: 45 downloads&lt;/li&gt;&#xA;&lt;li&gt;Mac: 4 downloads&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: INKS</title>
      <link>https://checksimgames.com/ios-games-i-like-inks/</link>
      <pubDate>Mon, 30 Jan 2017 05:03:37 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-inks/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/inks./id1081847121?mt=8&#34;&gt;INKS iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;INKS is a pinball game that uses levels instead of a single table. Each level has a table with a series of colored targets to hit. Hitting all the targets finishes the level.&lt;/p&gt;&#xA;&lt;p&gt;When you hit a target the ball becomes a paint ball with the color of the target you hit. Hitting additional targets blends the color of the paint. The rolling ball paints the table. As you play the level, the table takes on the look of a Jackson Pollock painting.&lt;/p&gt;&#xA;&lt;p&gt;INKS costs $2. If you like pinball or creating abstract art, INKS is worth the price.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner Doesn’t Appear in the App Store’s Word Game Section</title>
      <link>https://checksimgames.com/letterminer-doesnt-appear-in-the-app-stores-word-game-section/</link>
      <pubDate>Thu, 26 Jan 2017 21:11:14 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-doesnt-appear-in-the-app-stores-word-game-section/</guid>
      <description>&lt;p&gt;I recently browsed through the word game section of the App Store and discovered something disturbing. LetterMiner does not appear in any list of word games. I navigated my way to the list of word games and found the following categories:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;New games we love&lt;/li&gt;&#xA;&lt;li&gt;All-time greats&lt;/li&gt;&#xA;&lt;li&gt;Decipher the word&lt;/li&gt;&#xA;&lt;li&gt;Play against the clock&lt;/li&gt;&#xA;&lt;li&gt;Word battle games&lt;/li&gt;&#xA;&lt;li&gt;Play and learn&lt;/li&gt;&#xA;&lt;li&gt;Free games&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Since LetterMiner is a free game it should be in the list of free word games. But when I clicked the See All link, LetterMiner was not there. There were trivia games and state capital games in the free word games category. The game 2048 was in the list but not LetterMiner. I don’t think it’s too much to ask for a free word game to appear in the list of free word games.&lt;/p&gt;&#xA;&lt;p&gt;I find this discovery depressing. Somebody looking for a word game on the App Store has no way of finding LetterMiner unless they know the title of the game. Nobody can stumble upon my game on the App Store. No wonder LetterMiner has so few downloads.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>43 Downloads</title>
      <link>https://checksimgames.com/43-downloads/</link>
      <pubDate>Thu, 19 Jan 2017 19:40:07 +0000</pubDate>
      <guid>https://checksimgames.com/43-downloads/</guid>
      <description>&lt;p&gt;It’s been almost two weeks since I launched the iOS version of LetterMiner. So far 43 people have downloaded it. I have a smash hit on my hands.&lt;/p&gt;&#xA;&lt;p&gt;The most surprising data iTunes Connect has shown me is only 10 of the 43 downloads are from North America. 22 downloads are from Europe, and 11 are from the Asia Pacific region. With LetterMiner not supporting languages other than English, I expected most of the downloads to be from North America. Maybe people in the UK appreciate the fact that LetterMiner’s word list includes both the American and British spelling of words, such as COLOR and COLOUR.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Start by Making a Free Game</title>
      <link>https://checksimgames.com/start-by-making-a-free-game/</link>
      <pubDate>Mon, 16 Jan 2017 05:18:23 +0000</pubDate>
      <guid>https://checksimgames.com/start-by-making-a-free-game/</guid>
      <description>&lt;p&gt;The title of this article is my advice to anyone trying to get started as an indie game developer. If you’re quitting your job to make games full time, make sure you have enough money saved to make your first free game and your second game.&lt;/p&gt;&#xA;&lt;h3 id=&#34;what-do-i-mean-by-free&#34;&gt;What Do I Mean By Free?&lt;/h3&gt;&#xA;&lt;p&gt;I mean a game that is completely free. No ads. No in-game purchases. Provide a complete game that people can play for free.&lt;/p&gt;&#xA;&lt;p&gt;Since this game isn’t going to make you money, you should make a small game. Don’t spend a year working full time on this game. Make something you could finish if you spent 2-3 months working on it full time.&lt;/p&gt;&#xA;&lt;h3 id=&#34;what8217s-the-point&#34;&gt;What’s the Point?&lt;/h3&gt;&#xA;&lt;p&gt;Use the free game as practice for getting the word out about your games. Getting people to know your game exists is as difficult as developing the game. If you can’t get people to play a free game, how are you going to get them to buy a game?&lt;/p&gt;&#xA;&lt;p&gt;With the free game you can figure out what works and doesn’t work in publicizing your games. Use that knowledge on your second game. If you spend 12-18 months making a game and screw up the marketing, you’ll be out of business before you get a chance to make a second game.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Why LetterMiner is Free</title>
      <link>https://checksimgames.com/why-letterminer-is-free/</link>
      <pubDate>Wed, 11 Jan 2017 05:10:48 +0000</pubDate>
      <guid>https://checksimgames.com/why-letterminer-is-free/</guid>
      <description>&lt;p&gt;I decided to release LetterMiner as a free game. The main reason for this decision is I was unable to build up a buzz for the game while I was developing it. Why bother charging for a game when no one knows it exists?&lt;/p&gt;&#xA;&lt;p&gt;There are three main ways to make money on a mobile game.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Upfront purchase&lt;/li&gt;&#xA;&lt;li&gt;In-app purchases&lt;/li&gt;&#xA;&lt;li&gt;Ads&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Upfront purchase is the way most people buy console games. Someone pays money and gets the whole game. On mobile there are more games to play than people can possibly play. I had a difficult time getting people to try LetterMiner for free as I was developing it. If I couldn’t get people to try LetterMiner for free, how was I going to get them to pay for it?&lt;/p&gt;&#xA;&lt;p&gt;In-app purchases are a popular way for mobile game developers to make money. Let people download the game and play it for free. Get them to pay for things like additional content and in-game currency. I considered adding an in-app purchase to LetterMiner to unlock the multiple level mode. But I didn’t feel it was worth the effort to add an in-app purchase to LetterMiner so I didn’t.&lt;/p&gt;&#xA;&lt;p&gt;Ads allow developers to make money while allowing players to play for free. The downside of ads for game developers is lots of people have to play the game to make money. When you play a mobile game and see an ad, the developer gets about one cent from that ad. To make $100 a game has to show ten thousand ads to players. I don’t like to see ads in games. I wasn’t going to annoy people willing to play LetterMiner to make $10 a month in ad revenue.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner out for iOS</title>
      <link>https://checksimgames.com/letterminer-out-for-ios/</link>
      <pubDate>Sun, 08 Jan 2017 20:12:44 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-out-for-ios/</guid>
      <description>&lt;p&gt;The iOS version of LetterMiner is now available on the App Store.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/letterminer/id1065064364?mt=8&#34;&gt;LetterMiner iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Thanks to all the people who beta tested the iOS version of LetterMiner. You allowed me to release LetterMiner knowing it didn’t have any major bugs that made the game unplayable.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Apple Rejects iOS Version of LetterMiner</title>
      <link>https://checksimgames.com/apple-rejects-ios-version-of-letterminer/</link>
      <pubDate>Thu, 05 Jan 2017 23:22:36 +0000</pubDate>
      <guid>https://checksimgames.com/apple-rejects-ios-version-of-letterminer/</guid>
      <description>&lt;p&gt;I submitted the iOS version of LetterMiner to Apple this week. Today I got an email saying LetterMiner was rejected because it could not be played in portrait orientation on iPads.&lt;/p&gt;&#xA;&lt;p&gt;LetterMiner is meant to be played in landscape orientation. The problem is I can’t find a way to support only landscape orientation on iPad. I tried removing portrait orientation from the list of supported iPad orientations. When I sent the build to the App Store, it was rejected because iPad multitasking requires supporting all four orientations.&lt;/p&gt;&#xA;&lt;p&gt;I added portrait back to the list of supported orientations. Now LetterMiner is rejected for being unplayable in portrait orientation on iPads.&lt;/p&gt;&#xA;&lt;p&gt;Replying to the rejection message, I asked how to require the game to be played in landscape orientation. They replied they can’t offer technical assistance. They suggested posting a question on Apple’s developer forums, which I have done.&lt;/p&gt;&#xA;&lt;p&gt;If I can’t find a way to require landscape orientation on iPads, I won’t be releasing LetterMiner on iOS. LetterMiner is designed to be played in landscape orientation.&lt;/p&gt;&#xA;&lt;h3 id=&#34;update&#34;&gt;Update&lt;/h3&gt;&#xA;&lt;p&gt;I fixed the problem. I had to require the game to be fullscreen to disable iPad multitasking. Once I disabled iPad multitasking, I could force LetterMiner to play in landscape orientation. I submitted a new build to Apple for review.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Doug dug</title>
      <link>https://checksimgames.com/ios-games-i-like-doug-dug/</link>
      <pubDate>Mon, 12 Dec 2016 05:03:42 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-doug-dug/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/doug-dug./id855900711?mt=8&#34;&gt;Doug dug iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you ever played the arcade game Dig Dug, you’ll know what Doug dug is about. You play as Doug, and you dig tunnels looking for treasure. There are monsters and lava pits standing in your way. It’s been many years since I played Dig Dug, but I noticed the following differences in Doug dug and Dig Dug’s gameplay:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Doug dug is slower paced.&lt;/li&gt;&#xA;&lt;li&gt;You can’t move up in Doug dug.&lt;/li&gt;&#xA;&lt;li&gt;Doug dug places greater emphasis on gathering treasure and avoiding cave-ins than killing monsters.&lt;/li&gt;&#xA;&lt;li&gt;Killing monsters is easier in Doug dug.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Doug dug has an infinite map. You keep digging down until one of the following events happen:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A monster kills you.&lt;/li&gt;&#xA;&lt;li&gt;The ground above caves in on you.&lt;/li&gt;&#xA;&lt;li&gt;You fall into lava.&lt;/li&gt;&#xA;&lt;li&gt;You get blown up by dynamite.&lt;/li&gt;&#xA;&lt;li&gt;You fall too far down.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner 1.0</title>
      <link>https://checksimgames.com/letterminer-1-0/</link>
      <pubDate>Mon, 05 Dec 2016 23:41:54 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-1-0/</guid>
      <description>&lt;p&gt;LetterMiner 1.0 for Mac is available to download at the &lt;a href=&#34;http://letterminer.com&#34;&gt;LetterMiner website&lt;/a&gt;. The iOS version is in beta testing. If no major problems surface, the iOS version will be released in January.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Call for LetterMiner iOS Testers</title>
      <link>https://checksimgames.com/call-for-letterminer-ios-testers/</link>
      <pubDate>Tue, 08 Nov 2016 05:04:52 +0000</pubDate>
      <guid>https://checksimgames.com/call-for-letterminer-ios-testers/</guid>
      <description>&lt;p&gt;The iOS version of LetterMiner is ready for external testing. If you would like to test LetterMiner, read this post and follow the application instructions.&lt;/p&gt;&#xA;&lt;h3 id=&#34;system-requirements&#34;&gt;System Requirements&lt;/h3&gt;&#xA;&lt;p&gt;An iOS device running iOS 9 or 10.&lt;/p&gt;&#xA;&lt;h3 id=&#34;application-instructions&#34;&gt;Application Instructions&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to the &lt;a href=&#34;http://checksimgames.com/contact.html&#34;&gt;Contact page&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Click the Send Email button.&lt;/li&gt;&#xA;&lt;li&gt;In the email you send, tell me your name and the iOS devices you will use to test LetterMiner.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;I will assume the email address you use to send the email is your Apple ID email address. If you use a different email address to send the email, please include the Apple ID email address in your email.&lt;/p&gt;&#xA;&lt;p&gt;I especially need testers with the following devices:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;iPad Minis&lt;/li&gt;&#xA;&lt;li&gt;iPhone 7 and 7 Plus&lt;/li&gt;&#xA;&lt;li&gt;iPhone 5 and 5s&lt;/li&gt;&#xA;&lt;li&gt;iPhone SE&lt;/li&gt;&#xA;&lt;li&gt;iPod Touch 6th generation&lt;/li&gt;&#xA;&lt;li&gt;iPad Pro 12.9 inch (the big one)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;installing-letterminer&#34;&gt;Installing LetterMiner&lt;/h3&gt;&#xA;&lt;p&gt;You must download and install the &lt;a href=&#34;https://itunes.apple.com/us/app/testflight/id899247664?mt=8&#34;&gt;TestFlight app&lt;/a&gt; before you can install LetterMiner. TestFlight allows you to run pre-release iOS software on your devices.&lt;/p&gt;&#xA;&lt;p&gt;After installing TestFlight, launch it and accept the invitation to install LetterMiner. Please keep in mind you won’t receive an invitation until I add you to the list of external testers on Apple’s iTunes Connect site.&lt;/p&gt;&#xA;&lt;p&gt;To install LetterMiner on multiple devices, you must connect the device where you installed LetterMiner to your computer and launch iTunes. Copy LetterMiner to iTunes. Use iTunes to install LetterMiner on additional devices.&lt;/p&gt;&#xA;&lt;h3 id=&#34;what-to-test&#34;&gt;What to Test&lt;/h3&gt;&#xA;&lt;p&gt;I want you to look for problems with LetterMiner and report them to me so I can fix them before I submit the game to the App Store. Some specific things to test include the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Is it easy to figure out how to play?&lt;/li&gt;&#xA;&lt;li&gt;Are there any words the game doesn’t recognize as words?&lt;/li&gt;&#xA;&lt;li&gt;Is the game too difficult? Too easy?&lt;/li&gt;&#xA;&lt;li&gt;Is the game responsive to your touches?&lt;/li&gt;&#xA;&lt;li&gt;Does the game crash?&lt;/li&gt;&#xA;&lt;li&gt;Does the Game Center support work?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;But don’t limit yourself to this list. If you notice a problem or want to suggest a way to improve LetterMiner, send feedback. To send feedback go to the &lt;a href=&#34;http://checksimgames.com/contact.html&#34;&gt;Contact page&lt;/a&gt; and click the Send Email button.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner 0.9</title>
      <link>https://checksimgames.com/letterminer-0-9/</link>
      <pubDate>Mon, 24 Oct 2016 18:41:19 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-0-9/</guid>
      <description>&lt;p&gt;LetterMiner 0.9 is available to download at the &lt;a href=&#34;http://letterminer.com&#34;&gt;LetterMiner&lt;/a&gt; website. This version overhauls the graphics and provides instructions on how to play the game.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Profiling Helps</title>
      <link>https://checksimgames.com/profiling-helps/</link>
      <pubDate>Wed, 19 Oct 2016 04:09:15 +0000</pubDate>
      <guid>https://checksimgames.com/profiling-helps/</guid>
      <description>&lt;p&gt;I recently noticed a performance issue when playing LetterMiner on an iPad 3. When I tapped multiple letter tiles quickly, there was a delay before highlighting the tapped tiles. Why was there a delay?&lt;/p&gt;&#xA;&lt;p&gt;I profiled the game on the iPad 3 using the Time Profiler instrument in Instruments, Apple’s developer tool for profiling iOS and Mac apps. When I ran LetterMiner in Instruments I didn’t notice any highlighting delay when tapping letter tiles.&lt;/p&gt;&#xA;&lt;p&gt;No delay when profiling answered my question. The cause of the delay was my running a debug build on the iPad 3. Debug builds make debugging much easier at the cost of the app running slower. When I was profiling the game in Instruments, I was running a release build that runs much faster. It’s nice to know this performance issue has an easy solution. Run a release build.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner 0.8 Released</title>
      <link>https://checksimgames.com/letterminer-0-8-released/</link>
      <pubDate>Thu, 29 Sep 2016 04:04:27 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-0-8-released/</guid>
      <description>&lt;p&gt;Version 0.8 of LetterMiner is available for you to download at the &lt;a href=&#34;http://letterminer.com&#34;&gt;LetterMiner&lt;/a&gt; website. This version adds a single-level game mode where you see how high a score you can get on one board.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Failed Experiment: Cross-Platform Target</title>
      <link>https://checksimgames.com/failed-experiment-cross-platform-target/</link>
      <pubDate>Mon, 19 Sep 2016 20:07:10 +0000</pubDate>
      <guid>https://checksimgames.com/failed-experiment-cross-platform-target/</guid>
      <description>&lt;p&gt;Apple released the newest version of Xcode, Xcode 8, last week. A new feature in Xcode 8 is the addition of a cross-platform project template for SpriteKit games that lets you create iOS, Mac, tvOS, and watchOS versions of the game in one project. Because I’m developing iOS and Mac versions of LetterMiner, I decided to see if I could convert it to the cross-platform project. I figured the cross-platform project would make it easier for me to support both iOS and Mac.&lt;/p&gt;&#xA;&lt;h3 id=&#34;my-initial-project-setup&#34;&gt;My Initial Project Setup&lt;/h3&gt;&#xA;&lt;p&gt;I have separate git branches for the iOS and Mac versions of the project. The iOS branch creates a universal iOS application that runs on iPhones, iPads, and iPod Touches. The Mac branch creates a Mac application.&lt;/p&gt;&#xA;&lt;p&gt;I’m able to share 90-95% of LetterMiner’s code. There are two areas where I need separate code for iOS and Mac. The first area is launching the game. The second area is handling player input because iOS uses touch input and Mac uses mouse input.&lt;/p&gt;&#xA;&lt;p&gt;The most difficult part in my current setup is merging code I develop on the Mac version to the iOS version when I add new source code files to the project. The newly created files don’t appear in the project after the merge, forcing me to manually add them to the project. The first time I merged it was very painful, but once I figured out what I needed to do, the merges became more manageable. I was hoping the new cross-platform project could eliminate the merges.&lt;/p&gt;&#xA;&lt;h3 id=&#34;starting-the-experiment&#34;&gt;Starting the Experiment&lt;/h3&gt;&#xA;&lt;p&gt;I began by creating a new git branch for my experiment so it wouldn’t interfere with my working version of the game. I branched off the Mac version. After creating the branch I created a new cross-platform target for the game and removed the old Mac target.&lt;/p&gt;&#xA;&lt;p&gt;I tried to build the target and got tons of compiler errors. I had to go through the source code files and make them members of the new cross-platform target so they would be compiled when I built the project. Once I did that I was able to build the Mac version of LetterMiner.&lt;/p&gt;&#xA;&lt;h3 id=&#34;moving-to-the-ios-version&#34;&gt;Moving to the iOS Version&lt;/h3&gt;&#xA;&lt;p&gt;After building the Mac version I moved on to the iOS version. I added code to support touch input and copied my iOS game launching code to the app delegate and view controller class files Apple created for the iOS version of the cross-platform target.&lt;/p&gt;&#xA;&lt;p&gt;I built the project and realized I had a problem. The iOS and Mac versions of LetterMiner do not behave the same. The iOS version has a scrolling camera to scroll the game board so people can play on an iPhone. The Mac version has no need for a scrolling camera because the screen is big enough to show the entire game board.&lt;/p&gt;&#xA;&lt;p&gt;Another problem I discovered was the game scenes for the iOS and Mac versions have different needs. The iOS version needs to have the labels and buttons positioned close enough so everything can fit on an iPhone screen. But that layout looks terrible on the Mac version. Spacing the labels and buttons to look good on larger screens cuts off parts of the game’s user interface on smaller screens. The cross-platform target wasn’t going to work for me.&lt;/p&gt;&#xA;&lt;h3 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h3&gt;&#xA;&lt;p&gt;Apple’s cross-platform SpriteKit game project is a good idea. If I was making a new game from scratch, I would start with that template. But I’m too far along in LetterMiner’s development and have too many differences in the iOS and Mac versions to take advantage of the cross-platform game template.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner Leaderboards</title>
      <link>https://checksimgames.com/letterminer-leaderboards/</link>
      <pubDate>Thu, 18 Aug 2016 04:06:43 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-leaderboards/</guid>
      <description>&lt;p&gt;When I was writing about my adventures with Game Center, I forgot to mention the Game Center leaderboards I created for LetterMiner. Currently there are three leaderboards. The main leaderboard shows the highest level you reached in the game. I went with highest level reached instead of high score because each level has a point quota to reach to move to the next level. When you reach the quota you move to the next level. There isn’t going to be much variation in the scores unless someone mines a high scoring word as their last word in the level.&lt;/p&gt;&#xA;&lt;p&gt;The second leaderboard shows the length of the longest word you mined while playing the game. I would also like to show the longest word, but I haven’t figured out how to do that with Game Center. Game Center leaderboards require a score. The score can be either a number or a time, but it can’t be a word. Game Center has a &lt;code&gt;context&lt;/code&gt; property you can attach to a score. I thought I could store the word in this property, but doing so crashes the game. Displaying the longest word you mined is on hold for now. I store each word you mine as you play so if I ever figure out a way to display the longest mined word in Game Center, you won’t miss out on a long word you mined in the past.&lt;/p&gt;&#xA;&lt;p&gt;The final leaderboard shows the number of unique words you have mined. Developing LetterMiner means playing it a lot. As I played LetterMiner in its early stages, what kept my interest was finding words I hadn’t mined before. So I decided to store the words each player mines so I could determine when someone mines a new word. When you mine words in LetterMiner, the text color of the proposed word changes if you find a new word, and you get a bonus for mining a word for the first time. With the final leaderboard you can keep track of how many words you’ve mined.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Supply and Demand in LetterMiner</title>
      <link>https://checksimgames.com/supply-and-demand-in-letterminer/</link>
      <pubDate>Mon, 15 Aug 2016 04:07:41 +0000</pubDate>
      <guid>https://checksimgames.com/supply-and-demand-in-letterminer/</guid>
      <description>&lt;p&gt;A subtle feature of LetterMiner is it uses supply and demand to change the point values of letters as you move to higher levels. If you mined a letter many times (8 or more times currently) in the previous level, the point value for the letter decreases. If you didn’t mine a letter much (3 or fewer times currently), the point value increases. The less you mined the letter, the greater the increase.&lt;/p&gt;&#xA;&lt;p&gt;As you play LetterMiner commonly used letters like A, E, T, and S drop from 10 points at the start of the game to 1 point when you get to higher levels. Rare letters like J, Q, X, and Z become very valuable. The common letters dropping in value makes higher levels challenging.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Game Center Achievements on Hold</title>
      <link>https://checksimgames.com/game-center-achievements-on-hold/</link>
      <pubDate>Fri, 05 Aug 2016 04:11:01 +0000</pubDate>
      <guid>https://checksimgames.com/game-center-achievements-on-hold/</guid>
      <description>&lt;p&gt;After struggling with adding support for Game Center achievements to LetterMiner, I have decided to stop for now. I realized most of what I wanted to do with achievements I could do with leaderboards. As an example I wanted to have achievements for reaching certain levels, such as reaching Level 5 or Level 10. A leaderboard showing the highest level you reached accomplishes the same thing. Supporting achievements became a roadblock to finishing version 1.0 so I decided to remove the roadblock by dropping achievement support.&lt;/p&gt;&#xA;&lt;p&gt;I haven’t ruled out adding Game Center achievements in the future. All I can say is Game Center achievements won’t be in version 1.0 of LetterMiner.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Threes!</title>
      <link>https://checksimgames.com/ios-games-i-like-threes/</link>
      <pubDate>Thu, 04 Aug 2016 01:33:56 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-threes/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/threes!/id779157948?mt=8&#34;&gt;Threes! iTunes Listing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/threes!-free/id976851174?mt=8&#34;&gt;Free Version iTunes Listing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;You may be more familiar with the games Threes! spawned, such as 2048. Even if you’re not familiar with games like 2048, you should give Threes! a try. It’s one of the best iOS games I’ve played.&lt;/p&gt;&#xA;&lt;p&gt;Threes! is a match-2 game played on a 4 by 4 grid. The grid contains numbered tiles. Slide tiles horizontally or vertically by swiping them. Combine 1s and 2s to make 3s. Combine two 3s to make a 6. Combine two 6s to make a 12 and so on. You can go as high as a 6,144 tile, but the highest tile I’ve made is a 768.&lt;/p&gt;&#xA;&lt;p&gt;Keep sliding tiles until the grid is completely filled. Your final score is calculated by the tiles on the grid at game’s end. Each 3 is worth 3 points. Each 6 is worth 9 points. Each 12 is worth 27 points. The number of points triples for each higher tile.&lt;/p&gt;&#xA;&lt;p&gt;What’s nice about Threes! is that it gives you initial success while remaining challenging. The chances of you being able to make a 24 or 48 tile the first time you play are high so you won’t get frustrated initially. But getting higher value tiles like 384 or 768 challenges you. I’ve been playing for over a year and still haven’t been able to get the three highest tiles. You won’t be bored by a lack of challenge when playing Threes!.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Game Center Adventures</title>
      <link>https://checksimgames.com/game-center-adventures/</link>
      <pubDate>Mon, 18 Jul 2016 04:45:34 +0000</pubDate>
      <guid>https://checksimgames.com/game-center-adventures/</guid>
      <description>&lt;p&gt;It’s been a while since I posted an update on Letter Miner. I’m currently working on adding Game Center support to LetterMiner. I never used Game Center before, let alone programmed for it, so it’s taking longer to release a new update.&lt;/p&gt;&#xA;&lt;h3 id=&#34;leaderboards&#34;&gt;Leaderboards&lt;/h3&gt;&#xA;&lt;p&gt;I have created two Game Center leaderboards for LetterMiner. The first leaderboard stores the highest level the player has reached in the game. The second leaderboard stores the number of unique words the player has mined.&lt;/p&gt;&#xA;&lt;p&gt;Coding leaderboard support was easier than I thought. Create a Game Center score for each leaderboard, report the score to Game Center, and present a view controller so the player can view the leaderboards.&lt;/p&gt;&#xA;&lt;h3 id=&#34;achievements&#34;&gt;Achievements&lt;/h3&gt;&#xA;&lt;p&gt;Game Center achievements are much harder to code. As a test I decided to have three achievements: reaching Levels 2, 5, and 10. When clearing a level I would update the progress on the achievements. When clearing the first level, the progress on the first achievement was 100%, 25% on the second achievement, and 11% on the third. Each achievement has its own unique ID so it involves some nasty hard-coding of values.&lt;/p&gt;&#xA;&lt;p&gt;Trying to get the achievements working showed me that I need to redesign the game code to better support Game Center achievements. I realized that in addition to the level clearing achievements, I wanted to have achievements for mining unique words, mining long words, and mining high scoring words. Supporting all these achievements is going to require more flexible code so I’m taking the time now to make my code more flexible.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Pivvot</title>
      <link>https://checksimgames.com/ios-games-i-like-pivvot/</link>
      <pubDate>Wed, 29 Jun 2016 18:44:50 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-pivvot/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/pivvot/id664416929?mt=8&#34;&gt;Pivvot iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Pivvot is a difficult game with simple controls. In Pivvot you play as a ball riding a rail. The rail is littered with obstacles. You avoid the obstacles by turning the ball. Tapping the left side of the screen turns left, and tapping the right side of the screen turns right. The controls work well, but it’s very easy to turn too fast and hit an obstacle.&lt;/p&gt;&#xA;&lt;p&gt;Pivvot’s voyage mode keeps things from being too frustrating. When you clear four sets of obstacles, you reach a checkpoint so you don’t have to play through the same set of obstacles repeatedly. Pivvot also has an endless mode where you see how long you can survive. Both modes can be played in short bursts, which is good when you have five minutes to kill.&lt;/p&gt;&#xA;&lt;p&gt;It took me a while to get the hang of Pivvot, but once I figured out Pivvot, I enjoyed it. This game is not for casual gamers who play puzzle and word games. If you enjoy action games, I recommend Pivvot.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Pizza Vs. Skeletons</title>
      <link>https://checksimgames.com/ios-games-i-like-pizza-vs-skeletons/</link>
      <pubDate>Mon, 13 Jun 2016 04:03:42 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-pizza-vs-skeletons/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/pizza-vs.-skeletons/id475212472?mt=8&#34;&gt;Pizza vs. Skeletons iTunes Listing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/pizza-vs.-skeletons-free/id490737748?mt=8&#34;&gt;Free Version iTunes Listing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The title Pizza Vs. Skeletons describes the game well. You take on the role of a giant pizza that takes on skeletons armed with spears. The spears either face up or sideways. If the spears face up, you must roll over the skeletons to defeat them. If the spears face sideways you must jump and crush the skeletons from above.&lt;/p&gt;&#xA;&lt;p&gt;There are other challenges in the game, but it’s been years since I played the game so I don’t remember them. And I don’t feel like reinstalling the game on my iPad to refresh my memory.&lt;/p&gt;&#xA;&lt;p&gt;How many games let you play as a giant pizza? There’s a free version with 10 levels to try. If you like it, you can buy the full version, which has 120 levels.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Thomas Was Alone</title>
      <link>https://checksimgames.com/ios-games-i-like-thomas-was-alone/</link>
      <pubDate>Mon, 30 May 2016 18:56:13 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-thomas-was-alone/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/thomas-was-alone/id849095637?mt=8&#34;&gt;Thomas Was Alone iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Thomas Was Alone is a platformer game. The App Store is filled with platformer games. What makes Thomas Was Alone special?&lt;/p&gt;&#xA;&lt;p&gt;What I like about Thomas Was Alone is that it combines puzzle elements with platforming. I enjoy platformer games, but I don’t like playing them on iOS because of the touch controls. An action platformer game that requires precise controls is hard to play on a touch screen because you can’t tell from touch if you are hitting the correct button. This problem is compounded for me because I play iOS games on an iPad, which has a much bigger screen. I could shell out money for a game controller, but I don’t play enough iOS games to make a game controller a worthwhile investment.&lt;/p&gt;&#xA;&lt;p&gt;By combining puzzle elements with platforming, Thomas Was Alone rewards thinking more than fast reflexes and pressing buttons at the right time. Rewarding thinking makes the game easier to play with touch controls. I can look down on the screen to press the right button without dying in the game.&lt;/p&gt;&#xA;&lt;p&gt;Thomas Was Alone is the first game I’ve written about that requires an upfront payment before you can try it. But it is an excellent platformer game. If you enjoy platformer games with puzzles mixed in, I think you’ll enjoy Thomas Was Alone.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Sometimes Apple Fixes a Bug for You</title>
      <link>https://checksimgames.com/sometimes-apple-fixes-a-bug-for-you/</link>
      <pubDate>Mon, 23 May 2016 18:22:26 +0000</pubDate>
      <guid>https://checksimgames.com/sometimes-apple-fixes-a-bug-for-you/</guid>
      <description>&lt;p&gt;I encountered a difficult bug in the iOS version of LetterMiner when I made the first playable prototype. After launching the game, there would be a delay in recognizing the first tap of a letter tile. The length of the delay depends on the device. On an iPad 3 there was a 3-5 second delay before the tapped letter tile would be highlighted. On newer devices the delay was about 1 second. After the first letter tile tap, everything worked fine. There were no delays when tapping any other letters.&lt;/p&gt;&#xA;&lt;p&gt;My first thought about the cause of the delay was the word list hadn’t finished loading. Reading tens of thousands of words from a file isn’t instantaneous. So as an experiment I launched the game and waited 30 seconds before tapping a tile. But there was still a delay on the first tile tap.&lt;/p&gt;&#xA;&lt;p&gt;The next step was to profile the game using Apple’s Time Profiler instrument. Instruments showed 98% CPU usage on the first tap. When I looked for slow spots in the code, Instruments showed the &lt;code&gt;touchesBegan&lt;/code&gt; function, which is the function that handles iOS touches. Looking at the code I couldn’t find anything that would explain why there was a 3-5 second delay on the first touch and no delay on every other touch.&lt;/p&gt;&#xA;&lt;p&gt;I asked about the delay on Apple’s developer forums. One of Apple’s engineers told me to submit a bug report. I filed the bug report and included my LetterMiner project. Apple said they had no delay when playing the game.&lt;/p&gt;&#xA;&lt;p&gt;Now I knew I had a difficult problem. If Apple’s engineers couldn’t find the source of the delay, how was I going to do find it? After spending a few more days trying to find the cause of the delay, I decided to move on and continue developing LetterMiner. I could fix the delay problem later.&lt;/p&gt;&#xA;&lt;p&gt;Moving on ended up being the right decision. When I played version 0.7 of LetterMiner there was no delay on the initial tile touch. I didn’t make any changes in the &lt;code&gt;touchesBegan&lt;/code&gt; function or any changes that would remove the delay. Apple must have made an improvement to one of their frameworks I’m using in LetterMiner.&lt;/p&gt;&#xA;&lt;p&gt;It’s nice to have an issue fixed without having to do anything.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Better Hashtags to Find Word Game Players</title>
      <link>https://checksimgames.com/better-hashtags-to-find-word-game-players/</link>
      <pubDate>Tue, 17 May 2016 04:27:53 +0000</pubDate>
      <guid>https://checksimgames.com/better-hashtags-to-find-word-game-players/</guid>
      <description>&lt;p&gt;After I publish a blog post detailing my difficulties finding word game players on Twitter, a solution comes to me. Do a hashtag search for popular word games. The hashtag #Scrabble has many tweets. The hashtag #Boggle is also good after you filter out the spammy #mPlusRewards tweets.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Difficulties Finding Word Game Players on Twitter</title>
      <link>https://checksimgames.com/difficulties-finding-word-game-players-on-twitter/</link>
      <pubDate>Mon, 16 May 2016 19:09:45 +0000</pubDate>
      <guid>https://checksimgames.com/difficulties-finding-word-game-players-on-twitter/</guid>
      <description>&lt;p&gt;I’m reading the book &lt;em&gt;The Tao of Twitter&lt;/em&gt; by Mark Schaefer, which is a good book if you’re new to Twitter. The tao has three elements: targeted followers, meaningful content, and authentic helpfulness. People new to Twitter should start by looking for targeted followers.&lt;/p&gt;&#xA;&lt;p&gt;Since my goal right now is to have people try LetterMiner, word game players are the targeted followers I need. I need to find word game players, engage in conversations with them, and retweet any interesting tweets. This strategy sounds logical in theory but is proving more difficult to put into practice.&lt;/p&gt;&#xA;&lt;h3 id=&#34;hashtag-search&#34;&gt;Hashtag Search&lt;/h3&gt;&#xA;&lt;p&gt;I started with a search for the hashtag #wordgame. I was flooded with tweets similar to the following:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;I&#39;m earning #mPLUSRewards in #WordSearch with a twist. #WordGame #wordfind #indiedev #indiegame.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;When I clicked on these people’s profile links, their tweets consisted exclusively of “I’m earning #mPlusRewards” tweets for various mobile apps and games. I’m sure the mPlusRewards people would love me to retweet these tweets, but I’m not going to do that. How do you engage in a conversation with someone who only has borderline spam tweets?&lt;/p&gt;&#xA;&lt;p&gt;After filtering the spam tweets, I’m left with people promoting their own word games and tweets from people engaged in Twitter arguments. The people in the arguments accuse the other side of playing word games. These are not people that are going to download and play LetterMiner.&lt;/p&gt;&#xA;&lt;p&gt;A search of the hashtag #wordgames produced similar results. Searching for #wordgamefan, #wordgameplayer, #wordgamelove, and #wordgamelover produced very few tweets.&lt;/p&gt;&#xA;&lt;h3 id=&#34;profile-search&#34;&gt;Profile Search&lt;/h3&gt;&#xA;&lt;p&gt;I moved from a hashtag search to a profile search for phrases like word game fan, word game player, and word game lover. I found some profiles that indicated the people liked playing word games and made a list to see what these people tweet about. They tweet about everything but word games: dog pictures, work, random things happening in their day. I’ve looked for a week or two for something worth retweeting, but have found nothing.&lt;/p&gt;&#xA;&lt;p&gt;I’m having some success attracting indie game developers as followers. How do I attract word game players?&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>My First LetterMiner Crashing Bug</title>
      <link>https://checksimgames.com/my-first-letterminer-crashing-bug/</link>
      <pubDate>Fri, 13 May 2016 18:21:33 +0000</pubDate>
      <guid>https://checksimgames.com/my-first-letterminer-crashing-bug/</guid>
      <description>&lt;p&gt;I was recently reflecting on LetterMiner’s development. A pleasant surprise was LetterMiner hadn’t crashed when someone was playing. I reflected too soon.&lt;/p&gt;&#xA;&lt;p&gt;As I was trying to fix another bug, I discovered my first crashing bug. I was working on highlighting the tiles the player can click (or tap) to make the game easier to figure out for new players. The bug was that the highlighting was being removed every other click. To test this I was clicking outside the game board. The following screenshot shows what the in-game user interface currently looks like:&lt;/p&gt;&#xA;&lt;!-- raw HTML omitted --&gt;&#xA;&lt;p&gt;As part of my every other click test, I clicked the Word Score phrase in the screenshot. Xcode threw me into the debugger, and the game crashed. I also crashed the game by clicking the phrases Proposed Word, Score, and Level. What was going on?&lt;/p&gt;&#xA;&lt;p&gt;The problem was that those labels did not have a name in Xcode’s scene editor. I didn’t give them names because the labels weren’t used in my game code. My code to handle button clicks relied on the name. Since the labels I clicked had no name, the game crashed.&lt;/p&gt;&#xA;&lt;p&gt;The bug was pretty easy to fix. Go to the scene editor and give each label a name. I also changed the code to not rely on the name to avoid future crashes. What surprised me was I hadn’t encountered the bug before. I had played various builds of LetterMiner for months. I had friends and family try the game out too. I can’t believe I hadn’t tried clicking each label in the user interface. I can’t believe nobody accidentally clicked one of the labels.&lt;/p&gt;&#xA;&lt;p&gt;I’m glad I found the bug before I released LetterMiner to external testers on iTunes Connect.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner 0.7.2 Released</title>
      <link>https://checksimgames.com/letterminer-0-7-2-released/</link>
      <pubDate>Tue, 10 May 2016 18:19:20 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-0-7-2-released/</guid>
      <description>&lt;p&gt;Version 0.7.2 of LetterMiner is available to &lt;a href=&#34;http://checksimgames.com/letterminer.zip&#34;&gt;download&lt;/a&gt; for Macs running OS X 10.9 and above. Installation and gameplay instructions are at the &lt;a href=&#34;http://letterminer.com&#34;&gt;LetterMiner&lt;/a&gt; website.&lt;/p&gt;&#xA;&lt;p&gt;The new feature in this version is the game highlights the tiles the player can click. Some people who tested LetterMiner had trouble starting the game because they didn’t know what tiles they could click to make words. Highlighting the tiles makes it easier for new players to learn how to play.&lt;/p&gt;&#xA;&lt;p&gt;This version also fixes a bug where the game would crash when clicking on certain labels on the right side of the game window.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: The Grading Game</title>
      <link>https://checksimgames.com/ios-games-i-like-the-grading-game/</link>
      <pubDate>Mon, 09 May 2016 04:10:14 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-the-grading-game/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/the-grading-game/id564853076?mt=8&#34;&gt;The Grading Game iTunes Listing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/the-grading-game-free/id583729693?mt=8&#34;&gt;Lite Version iTunes Listing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;In The Grading Game you take the role of a professor’s teaching assistant and grade student essays. The essays are riddled with spelling and grammatical errors. Your goal in the game is to find as many errors as you can.&lt;/p&gt;&#xA;&lt;p&gt;There’s a time limit so finding every error is difficult. If you try to catch every mistake, you’ll get bogged down rereading sentences, run out of time, and not do very well. A better strategy is to read through the essay as fast you can and mark the most obvious mistakes. If you still have time, go back and find the remaining errors.&lt;/p&gt;&#xA;&lt;p&gt;The Grading Game isn’t for everybody. Some of you think that finding mistakes in essays is a strange topic for a game and not fun to play. But I like iOS games that try something different, and The Grading Game is definitely different. Plus, I’m developing a word game, and I think word game players would enjoy this.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Learning Twitter</title>
      <link>https://checksimgames.com/learning-twitter/</link>
      <pubDate>Sun, 01 May 2016 22:52:04 +0000</pubDate>
      <guid>https://checksimgames.com/learning-twitter/</guid>
      <description>&lt;p&gt;I’ve reached a point in LetterMiner’s development where I need to let people know the game exists. To help with this, I set up two Twitter accounts, &lt;a href=&#34;https://twitter.com/CheckSimGames&#34;&gt;@CheckSimGames&lt;/a&gt; and &lt;a href=&#34;https://twitter.com/LetterMinerGame&#34;&gt;@LetterMinerGame&lt;/a&gt;. Figuring out how to use Twitter to spread the word on LetterMiner is going to be a learning experience. I’m documenting the start of my learning experience here.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-problem&#34;&gt;The Problem&lt;/h3&gt;&#xA;&lt;p&gt;Nobody is downloading LetterMiner. Here’s the strange part. Years ago I wrote a single-level prototype of LetterMiner and put it up for download on a software development site I have. I didn’t do anything to promote it, but it would get 5-7 downloads a month. I changed the link to the LetterMiner game on that site to point to the Check Sim Games site, figuring I would get the 5-7 downloads a month here. But nothing changed. I was getting no downloads here, but still getting 5-7 downloads a month of the old version on my other site. What was going on?&lt;/p&gt;&#xA;&lt;p&gt;It turns out a Google search for LetterMiner has the old version as the first search result. I had to remove everything from the old LetterMiner page and add a button to take people to the new LetterMiner page on this site.&lt;/p&gt;&#xA;&lt;h3 id=&#34;why-twitter&#34;&gt;Why Twitter?&lt;/h3&gt;&#xA;&lt;p&gt;Having a website and writing a blog was not enough to let people know LetterMiner exists. I was going to have to enter the world of social media. What social media network should I use?&lt;/p&gt;&#xA;&lt;p&gt;I eliminated LinkedIn, Instagram, and Pinterest quickly. LinkedIn is geared towards people trying to get ahead in their careers. Instagram and Pinterest focus on pictures, and pictures of word games aren’t all that interesting.&lt;/p&gt;&#xA;&lt;p&gt;I considered Facebook, but I saw some social media marketing videos that said Facebook is set up to get you to buy ads. I don’t have money for ads so I’m using Twitter.&lt;/p&gt;&#xA;&lt;h3 id=&#34;things-i8217ve-learned-about-twitter&#34;&gt;Things I’ve Learned about Twitter&lt;/h3&gt;&#xA;&lt;p&gt;Getting a profile picture and header picture to fit right is difficult. If you have text in the image that you want people to read, it’s hard to avoid cutting off part of the text. I gave up trying to get a header picture to look right. I figure a plain header is better than one with the text cut off.&lt;/p&gt;&#xA;&lt;p&gt;Finding interesting conversations and tweets is difficult. From the research I’ve done on using Twitter, you should spend more time listening than promoting. You should retweet more often than you tweet about yourself and what you’re promoting. You should find Twitter conversations people are having and take part.&lt;/p&gt;&#xA;&lt;p&gt;These shoulds are good in theory but hard to apply in practice. Finding tweets worth retweeting is an arduous task. Most tweets I find are from people selling something and people tweeting about random stuff that occurs in their daily lives. And people tweet a ton so there’s a lot of bad tweets to sift through. Finding good conversations is hard because all you can initially read is the initial tweet. Take the challenge of finding a good tweet and add the challenge of finding a good conversation around that tweet. I have a lot of work ahead of me.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>iOS Games I Like: Pac-Man 256</title>
      <link>https://checksimgames.com/ios-games-i-like-pac-man-256-2/</link>
      <pubDate>Tue, 26 Apr 2016 00:46:27 +0000</pubDate>
      <guid>https://checksimgames.com/ios-games-i-like-pac-man-256-2/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://itunes.apple.com/us/app/pac-man-256-endless-arcade/id1002340615?mt=8&amp;amp;ign-mpt=uo%3D4&#34;&gt;Pac-Man 256 iTunes Listing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you like Pac-Man and haven’t played Pac-Man 256, stop reading this and install Pac-Man 256 on your iOS device.&lt;/p&gt;&#xA;&lt;h3 id=&#34;overview&#34;&gt;Overview&lt;/h3&gt;&#xA;&lt;p&gt;Pac-Man 256 is Pac-Man in an endless maze. Instead of eating all the dots in a single maze, you keep moving up and eating dots. Like all Pac-Man games, there are ghosts chasing you and power pellets to eat to eat the ghosts. Pac-Man 256 also has fruit to eat. When you eat a piece of fruit the dots temporarily increase in value from 1 point to 2-6 points, depending on the fruit you eat.&lt;/p&gt;&#xA;&lt;h3 id=&#34;dot-chains&#34;&gt;Dot Chains&lt;/h3&gt;&#xA;&lt;p&gt;A nice twist Pac-Man 256 adds to the Pac-Man gameplay is to reward you for eating chains of dots. If you eat 16 consecutive dots, you get 16 extra points. If you eat 32, you get 32 points. When you eat a chain of 256 dots, all the ghosts are wiped off the board. Chaining dots is not as easy as it sounds because the mazes in Pac-Man 256 are not completely filled with dots. Ghosts are also chasing after you, which can force you to change direction to an area you already cleared of dots.&lt;/p&gt;&#xA;&lt;h3 id=&#34;credits-powerups-and-coins&#34;&gt;Credits, Powerups, and Coins&lt;/h3&gt;&#xA;&lt;p&gt;You can play Pac-Man 256 for free as a single life Pac-Man experience. The game gives you 6 credits initially, although you can pay once to get unlimited credits. If you die, you can use one of your credits to continue, but you can continue only once per game. After 10 minutes a credit regenerates. You can also watch an ad to continue.&lt;/p&gt;&#xA;&lt;p&gt;Another feature of using credits is to play with powerups. In addition to power pellets and fruit, there are powerups in the maze to eat that temporarily give you abilities like shooting lasers at ghosts, blowing up ghosts, and freezing ghosts. There are 20 powerups you can acquire over the course of the game, but you can play with only three at one time.&lt;/p&gt;&#xA;&lt;p&gt;Each powerup has 8 levels. The powerup lasts longer when you upgrade its level. The maze has coins to eat. Use the coins to upgrade your powerups. A powerup takes 16 coins to unlock. The upgrade cost doubles each level, ending at 2048 coins to upgrade from level 7 to 8. You can also get coins by completing missions in the game. Examples of missions include eating 500 dots, eating 4 of a specific fruit, eating 5 of a specific powerup, and killing 20 ghosts with a specific powerup. Completing a mission gives you a bonus of 16-256 coins. You can also buy a coin doubler to upgrade your powerups faster.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Introducing the iOS Games I Like Series</title>
      <link>https://checksimgames.com/introducing-the-ios-games-i-like-series/</link>
      <pubDate>Tue, 26 Apr 2016 00:42:30 +0000</pubDate>
      <guid>https://checksimgames.com/introducing-the-ios-games-i-like-series/</guid>
      <description>&lt;p&gt;I spent some time thinking about topics to write about on this blog. All my posts so far have been about LetterMiner. I wanted something else to write about, something that would interest people reading this blog.&lt;/p&gt;&#xA;&lt;p&gt;Then a thought hit me. I’m developing an iOS game, which means many of you reading this play iOS games. With the massive amount of games on the App Store, finding interesting games to play can be difficult. I should start writing about iOS games I played and liked.&lt;/p&gt;&#xA;&lt;p&gt;And that’s what I’m going to do. I’m going to share iOS games I enjoyed playing. I considered doing game reviews, but I prefer to spend my time writing about games I like than trashing games I dislike. I hope my writing helps you discover and enjoy some new iOS games.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner 0.7 Released</title>
      <link>https://checksimgames.com/letterminer-0-7-released/</link>
      <pubDate>Fri, 15 Apr 2016 04:02:38 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-0-7-released/</guid>
      <description>&lt;p&gt;Version 0.7 of LetterMiner is available to &lt;a href=&#34;http://checksimgames.com/letterminer.zip&#34;&gt;download&lt;/a&gt; for Macs running OS X 10.9 and above. Installation and gameplay instructions are at the &lt;a href=&#34;http://letterminer.com&#34;&gt;LetterMiner&lt;/a&gt; website.&lt;/p&gt;&#xA;&lt;p&gt;The new feature in this version is the game saves every word you mine to a file. When you mine a word for the first time, its text changes from white to yellow. Mining a word for the first time gives you a bonus. The bonus increases as you mine more words, but you’ll have to play for a while to see any increase in the bonus.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner 0.6 Released</title>
      <link>https://checksimgames.com/letterminer-0-6-released/</link>
      <pubDate>Tue, 22 Mar 2016 00:10:20 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-0-6-released/</guid>
      <description>&lt;p&gt;Version 0.6 of LetterMiner is available to &lt;a href=&#34;http://checksimgames.com/letterminer.zip&#34;&gt;download&lt;/a&gt; for Macs running OS X 10.9 and above. Installation and gameplay instructions are at the &lt;a href=&#34;http://letterminer.com&#34;&gt;LetterMiner&lt;/a&gt; website.&lt;/p&gt;&#xA;&lt;h3 id=&#34;what8217s-new&#34;&gt;What’s New&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The game saves when you quit so you can pick up where you left off when you play again.&lt;/li&gt;&#xA;&lt;li&gt;The quota to finish the first level has been reduced from 1,000 to 800 points to make the start of the game easier.&lt;/li&gt;&#xA;&lt;li&gt;The tiles are larger and easier to read.&lt;/li&gt;&#xA;&lt;li&gt;This version has been signed with my Apple Developer ID. When you launch LetterMiner for the first time, you won’t have to deal with the &lt;strong&gt;LetterMiner can’t be opened because it is from an unidentified developer&lt;/strong&gt; alert.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Changing Words</title>
      <link>https://checksimgames.com/changing-words/</link>
      <pubDate>Wed, 24 Feb 2016 02:39:55 +0000</pubDate>
      <guid>https://checksimgames.com/changing-words/</guid>
      <description>&lt;p&gt;I can’t believe I forgot to mention this in the &lt;a href=&#34;http://www.checksimgames.com/blog/letterminer-0-5-released-2/&#34;&gt;LetterMiner 0.5 Announcement&lt;/a&gt;, but the main new feature in version 0.5 is the ability to change words without having to clear the previous word you were building. Suppose you have clicked the letters TRAC and you decide to make the word THICK instead. Clicking the H changes the word to TH, allowing you to make the word THICK.&lt;/p&gt;&#xA;&lt;p&gt;One problem in changing words is that the tile you click can be adjacent to more than one letter in the word you were previously building. Let’s go back to the TRAC example. Suppose there’s a letter E that is adjacent to both the T and the R. What does the word become when you click the E?&lt;/p&gt;&#xA;&lt;p&gt;Currently the word changes to TE. I had two options to deal with this situation. First, I could start at the beginning of the previously built word, find the first tile that is adjacent to the clicked tile, and add the clicked letter to that tile. Second, I could start at the end of the word and go backwards looking for an adjacent tile. I went with the first option. That’s why the word changes to TE in the previous paragraph’s example, not TRE.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>LetterMiner 0.5 Released</title>
      <link>https://checksimgames.com/letterminer-0-5-released-2/</link>
      <pubDate>Sat, 20 Feb 2016 21:05:11 +0000</pubDate>
      <guid>https://checksimgames.com/letterminer-0-5-released-2/</guid>
      <description>&lt;p&gt;Version 0.5 of LetterMiner is available to &lt;a href=&#34;http://checksimgames.com/letterminer.zip&#34;&gt;download&lt;/a&gt; for Macs running OS X 10.9 and above. Installation and gameplay instructions are available at the &lt;a href=&#34;http://letterminer.com&#34;&gt;LetterMiner&lt;/a&gt; website.&lt;/p&gt;&#xA;&lt;h3 id=&#34;current-status-of-letterminer&#34;&gt;Current Status of LetterMiner&lt;/h3&gt;&#xA;&lt;p&gt;I consider LetterMiner to be a playable prototype right now. I have a multiple level game mode. To advance to the next level, you must meet that level’s point quota by mining letters. The value of letters is affected by supply and demand. The more you mine a particular letter, the less valuable it becomes. Letters you don’t mine much become more valuable.&lt;/p&gt;&#xA;&lt;p&gt;I have focused on the gameplay when developing LetterMiner. The game has programmer art and user interface elements, but I can improve the graphics later. The gameplay is the most important thing to get working right now.&lt;/p&gt;&#xA;&lt;p&gt;The iOS version is being developed along with the Mac version. The iOS version is also at version 0.5. I wish I could put the iOS version up on my website and have you play it, but I can’t.&lt;/p&gt;&#xA;&lt;h3 id=&#34;features-to-add&#34;&gt;Features to Add&lt;/h3&gt;&#xA;&lt;p&gt;I want to add the following features to LetterMiner for a version 1.0 release:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Save games.&lt;/li&gt;&#xA;&lt;li&gt;Add a single-level game mode where you try to get as many points as you can.&lt;/li&gt;&#xA;&lt;li&gt;Keep track of how many unique words you have created. Give awards for reaching milestones, such as 100, 250, 500, and 1000 unique words.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;improvements-to-make&#34;&gt;Improvements to Make&lt;/h3&gt;&#xA;&lt;p&gt;I need to make the following improvements to LetterMiner for a version 1.0 release:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Improve the graphics.&lt;/li&gt;&#xA;&lt;li&gt;Add sound effects.&lt;/li&gt;&#xA;&lt;li&gt;Code-sign the Mac version so people don’t have to work around Apple’s Gatekeeper feature.&lt;/li&gt;&#xA;&lt;li&gt;Fix the bug where the bottom of the game board is cut off when zooming the window in the Mac version.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Welcome</title>
      <link>https://checksimgames.com/welcome/</link>
      <pubDate>Sat, 20 Feb 2016 01:09:36 +0000</pubDate>
      <guid>https://checksimgames.com/welcome/</guid>
      <description>&lt;p&gt;Welcome to the Check Sim Games blog. Read this blog to learn about the latest news and developments on our games. For the foreseeable future this blog will focus on LetterMiner, the game we’re developing for iOS and Mac.&lt;/p&gt;&#xA;</description>
    </item>
  </channel>
</rss>