RenPy Tutorial using Flags | Deciding the ending in a Ren'Py Game

  Рет қаралды 44,034

Zeil Learnings

Zeil Learnings

Күн бұрын

Flags are used to determine the flow of the game. In this RenPy tutorial, I'll teach you about flags and the different ways you can use them. To be precise, we'll evaluate the flags to decide the game's ending.
Note:
- You must know the Ren'Py basics to understand this video.
To learn the basics, you can watch this video:
Ren'Py in 8 minutes: • RenPy Tutorial for Beg...
🎨 itch.io assets
zeillearnings.itch.io/flags
📚 Chapters
0:00 Intro
0:12 Dialogue
0:36 Flag: yuki_affection
1:08 Variable Viewer
1:32 Ending Evaluation
2:05 Preview
2:34 Required Flag: acquiredRing
3:15 Tips
4:01 Outro
👐 Ren'Py has an active and helpful community.
People share their work as a guide (Ren'Py Cookbook):
lemmasoft.renai.us/forums/vie...
Questions are also welcome here:
/ renpy
lemmasoft.renai.us/forums/vie...
🌸 My pages:
itch.io: zeillearnings.itch.io/
Twitter: / zeillearnings
Facebook: / zeillearnings
BMC: www.buymeacoffee.com/ZeilLear...

Пікірлер: 72
@aionaid135
@aionaid135 3 жыл бұрын
As a person who likes pizza more than sushi, prefers blue over red, and is a dog person, I feel like me and Yuki will not get along very well.
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
LMAO as long as we get along 😛 much love! ❤️
@efai
@efai 2 жыл бұрын
Yuki is a dude, so this could be a good thing :D
@ang3l_gutzz
@ang3l_gutzz Жыл бұрын
@@efai ..?
@sourwitch2340
@sourwitch2340 9 ай бұрын
​@@efai you... don't want to get along with men? (not to mention that Yuki can be a girl's or boy's name) (and that you know neither gender, nor romantic or sexual orientation of the person above) (but it just sounds like you ASSUMED they were a man and ASSUMED they weren't into men) (at least, that wanton homophobia is the only way of reading your comment that mildly makes sense, bc the only instance someone not being compatible with you would be a good thing is if you wouldn't even consider them, so it'd make sense if you knew OP was ace, but you don't and specifying gender wouldn't make sense in that instance. so you must have either assumed OP was a straight guy, a lesbian, or a person who simply doesn't date men. and one of those is a more common assumption than the rest, but any of them is an absurd assumption to make) (your comment just gives off some absolutely baffling energy)
@jsonbourne8122
@jsonbourne8122 7 ай бұрын
​@@sourwitch2340 you don't have to read into it so much. Some guys just prefer women
@gandalfthewhite2373
@gandalfthewhite2373 3 жыл бұрын
Working on my first virtual novel game and I’m dealing with conditions right now so your timing was perfect... Keep up the good work Zeil!
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
😍 wow! Good luck with your first VN game! Thank you for the support 💖
@natashatelesss
@natashatelesss 3 жыл бұрын
THANK YOU SO MUCH DONT EVER STOP DOING THESE TUTORIALS I'M STILL A BEGGINER
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
hahaha Thank you for your support! I have so much more videos to create so I'm not stopping any time soon 💖
@natashatelesss
@natashatelesss 3 жыл бұрын
@@ZeilLearnings your videos are helping soooo much! i'm doing my first visual novel and you're helping me with the scripts a lot.
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
@@natashatelesss Thank you so much! Your kind words motivate me to do better! Good luck on your first VN!
@averagechannelname9969
@averagechannelname9969 2 жыл бұрын
If only getting true love was this easy in real life lmao
@ZeilLearnings
@ZeilLearnings 2 жыл бұрын
🙃 😂
@victoria_zoe1003
@victoria_zoe1003 3 жыл бұрын
I want to create a visual novel for an application to study game design and these tutorials are saving my life
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
awwww~! happy to help! 😊
@kaylareyes818
@kaylareyes818 3 жыл бұрын
Thank you so much for this tutorial!! You broke everything down perfectly. It’s exactly what I needed! :)
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
Glad to help! Thanks for feedback! It helps me get a better idea of how I should make my videos. 💙
@eremika_
@eremika_ 2 жыл бұрын
WOW, this is what I want! I'll watch all your videoes after my school test! Always thanks 👍
@shadowwarriors1000
@shadowwarriors1000 2 жыл бұрын
Thank you so much for making these videoes
@ZeilLearnings
@ZeilLearnings 2 жыл бұрын
My pleasure! 😊
@raseruuu3742
@raseruuu3742 3 жыл бұрын
These are some really good basic stuff for newbies! Keep it up Zeil!
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
Thank you, Raseruuu 💖
@xiaosreversebobwindowuwu6715
@xiaosreversebobwindowuwu6715 3 жыл бұрын
AAA TYSM FOR MAKING THIS!! it really helped me learn a lot! :)
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
I'm happy to help! 💖
@chocosart8451
@chocosart8451 2 жыл бұрын
I just started Penpy a few days ago. Thanks for the tutorial, very helpful!
@mikomiko7418
@mikomiko7418 3 жыл бұрын
thank you so sosoosososo much !!!! your tutorials are easy to follow and so well made !!
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
wow! so much enthusiasm >.< You're welcome! And I'm glad you liked it 💖
@A_Girl_Who_Has_Youtube
@A_Girl_Who_Has_Youtube 5 ай бұрын
Straight up-you make the best renpy tutorial Videos on KZbin. Thank you, you god send hahaha.
@wolfowow
@wolfowow 2 жыл бұрын
thank you this is exactly what I needed!!
@Eevee268
@Eevee268 3 ай бұрын
Your videos have been a saving grace when learning renpy. I seriously appreciate these tutorials so much. They're super easy to understand and helpful :]
@KagamiSeiko
@KagamiSeiko 2 жыл бұрын
I have a feeling that I'll keep rewatching this video over and over again as I code my game lol But srsly, this is really helpful! Thank you for sharing this tutorial! :DD
@riskyadisurya1025
@riskyadisurya1025 2 жыл бұрын
Thank you. This is really helpful for me now
@toyo8460
@toyo8460 10 ай бұрын
Awesome video!
@user-nd2ki5qd5n
@user-nd2ki5qd5n 2 жыл бұрын
tysm❤ this helped me a lot
@Blue-lc5np
@Blue-lc5np 2 жыл бұрын
Thank you sooo muchhh
@GooeyGremlin
@GooeyGremlin 5 ай бұрын
With these tools I will become unstoppable.
@tomoyaokazaki2138
@tomoyaokazaki2138 5 ай бұрын
i really like the flexibility in this code! it's simple, yet effective. I'll need to watch a video on how to display these default numbers such as money, affection points, etc. That way, we won't be forced to guess or have to keep doing the ctrl + d. The affection points displayable would only be shown for me when I'm making the visual novel, but then, I'd want to have it hidden when I'm ready to release it. In this case, you can only see how much money you have in order to be able to afford that ring in the video for example. Thank you for such an amazing video, zeil! 😄
@jamieandreassen6720
@jamieandreassen6720 2 жыл бұрын
I've watched almost all your tutorial videos here and it's been so incredibly helpful in allowing me get a handle on Ren'Py. I want to add a little bit more realism to my character models. I want them to be able to blink and have their lips move while they're talking. I know there's scripts out there already that in theory allow for this to happen. I figured out how to make the characters blink but I am struggling to make their mouths move when they talk. I would be greatly appreciative of a tutorial on how to go about setting that up. :)
@victoria_zoe1003
@victoria_zoe1003 3 жыл бұрын
Will you also make a video about how to change the colors and style? Like of the text "bubbles" ?
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
Great suggestion! I’ll add it to the list. Thank you!
@vidhu3631
@vidhu3631 2 жыл бұрын
Wow this seems great wonder I would be able to hook up word engines for each characters to get more natural responses in each unique in different play through
@saltyghostcrow
@saltyghostcrow 2 жыл бұрын
Hi I really like your tutorials, they've been so helpful! I have a question though. I followed this tutorial but added 2 more endings. I made sure to make the label ending_credits all different by adding a number at the end. It works but let's say after the Bad End text shows, it shows the good end text , and best end text afterwards . How do I fix it so the text only shows one ending and not the rest?
@ZeilLearnings
@ZeilLearnings 2 жыл бұрын
Hi! Glad to hear that! For the issue, I think you missed the "jump ending_credits". Or if you want to just end the game you can put "return".
@saltyghostcrow
@saltyghostcrow 2 жыл бұрын
@@ZeilLearnings ty for the response! Adding return at the end to each label ending_credits helped. Thank you! ^^
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
How was this tutorial? Do you have suggestions for my next topics? I already have a list, but they're all advanced. I want to make sure to cover the basics first before doing them. My current list: facebook.com/ZeilLearnings/posts/120754830123519. 😊 I also have a discord server: discord.gg/QY3hABSgvM The goal is to help each other, find team/members and is totally beginner-friendly!
@evil_in_your_closet
@evil_in_your_closet Жыл бұрын
I loved the tutorial :) It was very clearly explained and everything is easily understandable. While i could understand that some mind consider the pace a bit fast, i personally found it just right for myself!
@jeandalay7630
@jeandalay7630 Жыл бұрын
Hi Zeil, I was wondering if its possible for an image button on a choice menu to do the +=1 thing.
@caydendadinki8281
@caydendadinki8281 11 ай бұрын
Hello, I love watching your videos and you simplify it more than others, I was wondering if you could put a visual indicator like a +1 (characters name)?
@ZeilLearnings
@ZeilLearnings 11 ай бұрын
Hello~ glad to hear that! For your question, you can use call screen: menu: "Sushi": $ yuki_affection += 1 call screen display("+1 Yuki") y "Same!" "Pizza": y "hmmm" Then create a screen: screen display(what): text what timer 1.0 action Return() The text will be displayed for 1.0 second. You can follow my UI tutorial to setup the position~
@victoria_zoe1003
@victoria_zoe1003 3 жыл бұрын
Can I subtract points as well? Like the MC says something mean to the Love Interest and it results in -1 point? I tried to do it with just a "-" instead of an "+" but it doesnt seem to work
@ZeilLearnings
@ZeilLearnings 3 жыл бұрын
Hi! Yes you can also use subtraction. And even division and multiplication. Make sure you’re using ‘-=‘ or the longer version of it: ‘x = x - 1’ www.w3schools.com/python/python_operators.asp (Assignment Operators)
@victoria_zoe1003
@victoria_zoe1003 3 жыл бұрын
@@ZeilLearnings Thank you soo much!!
@splashtheskeleton4292
@splashtheskeleton4292 Жыл бұрын
I want to know if you could use . The plus 1 . And than also use a jump as well. Thank you if you can !
@Vilewulf
@Vilewulf 7 ай бұрын
s there a way to do this with names? i have cosume name is a dif ending.
@aramiren6587
@aramiren6587 2 жыл бұрын
I want to ask, does True/False statement is a must in coding VN in Ren'py? I'm still confused about this one. I thought it was enough with only if/else statement. Sorry, I'm still new to coding. I already read some guides, but still unsure.
@ZeilLearnings
@ZeilLearnings 2 жыл бұрын
Good question! It's not required. I just added it so that it is easier to understand. So `if x==True:` and `if x:` are the same. 😀
@aramiren6587
@aramiren6587 2 жыл бұрын
@@ZeilLearnings Thank you very much!
@MrChaoLupus
@MrChaoLupus 19 күн бұрын
Ima be extra complicated and ask if there is a way I can make flags carry over into a sequel VN, akin to telltale games episodes?
@ONCEUU
@ONCEUU Жыл бұрын
ate zeil pwede po ba ma move ang menu choices sa dialogue box??
@arezalgamer89
@arezalgamer89 2 жыл бұрын
If you want to copy sources instead of writing. The demo: "The Question" Has hald of these codes
@ONCEUU
@ONCEUU Жыл бұрын
HI ate zeil pwede ko po ba gamitin yung ganyan para sa quiz type na questions? need ko pa po ba i define yung word na gagamitin ko sa default for example "score"?
@ZeilLearnings
@ZeilLearnings Жыл бұрын
Hello Ace. Pwede mong gayahin yung video for quiz type na questions. No need to define the words na gagamitin, since i-add mo lang sya sa score pag tama.
@ONCEUU
@ONCEUU Жыл бұрын
@@ZeilLearnings Thank you po, visual novel game kasi pinropose namin for capstone eh, tapod may mga questions na related sa java🤣
@ONCEUU
@ONCEUU Жыл бұрын
@@ZeilLearnings malaking tulong mga tutorial nyo ate !
@Jorscam
@Jorscam Жыл бұрын
I’m making a minigame where you have to choose the correct choice three times in a row and i wanted so that when you choose the wrong one you go back to the first one. Is it possible?
@ZeilLearnings
@ZeilLearnings Жыл бұрын
yes it's possible. Code looks like: If the answer is wrong: Jump to the beginning
@Jorscam
@Jorscam Жыл бұрын
@@ZeilLearnings alright, tysm!
@max-ic9nt
@max-ic9nt 2 жыл бұрын
when i do this my variable viewer says there is "nothing to inspect" what am i missing 😭?
@egg9486
@egg9486 2 жыл бұрын
Imagine marrying somebody cuz you like red
@valeriekohoutova7618
@valeriekohoutova7618 2 жыл бұрын
Does anyone know how to do something like this is unity?
RenPy Tutorial for Beginners | Create a Visual Novel Game with Ren'Py
8:02
La revancha 😱
00:55
Juan De Dios Pantoja 2
Рет қаралды 62 МЛН
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 43 МЛН
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 3,3 МЛН
RenPy Tutorial using Transitions | Applying Transitions in Ren'Py
6:33
Simplified Ren'py Tutorial
12:21
Visual Novel Design
Рет қаралды 116 М.
Renpy GUI Customization | Main Menu in Ren'Py
14:16
Zeil Learnings
Рет қаралды 122 М.
Renpy Tutorial 2024 - Basic HUD + Inventory
20:20
Grewlz
Рет қаралды 1,9 М.
RenPy Tutorial using imagebutton | Point and Click Feature
2:14
Zeil Learnings
Рет қаралды 65 М.
Таймер в RenPy
9:55
Mary Developer
Рет қаралды 2,7 М.
How I would learn to code (if I could start over)
10:52
PIRATE KING
Рет қаралды 1,3 МЛН
La revancha 😱
00:55
Juan De Dios Pantoja 2
Рет қаралды 62 МЛН