- Swift Game Development(Third Edition)
- Siddharth Shekar Stephen Haney
- 120字
- 2021-07-16 17:37:42
Drawing your first sprite
It is time to write some game code—fantastic! Open your GameScene.swift
file and find the didMove
function. Recall that this function fires every time the game switches to the GameScene
. We will use this function to get familiar with the SKSpriteNode
class. You will use SKSpriteNode
extensively in your game whenever you want to add a new 2D graphic entity.
Tip
The term sprite refers to a 2D graphic or animation that moves around the screen independently from the background. Over time, the term has evolved to refer to any game object on the screen in a 2D game. We will create and draw your first sprite in this chapter: a happy little bee.
推薦閱讀
- 文獻(xiàn)保護(hù)中英雙解詞語手冊(cè)
- 中國(guó)古代戲曲目錄研究
- 博物館新視覺:博物館管理叢書
- 檔案檢索: 理論與方法
- 混搭文綴
- 探索與實(shí)踐:博物館與口述歷史
- 法學(xué)研究與文獻(xiàn)檢索
- 顧頡剛?cè)a(bǔ)遺:顧頡剛?cè)?/a>
- 高校圖書館工具書管理與服務(wù)研究
- 文書與檔案管理實(shí)務(wù)
- 計(jì)算社會(huì)學(xué)
- 當(dāng)代博物館的新角色與新視野
- 公共圖書館知識(shí)產(chǎn)權(quán)信息服務(wù)體系建設(shè)
- 高校圖書館學(xué)科服務(wù)研究
- 中國(guó)人民大學(xué)復(fù)印報(bào)刊資料轉(zhuǎn)載指數(shù)排名研究報(bào)告2017