Dialogic 1.X Character game position #1504
-
From the picture above, there is a lot of empty space on the screen's left and right hand corner, and I want to take advantage of these empty spaces. However, I don't know how to modify the exact position that a sprite will occupy. At the moment all the 5 positions mainly occupy the center of screen. Any help? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
We're currently experimenting with some 'lost' code from another contributor that may help your situation. Can you try replacing that function with
And letting us know if it works for you? |
Beta Was this translation helpful? Give feedback.
-
This should now be merged into the Dialogic 1 branch. You can grab it here since 1.5 still isn't ready for the asset store yet. |
Beta Was this translation helpful? Give feedback.
-
Hang on, what do you mean when you said it has been merged into dialogic 1 branch? Did you mean dialogic has been updated to include the feature that I just requested? I am using Dialogic in conjunction with Godot-Spine. Because of this, I also edited/modded my Dialogic 1.4.4 to suit my project needs (such as the json file extension problem that spine-godot has). I much prefer to modify my current dialogic if there is only small changes in the latest version of dialogic. |
Beta Was this translation helpful? Give feedback.
-
Ya, we updated Dialogic 1 branch to include the fix you requested. But the code that was added is here. Then ya, replace the code you found above with this.
|
Beta Was this translation helpful? Give feedback.
Adding the slots is pretty easy technically, you could extend that code to do it well enough by following the pattern provided. Updating the UI to select them easily is a much more involved task however. Definitely out of scope for me tonight. I can look up the relevant scenes tomorrow to at least point you in the right direction