4K sprites

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
trajano
Regular
Posts: 60
Joined: Sun Jun 16, 2019 7:59 pm
Github: trajano
Contact:

4K sprites

#1 Post by trajano » Tue Jun 25, 2019 10:48 am

I am trying to see what the limits are of Ren'Py. Has anyone tried to use 4K (960x2160) webm animated sprites? I can do with one or two but seems to die after the third one.

It does not even throw a traceback which is odd because other times it will give a traceback file.

The concept I am trying to do is just have a single full body sprite that I zoom/crop as I need it but have a "breathing" and "blinking" movement. The performance isn't that great but I expected that. What I didn't really expect was the crash without the traceback.txt

trajano
Regular
Posts: 60
Joined: Sun Jun 16, 2019 7:59 pm
Github: trajano
Contact:

Re: 4K sprites

#2 Post by trajano » Tue Jun 25, 2019 11:32 pm


trajano
Regular
Posts: 60
Joined: Sun Jun 16, 2019 7:59 pm
Github: trajano
Contact:

Re: 4K sprites

#3 Post by trajano » Tue Jun 25, 2019 11:36 pm

Seems like Ren'py is 32-bit app so it won't matter how large your PC is, it will limit itself to 2GB of RAM. I don't know if it makes sense for Ren'py to be 64-bit anyway, considering the target devices I am guessing would be smaller tablets or non-gaming PCs. However, that does alter your design decisions when developing on Ren'py.

trajano
Regular
Posts: 60
Joined: Sun Jun 16, 2019 7:59 pm
Github: trajano
Contact:

Re: 4K sprites

#4 Post by trajano » Tue Jun 25, 2019 11:37 pm

Anyway I don't think Ren'py should switch to 64-bit unless there's a way of detecting oversize otherwise there'd be many bugs filed because the game architecture wasn't optimized for memory utilization.

Plus the DLLs need to have 64-bit equivalents too.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], minyan