Search found 129 matches

by nanashine
Wed Jul 10, 2019 8:38 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Not enough coins. Money system?
Replies: 2
Views: 354

Re: Not enough coins. Money system?

I made the carrots cost more than the money you have. You have 2 coins, the carrots cost 3. So when you click to buy it, your coins will show as "-1 coins". How can I make the game say "You don't have enough coins to buy it", instead of getting the "-1 coins"? Thanks. This is one way menu: "Carrots...
by nanashine
Tue Jul 09, 2019 6:16 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Not enough coins. Money system?
Replies: 2
Views: 354

[Solved] Not enough coins. Money system?

I was taking a look at this tutorial: https://www.renpy.org/wiki/renpy/doc/cookbook/Inventory_and_Money_System And tried making a simple store code, just to test it. default carrots = 10 default coins = 2 screen yourcoins: text "{color=#ffff00}[coins]{/color}" size 35 xpos 130 ypos 90 screen supplie...
by nanashine
Mon Jul 08, 2019 6:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] "If statement" + adding imagebutton to a screen?
Replies: 2
Views: 353

Re: "If statement" + adding imagebutton to a screen?

You can use "if" inside a screen. With a boolean variable it should be easy: default has_phone = False screen somescreen(): vbox: textbutton "Some button" action NullAction() if has_phone: # <-- You can use "if" here. textbutton "Phone" action NullAction() label start: show screen somescreen menu: ...
by nanashine
Mon Jul 08, 2019 4:37 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] "If statement" + adding imagebutton to a screen?
Replies: 2
Views: 353

[Solved] "If statement" + adding imagebutton to a screen?

In my game you can buy a cellphone or not. If you don't buy the cellphone, nothing will show up. If you buy it, it would show somewhere in your screen. And since it's usable, it would probably be an imagebutton. Like: https://i.imgur.com/OOfewHp.png The problem is, what would the best way to do it? ...
by nanashine
Mon Jul 08, 2019 3:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Draggable area limit?
Replies: 2
Views: 149

Re: Draggable area limit?

Kia wrote:
Mon Jul 08, 2019 10:31 am
you can put the drag inside a frame to limit it to the area of that frame. any parent with defined size will be the area that the drag can move inside, right now it's parented to the screen.
Thank you so much! I'll try it :)
by nanashine
Mon Jul 08, 2019 3:55 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Daily points and/or chapters?
Replies: 2
Views: 499

Re: Daily points and/or chapters?

Not to sound offensive but if you know ppl can cheat and bypass that feature of your game... Wouldn't that make it Not useful at all? Although I do have ve seen it on mobile phones, but Idk what would be the mechanic to do it on Renpy :c For Chapters, I'm sure you have to use Persistent . Thank you...
by nanashine
Tue Jul 02, 2019 8:32 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Daily points and/or chapters?
Replies: 2
Views: 499

[Solved] Daily points and/or chapters?

I know the person could cheat by changing the time of their device, etc. But is it possible to do this with Renpy? I wanted to separe my game in daily chapters. For example, today is July 2nd. The game would "understand" it's the first day of the game. After midnight, when it's July 3rd, a new chapt...
by nanashine
Fri Jun 28, 2019 2:43 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Default image not found?
Replies: 7
Views: 465

Re: Default image not found?

Thank you so much for the help, guys :)
by nanashine
Fri Jun 28, 2019 8:43 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Default image not found?
Replies: 7
Views: 465

Re: Default image not found?

Thank you so much guys! Now I got another problem: default bedroomgame= "bedroom1" screen lateralmenu: imagebutton auto "n1_%s.png" pos(620,430) action SetVariable('television', 'tv1') imagebutton auto "n2_%s.png" pos(620,510) action SetVariable('television', 'tv2') imagebutton auto "n3_%s.png" pos(...
by nanashine
Thu Jun 27, 2019 8:35 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Default image not found?
Replies: 7
Views: 465

Re: Default image not found?

Hello! Those are the images: image tv1: "t1.png" 0.1 "t2.png" 0.1 "t3.png" 0.1 repeat image tv2: "t4.png" 0.1 "t5.png" 0.1 "t6.png" 0.1 repeat image tv3: "t7.png" 0.1 "t8.png" 0.1 "t9.png" 0.1 repeat default television= "tv1" default bedroomgame= "bedroom1" The screens: screen lateralmenu: imagebutt...
by nanashine
Thu Jun 27, 2019 6:03 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Default image not found?
Replies: 7
Views: 465

[Solved] Default image not found?

I'm using a default image. default televison= "tv1" This "tv1" is an animated image. But there's nothing wrong with it, it's defined correctly. The problem is that whenever I use "show televison" or "show image television". It says "Image televison not found". As if Renpy wasn't recognizing: default...
by nanashine
Thu Jun 27, 2019 3:55 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Problem with Main Menu and imagebutton?
Replies: 2
Views: 394

Re: Problem with Main Menu and imagebutton?

Alex wrote:
Thu Jun 27, 2019 3:26 pm
Try

Code: Select all

action Start("readcredits")
instead of

Code: Select all

action Jump("readcredits")
https://www.renpy.org/doc/html/screen_a ... html#Start

And add the return to the end of readcredits label

Code: Select all

label readcredits:
    # code code code
    return
It worked! Thank you so much! :)
by nanashine
Thu Jun 27, 2019 2:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Problem with Main Menu and imagebutton?
Replies: 2
Views: 394

[Solved] Problem with Main Menu and imagebutton?

I made a custom main menu for my game: screen navigation(): add "sparkles" pos (0,0) if main_menu: imagebutton auto "buttons/starting_%s.png" pos(18,540) action Start() imagebutton auto "buttons/credits_%s.png" pos(18,650) action Jump("readcredits") imagebutton auto "buttons/renpy_%s.png" pos(18,760...
by nanashine
Mon May 27, 2019 1:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Skip button not fully working?
Replies: 2
Views: 472

Re: Skip button not fully working?

Skip only skips read text. Are you sure it isn't stopping at unread text? I'm not sure. Since it's a message system, and not a "normal text". It skips the messages till a certain point, and then stops. Weird hah Maybe if I change the skip code to always allow skipping it would get fixed. I don't kn...