8:51am - Well I'm a little upset right now. I just found out that my switch power supply was damaged; the power cable looks like it's been nibbled on by the bunny we used to have, leading to unreliability. It was not working before, and then suddenly worked, and today I found it not working again, and discovered the problem. I don't know if it can be fixed properly, or how, but I do know that one of these cables costs $40. :/
Anyways since I can't play with my Switch like I planned, I guess I'll work on my project.
The next thing the prototype needs is teleporters to move the player around. I'll need two kinds, one for moving between locations in a scene, and one for moving between locations in different scenes.
10:00am - Okay I've got the in-scene teleporter set up. It moves the player from its location to a target node on contact. I set up two of them in two different rooms and it works great.
Now I need to figure out how to teleport between two scenes. That'll be more difficult. I'm getting hungry though and it's time to take my pills so I'll do that first.
10:43am - Food eaten, pills taken, and a cartoon watched, and now I'm ready to continue. That said, my roomie got up and he switched our Switch power cables, so now it's his problem instead of mine, and he solved his problem with a kludge by using a USB cable instead of a cable with an AC adapter. What could possibly go wrong? Hopefully he doesn't destroy his Switch or start a fire or something. I'll ask my electrician friend when I can, and we'll see what she says.
For now, let's think about this interscene teleport...
When I've done interscene movement before, I've always just replaced the scene on the tree with the new scene in order of level transitions. This time, I need to load a specific scene and move the player to the teleport target.
I'm thinking I'll pass a signal from the scene to its parent in the tree, which will be the World container in the main scene. That signal will contain the NodePath of the target node. Then the world scene will unload the current scene and load up the new one. That should work.
But I'll do that next time, because I can't focus with Rob playing videos and games around me. Since we fixed my Switch, I'm going to play the new old game I got for research purposes. <3
Anyways since I can't play with my Switch like I planned, I guess I'll work on my project.
The next thing the prototype needs is teleporters to move the player around. I'll need two kinds, one for moving between locations in a scene, and one for moving between locations in different scenes.
10:00am - Okay I've got the in-scene teleporter set up. It moves the player from its location to a target node on contact. I set up two of them in two different rooms and it works great.
Now I need to figure out how to teleport between two scenes. That'll be more difficult. I'm getting hungry though and it's time to take my pills so I'll do that first.
10:43am - Food eaten, pills taken, and a cartoon watched, and now I'm ready to continue. That said, my roomie got up and he switched our Switch power cables, so now it's his problem instead of mine, and he solved his problem with a kludge by using a USB cable instead of a cable with an AC adapter. What could possibly go wrong? Hopefully he doesn't destroy his Switch or start a fire or something. I'll ask my electrician friend when I can, and we'll see what she says.
For now, let's think about this interscene teleport...
When I've done interscene movement before, I've always just replaced the scene on the tree with the new scene in order of level transitions. This time, I need to load a specific scene and move the player to the teleport target.
I'm thinking I'll pass a signal from the scene to its parent in the tree, which will be the World container in the main scene. That signal will contain the NodePath of the target node. Then the world scene will unload the current scene and load up the new one. That should work.
But I'll do that next time, because I can't focus with Rob playing videos and games around me. Since we fixed my Switch, I'm going to play the new old game I got for research purposes. <3