Search found 38 matches

by Alem
Sat Jan 29, 2022 3:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Question about syncing up two animated sequences
Replies: 10
Views: 1274

Re: Question about syncing up two animated sequences

The other issue is that now I need to click repeatedly to advance the text and begin syncing process while the first animation plays. Commenting my line out brings the responsiveness back to a single click. Am I doing this wrong too or the code is simply not geared towards additional effects like d...
by Alem
Sun Jan 23, 2022 5:46 am
Forum: Ren'Py Questions and Announcements
Topic: Question about syncing up two animated sequences
Replies: 10
Views: 1274

Re: Question about syncing up two animated sequences

That's why I want to start the "stormy" animation in the zero frame position. Hi Alem, I couldn't get the idea (of synchronizing) out of my head and since I found a little time today, I tried it this way. + pro - it is not necessary to define images, because we only have to change a few v...
by Alem
Sat Jan 22, 2022 3:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Question about syncing up two animated sequences
Replies: 10
Views: 1274

Re: Question about syncing up two animated sequences

That's why I want to start the "stormy" animation in the zero frame position. Hi Alem, I couldn't get the idea (of synchronizing) out of my head and since I found a little time today, I tried it this way. + pro - it is not necessary to define images, because we only have to change a few v...
by Alem
Mon Jan 17, 2022 9:29 am
Forum: Ren'Py Questions and Announcements
Topic: Question about syncing up two animated sequences
Replies: 10
Views: 1274

Re: Question about syncing up two animated sequences

You can use animation statement there. Thanks for the idea and the image tag advice! Sadly, I tested it out and the visual jerk is still there. As I understand it from the manual's example, this helps with switching images before moving the image. My animated sequence remains stationary between bot...
by Alem
Mon Jan 17, 2022 8:31 am
Forum: Ren'Py Questions and Announcements
Topic: Question about syncing up two animated sequences
Replies: 10
Views: 1274

Question about syncing up two animated sequences

Hello! I have a question about synching two animated sprites. The idea is to wait for the first animated sequence to end properly, signal that it reached the ending somehow, and trigger the second part of it. To help visualize it, think of a palm tree under a light breeze on the first animated seque...
by Alem
Sat Aug 19, 2017 12:19 pm
Forum: Ren'Py Questions and Announcements
Topic: import math
Replies: 3
Views: 1175

Re: import math

I think math is in the package from the start, try:

Code: Select all

init -1 python:
    import math
And then something that you want to test out in the main script.
by Alem
Sat Aug 19, 2017 6:09 am
Forum: Ren'Py Questions and Announcements
Topic: Code questions. Renpy crash with TypeError: 'NoneType' object and strange button code behaviour
Replies: 5
Views: 1604

Re: Code questions. Renpy crash with TypeError: 'NoneType' object and strange button code behaviour

Your 'fleet.deal_damage' function has no return, so basically returns None... When Ren'py does Function(fleet.deal_damage(arg)) it calls that first parameter (which is effectively the return value of the function), so effectively tries to call type(None).__call__() hence the error "TypeError: ...
by Alem
Fri Aug 18, 2017 4:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Code questions. Renpy crash with TypeError: 'NoneType' object and strange button code behaviour
Replies: 5
Views: 1604

Re: Code questions. Renpy crash with TypeError: 'NoneType' object and strange button code behaviour

Thanks, Remix. Worked like a charm after your fix. Strangely enough, another screen used the same incorrect input for Function() with parenthesis and gave the results regardless.
by Alem
Fri Aug 18, 2017 2:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Code questions. Renpy crash with TypeError: 'NoneType' object and strange button code behaviour
Replies: 5
Views: 1604

Re: Code questions. Renpy crash with TypeError: 'NoneType' object and strange button code behaviour

I guess the code may help :/ init -1 python: import renpy.store as store import renpy.exports as renpy import random import time targets = [] target = None stopbattle = 0 class Fleet(store.object): def __init__(self,speed="Fast"): self.items = [] self.speed = speed def add(self, item): # a...
by Alem
Thu Aug 17, 2017 1:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Code questions. Renpy crash with TypeError: 'NoneType' object and strange button code behaviour
Replies: 5
Views: 1604

Code questions. Renpy crash with TypeError: 'NoneType' object and strange button code behaviour

Greetings! I'm tinkering around VN/Management hybrid idea with some group-based combat based on this tutorial. So far the prototype progresses nicely with few exceptions, which I hoped to clear up with community's help. I don't think posting all the code here is wise - it'll be a huge blob of text, ...
by Alem
Sun Aug 13, 2017 2:20 pm
Forum: Completed Games
Topic: Genie, Western Suspense VN [Traditional Art][Pseudo-Victorian][Black & White][Short]
Replies: 2
Views: 1658

Genie, Western Suspense VN [Traditional Art][Pseudo-Victorian][Black & White][Short]

Whew, X3 Brothers first project Genie is ready and available via Steam and itch.io You will experience the story through the eyes of Jack Mason, the young detective in a small town near the N sea. Facing hardships of being among the shunned color blind minority - the Squints, he tries his best to fo...
by Alem
Sat Aug 12, 2017 4:16 am
Forum: Ren'Py Questions and Announcements
Topic: Code question: sorting through a list doesn't work after appending a new item to it
Replies: 4
Views: 1154

Re: Code question: sorting through a list doesn't work after appending a new item to it

Is your indentation right, here (in inventory_screen)? The item-drawing loop is nested in the same if-statement as your check for the inventory page, so it'll only draw if it's on the last page (from what I'm seeing). Does it fix it if you un-indent the whole for-loop block? Bullseye. Thank you :)
by Alem
Fri Aug 11, 2017 1:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Code question: sorting through a list doesn't work after appending a new item to it
Replies: 4
Views: 1154

Code question: sorting through a list doesn't work after appending a new item to it

I'm still pretty new to python and my problem may be a misunderstanding on my part. So, I wanted to check out Renpy's inventory templates and stopped on this one. Tinkered with it for a bit and decided to add some features for later use, namely filtering the inventory for a specific item type. It wo...
by Alem
Tue Aug 01, 2017 2:11 pm
Forum: Works in Progress
Topic: Genie [Suspense][Pseudo-Victorian][Black & White][Demo]
Replies: 9
Views: 1987

Re: Genie [Suspense][Pseudo-Victorian][Black & White][Demo]

That's it, the job's done and Genie is up at the Steam :)

Image Image Image