Artwork

Inhalt bereitgestellt von Justin Dike. Alle Podcast-Inhalte, einschließlich Episoden, Grafiken und Podcast-Beschreibungen, werden direkt von Justin Dike oder seinem Podcast-Plattformpartner hochgeladen und bereitgestellt. Wenn Sie glauben, dass jemand Ihr urheberrechtlich geschütztes Werk ohne Ihre Erlaubnis nutzt, können Sie dem hier beschriebenen Verfahren folgen https://de.player.fm/legal.
Player FM - Podcast-App
Gehen Sie mit der App Player FM offline!

How to Pause and Repeat Actions in an SKAction Sequence with Swift and Sprite Kit (Episode 26)

 
Teilen
 

Manage episode 155049373 series 1144178
Inhalt bereitgestellt von Justin Dike. Alle Podcast-Inhalte, einschließlich Episoden, Grafiken und Podcast-Beschreibungen, werden direkt von Justin Dike oder seinem Podcast-Plattformpartner hochgeladen und bereitgestellt. Wenn Sie glauben, dass jemand Ihr urheberrechtlich geschütztes Werk ohne Ihre Erlaubnis nutzt, können Sie dem hier beschriebenen Verfahren folgen https://de.player.fm/legal.
CartoonSmart Podcast Thumbnail

How to Pause and Repeat Actions in an SKAction Sequence with Swift and Sprite Kit (CartoonSmart Video Tutorial Podcast Episode 26)


Watch Fullscreen

Subscribe to this Podcast on iTunes

In the first couple minutes we’ll give viewers a little background on why they might want to pause, then repeat the last action in an SKAction sequence (specifically, we’ll take a quick look at our current Card and Board Games tutorial series). Sprite Kit allows developers to create sequences of code, for example, you might move a star up on the Y axis, then left on the X axis, then scale it down, and so on. But you can also create an SKAction (SKAction.runBlock) which simply runs a block of code, which provides for some really advanced functionality. In our example, we’ll create a sequence that waits for a duration (SKAction.waitForDuration) then runs a block of code, then waits again, then runs more code and so on. So what happens if we want to re-run one of those actions. For example, if the code prompted users to “Draw another card”, in a card game. We would need to track backward in the original SKAction sequence, and run it again from there. This obviously makes for an interesting example! Even if you’re currently watching our Card and Board Games tutorial series for iOS or tvOS apps, you’ll probably enjoy this stripped down version of what’s taught there.

Hosts: Justin Dike, Clevon O’Doul

  continue reading

70 Episoden

Artwork
iconTeilen
 
Manage episode 155049373 series 1144178
Inhalt bereitgestellt von Justin Dike. Alle Podcast-Inhalte, einschließlich Episoden, Grafiken und Podcast-Beschreibungen, werden direkt von Justin Dike oder seinem Podcast-Plattformpartner hochgeladen und bereitgestellt. Wenn Sie glauben, dass jemand Ihr urheberrechtlich geschütztes Werk ohne Ihre Erlaubnis nutzt, können Sie dem hier beschriebenen Verfahren folgen https://de.player.fm/legal.
CartoonSmart Podcast Thumbnail

How to Pause and Repeat Actions in an SKAction Sequence with Swift and Sprite Kit (CartoonSmart Video Tutorial Podcast Episode 26)


Watch Fullscreen

Subscribe to this Podcast on iTunes

In the first couple minutes we’ll give viewers a little background on why they might want to pause, then repeat the last action in an SKAction sequence (specifically, we’ll take a quick look at our current Card and Board Games tutorial series). Sprite Kit allows developers to create sequences of code, for example, you might move a star up on the Y axis, then left on the X axis, then scale it down, and so on. But you can also create an SKAction (SKAction.runBlock) which simply runs a block of code, which provides for some really advanced functionality. In our example, we’ll create a sequence that waits for a duration (SKAction.waitForDuration) then runs a block of code, then waits again, then runs more code and so on. So what happens if we want to re-run one of those actions. For example, if the code prompted users to “Draw another card”, in a card game. We would need to track backward in the original SKAction sequence, and run it again from there. This obviously makes for an interesting example! Even if you’re currently watching our Card and Board Games tutorial series for iOS or tvOS apps, you’ll probably enjoy this stripped down version of what’s taught there.

Hosts: Justin Dike, Clevon O’Doul

  continue reading

70 Episoden

Alle Folgen

×
 
Loading …

Willkommen auf Player FM!

Player FM scannt gerade das Web nach Podcasts mit hoher Qualität, die du genießen kannst. Es ist die beste Podcast-App und funktioniert auf Android, iPhone und im Web. Melde dich an, um Abos geräteübergreifend zu synchronisieren.

 

Kurzanleitung