← Return to asset pack
Log in with itch.io to leave a comment.
Not sure where is best to contact you. The code runs through with no errors, but never actually spawns anything into the game world. I can spawn items from my loot chest no problem with the same scene I use in your DropsComponent. when I call the " drops_component.spawn_drops(1.0) "nothin is spawned into the world. Any help would be great thanks.
The spawn point when the code is run shows the correct spawn location as well
drops_to_spawn in the DropsComponent also shows the correct packedscene
However, after the code is run and checking the child count in the PickupsGroupNode, it is still 0Any help here would be spectacular thanks.So I tracked down the issue. As the only spawner that now works appears to be the spawn_scene_at_point That chunk was however missing the add_child(instance)just added that and it works great.
In process of a move at the moment but if you ping me on https://discord.com/invite/vxMuaeZd I can help out if you run into any other issues next week
Appreciate that thanks. I got it all sorted with the parent call and all as well. My smooth brain sometimes needs a little longer than some to wrap my head around some one elses' code lolspawn_parent.call_deferred("add_child", instance)Again appreciate the response.
Cant wait for a tutorial on this add-on. Your videos on the grid_building and world_time made them really easy to implement.
Thanks it's going to come with an update to the plugin too. Trying to get it out there after this grid builder plugin update I'm working on atm.
Awesome, glad to hear it! Appreciate all the work you do!
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
Not sure where is best to contact you. The code runs through with no errors, but never actually spawns anything into the game world.
I can spawn items from my loot chest no problem with the same scene I use in your DropsComponent.
when I call the " drops_component.spawn_drops(1.0) "
nothin is spawned into the world. Any help would be great thanks.
The spawn point when the code is run shows the correct spawn location as well
drops_to_spawn in the DropsComponent also shows the correct packedscene
However, after the code is run and checking the child count in the PickupsGroupNode, it is still 0
Any help here would be spectacular thanks.
So I tracked down the issue. As the only spawner that now works appears to be the spawn_scene_at_point
That chunk was however missing the add_child(instance)
just added that and it works great.
In process of a move at the moment but if you ping me on https://discord.com/invite/vxMuaeZd I can help out if you run into any other issues next week
Appreciate that thanks. I got it all sorted with the parent call and all as well. My smooth brain sometimes needs a little longer than some to wrap my head around some one elses' code lol
spawn_parent.call_deferred("add_child", instance)
Again appreciate the response.
Cant wait for a tutorial on this add-on. Your videos on the grid_building and world_time made them really easy to implement.
Thanks it's going to come with an update to the plugin too. Trying to get it out there after this grid builder plugin update I'm working on atm.
Awesome, glad to hear it! Appreciate all the work you do!