Skip to content
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

Images aren't displayed on editor #11

Open
thedozo opened this issue Jan 3, 2023 · 9 comments
Open

Images aren't displayed on editor #11

thedozo opened this issue Jan 3, 2023 · 9 comments

Comments

@thedozo
Copy link

thedozo commented Jan 3, 2023

I have this issue that shows images in game, but when the editor is opened (when it doesn't crash), only the background image is listed as present.
Any ideas what could be going on?

@kyouryuukunn
Copy link
Owner

How were those images which were not displayed declared and shown in .rpy?

@thedozo
Copy link
Author

thedozo commented Jan 5, 2023

How were those images which were not displayed declared and shown in .rpy?

show saleswoman at flip with dissolve:
subpixel True pos (53, 233)
matrixcolor InvertMatrix(0.0)*ContrastMatrix(1.19)*SaturationMatrix(0.3)*BrightnessMatrix(0.0)*HueMatrix(-444.0)
show talkno happy at flip with dissolve:
subpixel True xpos 0.14 ypos 120
matrixcolor InvertMatrix(0.0)*ContrastMatrix(1.19)*SaturationMatrix(0.3)*BrightnessMatrix(0.0)*HueMatrix(-444.0)
t "¡Dátiles, Deliciosos dátiles! Provenientes de los oasis del oeste. Dátiles dulces y sabrosos ¡Lleve sus dátiles…!"
show algiran at flip with easeinright:
xpos 650
matrixcolor InvertMatrix(0.0)*ContrastMatrix(1.19)*SaturationMatrix(0.3)*BrightnessMatrix(0.0)*HueMatrix(-444.0)

I'm sharing a link to imgur showing how it looks in game and how the action editor displays them
https://imgur.com/a/nAUvfUN

@kyouryuukunn
Copy link
Owner

Are images shown if matrixcolor isn't used?

@thedozo
Copy link
Author

thedozo commented Jan 5, 2023

Are images shown if matrixcolor isn't used?

Sadly, they aren't. No.

@thedozo
Copy link
Author

thedozo commented Jan 10, 2023

I found a temporary solution by setting PERSPECTIVE to FALSE
and since I was using the command:
init:
transform flip:
xzoom -1.0
I solved it by erasing the references to this and setting "xzoom -1.0" on each image separately.
But this led up to another issue that I'm going to elaborate on on a different post :P

@kyouryuukunn
Copy link
Owner

Please do test.

  1. change debug to True on 83 line in ActionEditor.rpy

    from renpy.display.image import images
    from traceback import format_exc
    debug = False <--Change

    class DuringTransitionDisplayble(renpy.Displayable):

  2. Open ActionEditor

@thedozo
Copy link
Author

thedozo commented Jan 16, 2023

Unfortunately, the error persists.

https://imgur.com/a/qi2DgZg

code:
show manderhi with dissolve:
xzoom -1.0
subpixel True matrixcolor InvertMatrix(0.0)*ContrastMatrix(1.0)*SaturationMatrix(1.0)*BrightnessMatrix(0.0)*HueMatrix(0.0)

(I needed to establish the matrixcolor back to baseline because I had just obscured the images through the use of it a few lines before.)

@kyouryuukunn
Copy link
Owner

I founded the cause of this issue, but it is difficult to fix this.
I released the new version.
This version show the notify "ActionEditor can't show the images with 'at clause' correctly." when opening ActionEditor.
This shows the images with "at clause" without transforms used by "at clause".

https://github.com/kyouryuukunn/renpy-ActionEditor3/releases/tag/230121

@kyouryuukunn
Copy link
Owner

Now, ActionEditor supports images with "at clauses".
camera with "at clauses" is not supported.

https://github.com/kyouryuukunn/renpy-ActionEditor3/releases/tag/beta_230122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants