Really weird image problem
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.
- Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
- Contact:
Really weird image problem
Okay, so I'm attaching three images. The first two are the ground and hover images I used for my imagemap in game, both PSDs. The third is a screenshot of the imagemap in-game. You can see that it's suddenly become semitransparent, and turned red from blue. The first imagemap I made for this purpose didn't have this problem, nor does the one I use for the main menu. Can anyone explain this?
Ground: Hover: In-Game Result:
Ground: Hover: In-Game Result:
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
-
- Regular
- Posts: 44
- Joined: Sat Aug 14, 2010 5:31 pm
- Contact:
Re: Really weird image problem
I...might actually have an answer for this.
It looks like your bottom layer in Photoshop for your ground and hover was just transparency. Most Photoshop programs default the checkered pattern to just a basic black. Consider going back into Photoshop and throwing a black solid as the bottom layer on those images.
It looks like your bottom layer in Photoshop for your ground and hover was just transparency. Most Photoshop programs default the checkered pattern to just a basic black. Consider going back into Photoshop and throwing a black solid as the bottom layer on those images.
- Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
- Contact:
Re: Really weird image problem
That's what I initially thought too, but no dice. The background was 100% opaque, and throwing in a black sheet behind it didn't have any effect.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
Re: Really weird image problem
... try to add "ground" image too...
http://www.renpy.org/doc/html/screens.h ... statements
http://www.renpy.org/doc/html/screens.h ... statements
- Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
- Contact:
Re: Really weird image problem
No, the ground image is there in the coding already...
Code: Select all
screen example_imagemap:
imagemap:
ground "scr/pground.jpg"
hover "scr/phover.jpg"
hotspot (485,280,174,319) clicked Return("gage")
hotspot (672,272,127,327) clicked Return("raven")
hotspot (295,239,184,360) clicked Return("xander")
hotspot (158,235,131,364) clicked Return("grayson")
hotspot (0,275,142,324) clicked Return("ethan")
label example:
call screen example_imagemap
$ result = _return
if result == "gage":
jump gage_start
elif result == "raven":
jump raven_start
elif result == "xander":
jump xander_start
elif result == "grayson":
jump grayson_start
elif result == "ethan":
jump ethan_start
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
Re: Really weird image problem
Well, ok, but where is the "idle" image then?
- Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
- Contact:
Re: Really weird image problem
Idle image? @_@
I made an imagemap for this exact part of the game without problems the first time, all I did was change the two images I used and moved the coordinates to match.
I made an imagemap for this exact part of the game without problems the first time, all I did was change the two images I used and moved the coordinates to match.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
Re: Really weird image problem
You should set your blue/black background as the ground image and the silhouetted characters as your idle image:
Code: Select all
screen example_imagemap:
imagemap:
ground "scr/pground.jpg"
idle "scr/pidle.jpg"
hover "scr/phover.jpg"
hotspot (485,280,174,319) clicked Return("gage")
hotspot (672,272,127,327) clicked Return("raven")
hotspot (295,239,184,360) clicked Return("xander")
hotspot (158,235,131,364) clicked Return("grayson")
hotspot (0,275,142,324) clicked Return("ethan")
label example:
call screen example_imagemap
$ result = _return
if result == "gage":
jump gage_start
elif result == "raven":
jump raven_start
elif result == "xander":
jump xander_start
elif result == "grayson":
jump grayson_start
elif result == "ethan":
jump ethan_start
- Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
- Contact:
Re: Really weird image problem
That didn't work, either. It just put white boxes around the characters, and that's about it.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
- Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
- Contact:
Re: Really weird image problem
This is odd: when I use the developer's tools to view the image in the image location picker, the background is depicted as red, and all the other colors are warped from their originals. When I view the image in Photoshop or any other image viewer, it appears normal.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
Re: Really weird image problem
The problem was in your images.
I've changed the color model from CMYK to RGB in Photoshop. That let me to save images in ".png" format. And this ".png" images are work fine.
I've changed the color model from CMYK to RGB in Photoshop. That let me to save images in ".png" format. And this ".png" images are work fine.
- Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
- Contact:
Re: Really weird image problem
Holy flying cow, that worked. I would have never figured that out on my own.
Thanks. Again. Again. Damn, how many times are you going to help me?
Thanks. Again. Again. Damn, how many times are you going to help me?
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
Who is online
Users browsing this forum: Google [Bot]