Devlog
This is my (currently private) devlog, gonna start tossing dev related things in here. Newest on top.
Maybe move some of this to the blog for more details if it's a good day with interesting stuff?
Day 21
Working on ProtoLauncher, some webdev
Added this stupid devlog thing that no one will look at! 🤬🤬🤬
Working on dialog event system. Current task is figure out how to swap between character control and ui control while in "dialog mode".
- Disable character control while in dialog mode
- Setup the dialog to work with current npc and options
Code block test, look how hard coding is.
private void ChangeText()
{
_title.text = "Receptionist (bored)";
_dialog.text = "How can I help?";
//_myLabel.style.color = Color.darkOrange;
}
Day 20
Working on ProtoLauncher
Fixed:
Options buttons not clickable issue due to the options panel going off the side
of the main dialog panel, the mouse is only detected while over top of that
panel if using the Position or Transform settings to move options panel. The fix
is to use a spacer element and size that up to push the Options Panel down. This
allows the clickable area to encompass all panels instead of snapping to just
the main dialog..
This might be a Unity bug or just hasn't been developed to function predictably yet?
Day 19
Working on ProtoLauncher
Created a dialog panel with multiple options. Looks ok I think. One dialog panel as a template instead of many custom dialog panels. The idea is the panel is toggled on to go into dialog mode, the title and content is filled out and the options are set to trigger more dialog or events to happen.
Events like this
- Request a room key to download a game
- Return key to uninstall game
- Go into a room and use a game specific item to launch that game