Search found 285 matches

by sapiboonggames
Thu Jul 02, 2020 12:35 pm
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 11
Views: 952

Re: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

ijffdrie wrote:
Wed Jul 01, 2020 3:58 am
Spacebar was picked as the interaction key.

Though now that I say that, I should probably make that configurable.
Oops, I feel so silly now :oops:
Anyway, good job on this so far! Can't wait for the finished version!
by sapiboonggames
Tue Jun 30, 2020 4:33 pm
Forum: Ren'Py Cookbook
Topic: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py
Replies: 11
Views: 952

Re: Pink Engine: A framework for using Tiled-created orthogonal maps in Ren'py

Thanks a lot for making this!
One question though, for some reason I can't "interact" with any of the door in the corridor :(
(I tried pressing ENTER / Z and a bunch of other keys and can't trigger the event)
by sapiboonggames
Mon Jun 29, 2020 6:00 am
Forum: Ren'Py Questions and Announcements
Topic: How to modify screens keyboard focus behaviour?
Replies: 0
Views: 113

How to modify screens keyboard focus behaviour?

Hello there, I'm back with another question. Please bear with me :D I'm making a turn-based RPG battle and the system itself works fine, however, the keyboard focus is a bit of a mess. The battle commands are inside a vbox, which are: "Skills", "Guard", "Items", and "Escape". When arrow_down keyboar...
by sapiboonggames
Wed Jun 24, 2020 12:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Smoother movement transition for custom displayable / UDD
Replies: 3
Views: 333

Re: Smoother movement transition for custom displayable / UDD

Well, first I’m not sure why you’re creating the Transform, since all you use from it is it’s position, which you pass into it. Probably not a big deal, bun unnecessary processing. Second, and more important, your “event” and “render” methods are going to get called at irregular intervals, but you’...
by sapiboonggames
Tue Jun 23, 2020 1:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Smoother movement transition for custom displayable / UDD
Replies: 3
Views: 333

Smoother movement transition for custom displayable / UDD

Hello everyone! :mrgreen: I want to implement a real-time movement where player moves towards mouse position. I managed to accomplish it via screens, but it got a bit laggy (sometimes player image doesn't respond to mouse click :() Anyway, I stumbled upon UDD and it seems like a better way for deali...
by sapiboonggames
Fri Apr 24, 2020 2:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem saving after using im.load_surface
Replies: 2
Views: 149

Re: Problem saving after using im.load_surface

Thank you very much for the help!
by sapiboonggames
Fri Apr 24, 2020 7:17 am
Forum: Ren'Py Questions and Announcements
Topic: Problem saving after using im.load_surface
Replies: 2
Views: 149

Problem saving after using im.load_surface

Hello there. I encountered a saving error when I tried using "im.load_surface" function. The code itself: $ floor=im.load_surface("map/beach_colormap.png") The traceback error occurred whenever I tried to save the game: While running game code: File "renpy/common/00gamemenu.rpy", line 173, in script...
by sapiboonggames
Tue Apr 25, 2017 12:45 am
Forum: Ren'Py Questions and Announcements
Topic: Can't build distributions (project launches normally)
Replies: 5
Views: 708

Re: Can't build distributions (project launches normally)

Can you try to set this one: renpy.not_infinite_loop(delay) Resets the infinite loop detection timer to delay seconds. Ren'Py Documentation: renpy.not_infinite_loop Where should I put that command, if I may ask? Since the line detected as loop is part of an init (just declaring that initial value o...
by sapiboonggames
Mon Apr 24, 2017 11:14 am
Forum: Ren'Py Questions and Announcements
Topic: Can't build distributions (project launches normally)
Replies: 5
Views: 708

Re: Can't build distributions (project launches normally)

I don't know if this will work but there's no need for that to be in an init block. At the top of your script, just make it say (outside of an init): define shelf2bought = False Does that help? It doesn't seem to help, unfortunately :/ I even tried removing that entire line but I still can't build ...
by sapiboonggames
Mon Apr 24, 2017 6:52 am
Forum: Ren'Py Questions and Announcements
Topic: Can't build distributions (project launches normally)
Replies: 5
Views: 708

Can't build distributions (project launches normally)

Hi guys, I'm back with another question (or trouble, actually). I've finished up my demo and used the build distributions command. However, the process fails with the reason that I have to ensure the project runs normally. The thing is, the project does launch normally. I can play it just fine :( I ...
by sapiboonggames
Sun Apr 23, 2017 3:39 am
Forum: Ren'Py Questions and Announcements
Topic: How to show thousands separator for variable?
Replies: 7
Views: 619

Re: How to show thousands separator for variable?

The obvious way: transform number to string, insert separator as needed and print that string instead of raw number. You can easily do that using format: $ money_string = '{:,}'.format(money) Correct way would be to define your class to hold money, with proper methods to add and substract money wit...
by sapiboonggames
Sun Apr 23, 2017 2:51 am
Forum: Ren'Py Questions and Announcements
Topic: How to show thousands separator for variable?
Replies: 7
Views: 619

How to show thousands separator for variable?

Hello guys, I'm back with another question :D
As the subject says, do you know how to show thousands separator for variable?
Let's say:

Code: Select all

$ money += 10000
Right now, if I show money by using [money], it's displayed as "10000", is there any way to display it as "10,000" or "10.000"?

Thanks! :D
by sapiboonggames
Thu Feb 16, 2017 2:12 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Display in-game time instead of actual time in save
Replies: 3
Views: 358

Re: Display in-game time instead of actual time in save scre

philat wrote:Not exactly what you're looking for, but probably close enough to give you an idea of how to go about it. viewtopic.php?f=8&t=30905
EDIT: Nevermind. I got it to work after trial and error, the code in the thread you mentioned works!
by sapiboonggames
Thu Feb 16, 2017 12:52 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Display in-game time instead of actual time in save
Replies: 3
Views: 358

Re: Display in-game time instead of actual time in save scre

philat wrote:Not exactly what you're looking for, but probably close enough to give you an idea of how to go about it. viewtopic.php?f=8&t=30905
Thanks! I'll take a look :D
by sapiboonggames
Thu Feb 16, 2017 12:26 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Display in-game time instead of actual time in save
Replies: 3
Views: 358

[SOLVED] Display in-game time instead of actual time in save

Hello guys, I'm making a dating sim in which the game has variables that keep track of the date, month, and weekname (Monday, Tuesday, etc). Previously, I use this code below: text FileTime(number, empty=_("???")) This record the time player save game and display it in save screen. My question is, h...