Hello there,
I am really new to ren'py and am currently coding a card game. Now I want to display a random card from ace to king. I know there is the show expression but I have really no clue how to use it and how to define the variable which chooses the random image. I only have this:
show expression firstCard
I appreciate every help!
Cheers
Random Image
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: 27
- Joined: Mon Sep 17, 2018 1:43 pm
- Contact:
Re: Random Image
Card game?SaladDressing wrote: ↑Mon Sep 17, 2018 1:55 pm Hello there,
I am really new to ren'py and am currently coding a card game. Now I want to display a random card from ace to king. I know there is the show expression but I have really no clue how to use it and how to define the variable which chooses the random image. I only have this:
show expression firstCard
I appreciate every help!
Cheers
viewtopic.php?p=475772#p475772
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Who is online
Users browsing this forum: Ahrefs [Bot], Andredron