Hello,
how am i supposed to add a NullAction in this?
If i review the gallery, i want it to NOT view the image in full, instead, i want it to be like this.
I want to put a NullAction, but if i put that, it keeps having me a child error..
Can somebody help me how?
Thanks.
Null action help
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.
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.
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
Re: Null action help
Code: Select all
screen imagegallery():
tag menu
use exgame_menu(scroll="viewport"):
grid 3 3:
style_prefix "gslot"
xalign 0.5
yalign 0.5
spacing gui.slot_spacing
add g.make_button("cg_gallery02","images/placeholder.png")
add g.make_button("cg_gallery03","images/placeholder.png")
add g.make_button("cg_gallery04","images/placeholder.png")
add g.make_button("cg_gallery05","images/placeholder.png")
add g.make_button("cg_gallery06","images/placeholder.png")
add g.make_button("cg_gallery07","images/placeholder.png")
add g.make_button("cg_gallery08","images/placeholder.png")
add g.make_button("cg_gallery09","images/placeholder.png")
add g.make_button("cg_gallery10","images/placeholder.png")
style gslot:
xsize 256
ysize 144
- arty
- Regular
- Posts: 120
- Joined: Sat Jan 06, 2018 11:55 am
- Completed: White Monday
- Projects: HATE is a 4 Letter Word
- Organization: KATHARSIS ART
- itch: artys-games
- Contact:
Re: Null action help
Why not just put cropped images in place of the "images/placeholder.png" graphics then?
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
Re: Null action help
Well.. i dont know how, could you gave me a example?
I dont know anything about cropping so..
- arty
- Regular
- Posts: 120
- Joined: Sat Jan 06, 2018 11:55 am
- Completed: White Monday
- Projects: HATE is a 4 Letter Word
- Organization: KATHARSIS ART
- itch: artys-games
- Contact:
Re: Null action help
Basically what I would do is take the image processing program of your choice (for example GIMP, which is free) and cut the images as desired. Then save them to your folder and put the path in the make_button lines.
Alternatively, you could try Ren'Py code cropping: https://www.renpy.org/doc/html/displayables.html#Crop ...but I haven't tried that yet.
Alternatively, you could try Ren'Py code cropping: https://www.renpy.org/doc/html/displayables.html#Crop ...but I haven't tried that yet.
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot]