- 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.
推薦閱讀
- 地方檔案與文獻研究(第2輯)
- 國外圖書館動漫資源建設(shè)與服務(wù)
- 中國古代戲曲目錄研究
- 檔案保護技術(shù)
- 信息系統(tǒng)工程(第2版)
- 探索與實踐:博物館與口述歷史
- 《葉赫那拉氏族譜》整理與研究
- 云環(huán)境下的文件檔案可信性保障
- 檔案修復(fù)與歷史資料的數(shù)字化:第六屆東亞史料研究編纂機構(gòu)聯(lián)席會議論文集
- 信息檢索與案例研究
- 天南學(xué)術(shù)(第一輯)
- 中外學(xué)術(shù)論文中英文摘要語料庫的創(chuàng)建及應(yīng)用
- 新國學(xué)(第十五卷)
- 中國富布賴特學(xué)友會(籌)論文集(2013)
- 檔案社會化服務(wù)研究