as the title says: is it possible?
and by preloader image i mean both android's "android-presplash.jpg" and pc's "presplash.png" in game folder
possible to have multiple/random preloader image?
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.
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.
Re: possible to have multiple/random preloader image?
Please clarify:hoonsubin wrote:as the title says: is it possible?
and by preloader image i mean both android's "android-presplash.jpg" and pc's "presplash.png" in game folder
Are you asking how to get the game to pick a splash image at random?
Or are you asking if a desktop splash image will conflict with a mobile presplash image?
Re: possible to have multiple/random preloader image?
People been misunderstanding each others question all dayShakezula wrote:Please clarify:
Are you asking how to get the game to pick a splash image at random?
Or are you asking if a desktop splash image will conflict with a mobile presplash image?
He's is (very) clearly asking if it is possible to draw random from a pool of presplash images instead of having just the one file... as far as I know there is no such option in place, not without modifying core code.
Re: possible to have multiple/random preloader image?
geez how passive agressive.
Last edited by Shakezula on Thu Mar 10, 2016 3:37 pm, edited 1 time in total.
Re: possible to have multiple/random preloader image?
Thanks for the replay. I guess trying to touch the system preloading(presplash) image code was just going too deep for renpy.xela wrote:People been misunderstanding each others question all dayShakezula wrote:Please clarify:
Are you asking how to get the game to pick a splash image at random?
Or are you asking if a desktop splash image will conflict with a mobile presplash image?
He's is (very) clearly asking if it is possible to draw random from a pool of presplash images instead of having just the one file... as far as I know there is no such option in place, not without modifying core code.
and thank you too Shakezula for replying
Re: possible to have multiple/random preloader image?
"Too deep" is an exaggeration... as I've said, it's just resolving the path using standard tools, I guess it's just one of those things that you'll have to edit few lines of the engine before you release your game for. I recall the whole presplash thing taking just the one file (although I haven't read the new code after the last rewrite).hoonsubin wrote:Thanks for the replay. I guess trying to touch the system preloading(presplash) image code was just going too deep for renpy.g
There is also a (very) good chance (by your own admission) that you haven't been around for long enough to know the difference between presplash and spash images in Ren'Py and yet feel comfortable on giving advice on the issue...Shakezula wrote:geez how passive agressive.
there's (very) clearly an option in place for the pc splash using renpy.random.randint(A, B).
Splash is the image that loads before the main screen but after the Ren'Py engine is loaded. PreSplash is (or at the very least was until very recently) loaded before most of the Ren'Py is loaded and is using just the SDL/pygame to load itself.
I doubt that init is ran before prespash (this would work with splash).Shakezula wrote:Code: Select all
init python: splash_index = renpy.random.randint(1, 100)
They are the same module... Ren'Py just uses normal Python's random to participate in Rollbacks. There should be no difference as you suggest between the two.Shakezula wrote:renpy code doesn't need the last integer to be one more than the maximum, unlike in python.
Screen language is not in play during presplash either, at least it wasn't before the rewrite. (again, this would work for splash)Shakezula wrote:Code: Select all
## SPLASH SCREEN screen splash(**kwargs): timer 2.0 action Return() add ('splash' + splash_index + '.png')
This might be a good advice, I never messed with Ren'Py + Droid before but it feels like something that could be more complex than the usual routines.Shakezula wrote:As for mobile, thats built into the package by rapt, so you'll probably need to look into android's sdk.
==>
I don't mean to be impolite or offensive (apologies in advance if it comes out that way) but when trying to correct someone with three and a half years of experience on these forums on you, you could at least look into the topic a little better.
Who is online
Users browsing this forum: Bing [Bot], GetOutOfMyLab, Google [Bot]