Комментарии:
ty. i noticed that when you created the ball, etc. that your setting for "Shading" was "Blinn." It appeared to be a significant setting when I was trying to follow along, yet you did not mention. Can you briefly define the choices.
ОтветитьI had a few issues implementing this in a more modern Xcode and thought I would share:
The line "let sceneView = self.view as! SCNView" resulted in a SIGABRT error. I wound up adding a SceneKitView in storyboard, and then connecting to the GameViewController.
Doing that resulted in a blank screen, though, so I had to change my "let scene = SCNScene(named: "art.scnassets/MainScene.scn")" to "guard let scene = SCNScene(named: "MainScene.scn") else { fatalError("file not found") }.
That seemed to work pretty well. I really appreciate the introduction and all of the work that went into this tutorial.
Do the game man! Or maybe I am late, so if you did create the game before this comment please add a link.
ОтветитьAwesome tutorial. Thank you for this. Would love to build a space scene. With stars in the distance, where some don’t move, some move off screen, but you can never reach them. Any thoughts?
ОтветитьIs this really the swift language? I thought swift would be more simple. I completed learn to code 1 and 2, and i see nothing close to this
ОтветитьLoved this tutorial!! Everything was going great but right when I tried to display the scene, the sceneView = self.view as! SCNview line is giving me a SIGABRT error ;(
Ответитьwhat a cool video.
ОтветитьMake a Rubik's cube game toturial using scenekit ✌️
ОтветитьI need help putting a 3d model I made into Xcode
edit: never mind I just had to make it a dae file I think
edit 2: it said 'override can only be specified on class members'
edit 3: never mind I just pressed fix and it worked!!!
edit 4: now I can only see a white screen in my lego among us
awesome explanation
ОтветитьUsing Xcode 12.01. I go to load the scene but it won't load...
class GameViewController: UIViewController {
var sceneView:SCNView!
var scene:SCNScene!
override func viewDidLoad() {
setupScene()
}
func setupScene() {
sceneView = self.view as? SCNView
sceneView.allowsCameraControl = true
guard let myScene = SCNScene(named: "art.scnassets/MainScene.scn")
else { fatalError("Unable to load scene file.") }
sceneView.scene = myScene
}
...
}
results in an error of "Unable to load scene file." .. any ideas? Everything looks fine with my scene itself.. and the path to the scene I believe is correct. My GameViewController.swift is in the same folder as my art.scnassets (they are siblings) so I think the path should resolve.
'm having trouble in scene kit. my floor is infinite and I don't want that
ОтветитьI need help with drag & droping the files in the newest xcode version
ОтветитьHello, I love this so much! It is working so well! I do have a problem about Specular, because with the current Xcode, I can't see any Specular option, and I don't know what the equivalent (if there is one) to that in Xcode. How should I cause they light?
Edit: I figured that my Xcode had Shading equal to Physically Based. I switched it to what Brian Advent had it as (Blinn). As soon as I changed it, it changed to what was called Lambert. I tried to switch it to Blinn, but it wasn't switched. It stayed at the Lambert. (I still didn't have Specular option with Lambert.)
Please help me! Thank you in advance!
Brian hi my name is Sandeep I am interested in developing a 3d games
ОтветитьI can't get the ball file into the main scene file. Can anyone help?
ОтветитьHelps, THX
Ответитьwhy does var motion = MotionHelper() say Use a red error of unresolved identifier 'MotionHelper' in the GameViewController? How do I fix this error?
Also sceneView = self.view as! SCNView says a yellow error of Treating a forced downcast to 'SCNView' as optional will never produce 'nil'.
And ballNode.physicsBody?.velocity += motionForce says error Expression type '@lvalue SCNPhysicsBody?' is ambiguous without more context.
I'm getting a grey screen when running my app. I haven't changed anything and my function looks like this :
func setupScene(){
sceneView = self.view as? SCNView
sceneView.allowsCameraControl = true
scene = SCNScene(named: "art.scnassets/MainScene.scn")
sceneView.scene = scene
}
I call that function but all I get is a grey screen like I said, any suggestions anyone?
how do you download the art assets folder???? Is it because i deleted it when he told me to?
Ответитьi am getting this error: Property does not override any property from its superclass
Code is identical to your gameviewcontroller
play at 1.25x thank me later
ОтветитьGreat video. Thanks. Looking forward to more videos.
ОтветитьIt's just so fantastic. Thank you !
ОтветитьThank you so much for this helpful tutorial Brian. However, there is a massive reflection showing on the floor for each of the objects placed on it..... I tried to change the position of the lights but still couldn't fix this problem. Could anyone please help? Thanksxx
Ответить...in the hopes that I can help someone else who screwed up like me,..
I was getting the black screen too.
...but I realized I had entered the path to the main scene as "art.scnassets.MainScene.scn" instead of "art.scnassets/MainScene.scn"
Ciao,I'm doing a game where a ball goes to the edges but I can not put them and the ball does not stop, could you help me? thank you
ОтветитьI loved that, I have so many ideas about games I'd like to create. I think this is a good opportunity for me to get that. Thanks for the amazing content and I hope to see more about iOS games at this channel.
ОтветитьCan we export the game to .apk also sir?
Ответитьcant download assets from dropbox because your biz account has expired!! perhaps a new location or refreshed account.
ОтветитьI’m a teenager who just realized why geometry is so important.
Ответитьmake video how to add Button into the game Plz
ОтветитьGreat Video!! But my SkyBox doesn't work like yours does. Mine just projects the image in the background, ignoring all of the x, y and z stuff. Can someone help me?
ОтветитьI'm having the same issue as others below. When I compile the project it renders a black screen on the simulator and on a device.
ОтветитьI am eager to see how you made this game
ОтветитьGREAT TUTORIAL WITH DETAILED EXPLANATION !! MUCH APPRECIATED !! THANK YOU :)
ОтветитьThank you! Very concise and easy to follow.
Consider making a whole series dedicated to 3D game Development.
It is high in demand, especially for IOS.
hello can i contact you in kik or somewhere cause i need you to make me a small project and i will pay you 😊
ОтветитьWoooow. It's superb. Please release full videos of this game development. Great effort.
ОтветитьCan you please continue the game ?
Thanks
Great! Can you please do more video with SceneKit!
ОтветитьMake that game
ОтветитьMake the whole game, it would be nice!
ОтветитьVideo tutorial on the game itself, please.
Ответитьgreat video. waiting for next :)
ОтветитьYes please make a whole game video, great video .
ОтветитьCan you make more tutorials on SceneKit? Also can you make the game you show in the starting of the video?
Ответить