Always displaying a side image?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Always displaying a side image?

#16 Post by rayminator »

Tesspolar wrote: Fri Mar 27, 2020 12:06 pm I was just trying that right at the center. Nope won't show up.

I have just opened up a fresh test project basically nothing in it. Still won't show up. I don't know what I am missing. I made the image smaller.. Bigger.. It just won't show up.

As soon as k character speaks it should show up right?
yes it should show up when that character is speaking

can you upload your game to let me see

Tesspolar
Newbie
Posts: 21
Joined: Fri Mar 20, 2020 11:37 am
Contact:

Re: Always displaying a side image?

#17 Post by Tesspolar »

How do I do that? I am just going to put the fresh test project with my attempt to add side image on it :)

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Always displaying a side image?

#18 Post by rayminator »

Tesspolar wrote: Fri Mar 27, 2020 12:15 pm How do I do that? I am just going to put the fresh test project with my attempt to add side image on it :)
you can use mega or google drive

just make test game using some of the line with side image so on

i just need the game folder so I can use renpy to test it

Tesspolar
Newbie
Posts: 21
Joined: Fri Mar 20, 2020 11:37 am
Contact:

Re: Always displaying a side image?

#19 Post by Tesspolar »

Thank you so much.
Using mobile hotspot it will take some time to upload in roaming.

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Always displaying a side image?

#20 Post by rayminator »

i can wait

Tesspolar
Newbie
Posts: 21
Joined: Fri Mar 20, 2020 11:37 am
Contact:

Re: Always displaying a side image?

#21 Post by Tesspolar »


rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Always displaying a side image?

#22 Post by rayminator »

ok I have figure out why it wasn't working

either put s image side kira or remove the s from image = "kiras"

Code: Select all

define k = Character("Kira", image = "kiras")
                                                                      

image side kira = "images/kiras.png"
                    

Tesspolar
Newbie
Posts: 21
Joined: Fri Mar 20, 2020 11:37 am
Contact:

Re: Always displaying a side image?

#23 Post by Tesspolar »

I changed to minik.png still nothing.. I am about to throw this laptop out of the window lol

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Always displaying a side image?

#24 Post by rayminator »

will I got to work just fine



https://i.postimg.cc/tTLY5HLj/screenshot0001.png

look at the under line they must be the same name

image="name"

image side name

this what you had

Code: Select all

define k = Character("Kira", image="kiras")
                                                                      

image side kira = "images/kiras.png"
it should have been

Code: Select all

define k = Character("Kira", image="kira")
                                                                      

image side kira = "images/kiras.png"

Tesspolar
Newbie
Posts: 21
Joined: Fri Mar 20, 2020 11:37 am
Contact:

Re: Always displaying a side image?

#25 Post by Tesspolar »

You want to hear something funny. I switched png to jpg it started to work... My laptop must gone crazy.

Thank you so much for the help

Tesspolar
Newbie
Posts: 21
Joined: Fri Mar 20, 2020 11:37 am
Contact:

Re: Always displaying a side image?

#26 Post by Tesspolar »

One last question
Instead of xalign and yalign can you use exact location? Like using image location picker?

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Always displaying a side image?

#27 Post by rayminator »

no it as to be xalign and yalign or xpos and ypos

Post Reply

Who is online

Users browsing this forum: Google [Bot], XOvertime