サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Wikipedia
getsetgames.com
Learning now to work with a new framework is usually a challenge. You often delve into a new API or SDK expecting things to work in a certain manner. When those expectations fail you need to delve deeper to find your answer in several different ways. It often starts with visiting the website of the package you are working with. This often leads to.. Code documentation online (Doxygen usually)
One of the most frequently asked questions I see about cocos2d for iPhone is “how do you animate sprites?”. This was also one of the first questions we had when developing Addicus. It’s actually quite simple to do using cocos2d’s CCSpriteSheet, CCSprite and CCAnimation classes. These classes take a texture atlas and switch between frames at regular intervals. In other words: animation! Here is how
Splash screens, cutscenes, tutorials or just good old content. There are plenty of reasons to need to play a video in your iPhone app. Here’s how to do it in 3 simple steps: 1. Add the MediaPlayer framework to your target. 2. Import the MediaPlayer header file in the file you intend to begin playing the video in, like so:
このページを最初にブックマークしてみませんか?
『getsetgames.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く