-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[demo] Add the PortraitWindow #1282
Labels
Comments
It just expects a bunch of extra controls, since the common code to run portrait windows detected the window is now present. In this case it expects 6 slots for party members. |
I added this to MessageWindow.py:
What else should I do? |
The CHU file needs the buttons — did you add them there? |
Yes, I added the buttons to the .chu file with DLTCEP. |
Are you saying you're getting the same error? And the buttons need to have IDs from 1-6. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to add the PortraitWindow to the demo. I modified guiw.chu with DLTCEP (added a window and a control button). Here is what I added to MessageWindow.py:
But when I run the demo, only the windows are visible, the player screen is completely black, as you can see in the attached screenshot. In the terminal, I get this error:
I'm obviously doing something wrong.
Here's a screenshot (I need to fine-tune the position of the portrait and the size of the column, it's a work in progress for now).
The text was updated successfully, but these errors were encountered: