I'm working on a series of Star Trek games and I wanted to have a minigame which would include the use of LCARS panels (or okudagrams for some oldschool trekkies). For those who have NO IDEA what these panels look like.
That. Is an LCARS.
Anyway, In the game it would have a readout that would show your 'sensors'. From there you could scan the area, fire weapons, activate shields, stand down red alert, surrender, and the like. However I don't know how to make a menu INSIDE of a PNG. Could Someone help me out with this?
Menus in Pictures
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.
-
- Regular
- Posts: 115
- Joined: Mon Apr 23, 2007 8:50 pm
- Contact:
Menus in Pictures
in a perfect world those who can do it teach others how to do it. but were not in a perfect world. So were primarily stuck with teachers who don't kno jack.
Avatar: The Last Airbender Visual Novel forums
http://img509.imageshack.us/my.php?imag ... rekzs0.png
Avatar: The Last Airbender Visual Novel forums
http://img509.imageshack.us/my.php?imag ... rekzs0.png
Re: Menus in Pictures
Stop me if I'm missing something, but if you plan to use Ren'Py's menus (which I guess with roundrect look similar enough to the buttons along the top there) couldn't you just set the PNG of the LCARS screen as your background (scene) and show your menu normally?Lee_Hitsugaya wrote:However I don't know how to make a menu INSIDE of a PNG.
Server error: user 'Jake' not found
-
- Regular
- Posts: 115
- Joined: Mon Apr 23, 2007 8:50 pm
- Contact:
Re: Menus in Pictures
That would work, but I would need to resize and move the buttons but i dont know how to code that.
in a perfect world those who can do it teach others how to do it. but were not in a perfect world. So were primarily stuck with teachers who don't kno jack.
Avatar: The Last Airbender Visual Novel forums
http://img509.imageshack.us/my.php?imag ... rekzs0.png
Avatar: The Last Airbender Visual Novel forums
http://img509.imageshack.us/my.php?imag ... rekzs0.png
Re: Menus in Pictures
Let's say "button.png" is the picture of one of your buttons :
Positioning is done through xpos, ypos and xanchor, yanchor (0.0 for left/top, 1.0 for right/bottom, 0.5 for middle)
Code: Select all
show panelbackground
$ ui.imagebutton("button.png", "button.png", clicked=ui.jumps("mybuttonaction"), xpos=50, ypos=120)
$ ui.interact()
label mybuttonaction:
"You clicked on mybutton! :D"
-
- Regular
- Posts: 115
- Joined: Mon Apr 23, 2007 8:50 pm
- Contact:
Re: Menus in Pictures
monele.....you rock. flippin 10000 points for you
hehe! arigatou'! I shall try it in my coding.
hehe! arigatou'! I shall try it in my coding.
in a perfect world those who can do it teach others how to do it. but were not in a perfect world. So were primarily stuck with teachers who don't kno jack.
Avatar: The Last Airbender Visual Novel forums
http://img509.imageshack.us/my.php?imag ... rekzs0.png
Avatar: The Last Airbender Visual Novel forums
http://img509.imageshack.us/my.php?imag ... rekzs0.png
Re: Menus in Pictures
10000 points?!... Wow... What kind of stuff can I get with that?
-
- Regular
- Posts: 115
- Joined: Mon Apr 23, 2007 8:50 pm
- Contact:
Re: Menus in Pictures
hm....Free 5 anime edits? I do colorizations. lol. AND A BETA COPY OF TEH GAMES
in a perfect world those who can do it teach others how to do it. but were not in a perfect world. So were primarily stuck with teachers who don't kno jack.
Avatar: The Last Airbender Visual Novel forums
http://img509.imageshack.us/my.php?imag ... rekzs0.png
Avatar: The Last Airbender Visual Novel forums
http://img509.imageshack.us/my.php?imag ... rekzs0.png
Who is online
Users browsing this forum: Bing [Bot]