Post

Replies

Boosts

Views

Activity

Reply to Cant find Child node in SKScene
//When placed at the start of the search string, this specifies that the search should begin at the root node and be performed recursively across the entire node tree. Otherwise, it performs a recursive search from its current position.I got it from this website https://developer.apple.com/documentation/spritekit/sknode/searching_the_node_treethe name of the node is button in the skscene and its not working and i have tried it without the slashes.what im trying to do is create buttons in the skscene then connect it to code instead of vice versa.
Nov ’19
Reply to Cant find Child node in SKScene
I firgured out the problem, dang im stupid. But pretty much i had to go to the sks scene file and change the custom class from SKScene to LoginScene so that thre code will link with that class and that when i do self.findChild it will go in the scene to find it. Thats why it wasnt finding it because they werent linked.
Nov ’19
Reply to SF Symbols 3 Bug
`struct ViewsContainer: View {     @State var currentView = "Feed"     @EnvironmentObject private var session:SessionStore     var body: some View {         VStack {             TabView() {//TabView                                  //MARK: Feed                 Feed(finishedLoading: $session.finishedLoading).tabItem {                     Label("Feed", systemImage: "house")                 }.zIndex(1)                 //End Feed                                   //MARK: Crew                 Crew().tabItem {                     Label("Crew", systemImage: "person.3")                 }.zIndex(1)                 //End Crew                                  //MARK: MapView                 MapView().tabItem {                     Label("Map", systemImage: "map")                 }.zIndex(1)                 //End Map                                  //MARK: Fitness                 Fitness().tabItem {                     Label("Fitness", systemImage: "figure.walk.circle")                 }.zIndex(1)                 //End Fitness                                  //MARK: Settings                 Profile().tabItem {                     Label("Profile", systemImage: "person").symbolRenderingMode(.monochrome)                 }.zIndex(1)                 //End Settings                                               }// End of TabView             .accentColor(Color("PrimaryColor"))             .zIndex(1)         }// End of VStack     }// End of body }`
Sep ’21