How to integrate SpriteKit using SpriteView - SwiftUI

Поділитися
Вставка
  • Опубліковано 10 лют 2025

КОМЕНТАРІ • 18

  • @rudolphhock1155
    @rudolphhock1155 3 роки тому

    Thanks Mr. Hudson, this was a good one, short and sweet.

  • @keepspeed
    @keepspeed 3 роки тому +1

    Every time a scene is called, a new one is created.

  • @theLilaQ
    @theLilaQ 3 роки тому

    Exactly what I was looking for!

    • @theLilaQ
      @theLilaQ 3 роки тому

      Stfu botscammer

  • @LouisaMacchiato
    @LouisaMacchiato 7 місяців тому

    Thanks so much!

  • @ChopTheViking
    @ChopTheViking 3 роки тому

    Out of curiosity, does this make it possible to work through your SpriteKit book entirely in SwiftUI? Or is that stretching things a bit far?

  • @toddsleeman
    @toddsleeman 3 роки тому

    Now how to adjust the block size with a SwiftUI slider?

  • @poojakadam8160
    @poojakadam8160 4 роки тому +1

    Its good but I want to know which XCode version is been used , I am unable to fetch SpriteView even after importing SpriteKit

    • @rudolphhock1155
      @rudolphhock1155 4 роки тому

      @thnkwww Hudson should have prefaced the video with that detail.

  • @judy8821
    @judy8821 3 роки тому +1

    Paul, I am having trouble updating the score in SwiftUI when using an sks file instead of creating the scene programmatically. I watched your follow up to inquiry on SpriteKit and swiftUI integration but can’t get it to work when an sks file is involved. Could you repeat your instructions but include an sks file? Thanks. In the mean time I think I’ll probably just use an SKLabelNode.

    • @John-Dav
      @John-Dav 3 роки тому

      Hi Judy did you end up solving this I have the same question.

    • @judy8821
      @judy8821 3 роки тому +1

      @@John-Dav nope never solved it

    • @t0mmx
      @t0mmx 3 роки тому

      @@judy8821 I usually don't use sks files but I think you need to check some boxes to access them programatically. Hope it helps.

    • @judy8821
      @judy8821 3 роки тому

      @@t0mmx hmmm… never thought to look. Thanks, I’ll see if I can find any

  • @tommy9576
    @tommy9576 4 роки тому

    Nice Video, but this is a UA-cam Video you can make in longer. Please explain more.

    • @theLilaQ
      @theLilaQ 3 роки тому +1

      He explained pretty much everything.