Hi guys, I have this question. Can I use a variable to change the game resolution?
If someone is developing websites, then you should know about media queries, which can be used to adjust the site to different screen resolutions. I want to try to do something like this with a game for smartphones.
Search found 10 matches
- Thu Dec 10, 2020 3:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: Different graphics resolution for different mobile screen resolutions
- Replies: 1
- Views: 475
- Thu Aug 27, 2020 3:15 am
- Forum: Ren'Py Questions and Announcements
- Topic: Forced landscape mode while watching video?
- Replies: 2
- Views: 314
Re: Forced landscape mode while watching video?
If you aren't allowing the screen to rotate (as you probably shouldn't), all you need to do is record your video in the correct orientation. The point is that the main game is in portrait. And I didn't manage to make the video is portrait. Therefore, the video had to be made in the usual landscape....
- Wed Aug 26, 2020 4:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: Forced landscape mode while watching video?
- Replies: 2
- Views: 314
Forced landscape mode while watching video?
Hi guys! Please tell me if you can force (while the video is playing) on your smartphone to make landscape mode?
I launch the video via
I launch the video via
Code: Select all
renpy.movie_cutscene
- Thu Jul 30, 2020 4:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Interstitial Ads in the game and its automatic appearance after a certain time
- Replies: 2
- Views: 324
Re: Interstitial Ads in the game and its automatic appearance after a certain time
Is it possible to make ads appear directly from the renpy code? For example, to have ads after each chapter?
- Thu Jul 30, 2020 4:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Interstitial Ads in the game and its automatic appearance after a certain time
- Replies: 2
- Views: 324
Re: Interstitial Ads in the game and its automatic appearance after a certain time
Won!) If anyone is interested, here is the code that needs to be placed in the onCreate method. mInterstitial = new InterstitialAd(this); mInterstitial.setAdUnitId("ca-app-pub-3940256099942544/1033173712(test ad)"); AdRequest adRequest = new AdRequest.Builder().build(); mInterstitial.loadA...
- Wed Jul 29, 2020 8:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: Interstitial Ads in the game and its automatic appearance after a certain time
- Replies: 2
- Views: 324
Interstitial Ads in the game and its automatic appearance after a certain time
Hi! I apologize for repeating the question, but I am stupid and could not do it myself (((and in the topic with the lesson on adding ads, no one answered me( I need your help. I do not understand Java at all, so I'm sorry if the questions are stupid, but I made the game and it only remains to implem...
- Mon Jul 27, 2020 9:44 am
- Forum: Ren'Py Cookbook
- Topic: [UPDATED] tutorial: Attaching Admob to RenPy
- Replies: 46
- Views: 33828
Re: [UPDATED] tutorial: Attaching Admob to RenPy
Hi guys! I need your help. I do not understand Java at all, so I'm sorry if the questions are stupid, but I made the game and it only remains to implement advertising. Normal advertising as in this guide is not a problem, but it does not suit me because it can not be closed. 1. How do I embed "...
- Tue Jul 07, 2020 3:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Black bars when scaling an Android game
- Replies: 5
- Views: 462
Re: Black bars when scaling an Android game
The issue as far as I'm aware of it is that renpy scales to your screen resolution without adjusting the aspect ratio. Recently (the last few years), a lot of high-end phones, particularly iPhone and Samsung models, have begun using non-standard aspect ratio screens (18.5:9, 19:9, even 20:9) I'm no...
- Tue Jul 07, 2020 3:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: Black bars when scaling an Android game
- Replies: 5
- Views: 462
Re: Black bars when scaling an Android game
Hi, It's one of the biggest problem of renpy (for me). But actually there are no possibilities to kick off those bars. I know that Imperf3kt is working on this problem. More here => https://lemmasoft.renai.us/forums/viewtopic.php?f=52&t=56021&start=15 Or maybe we should spam Pytom to solve ...
- Mon Jul 06, 2020 5:44 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Black bars when scaling an Android game
- Replies: 5
- Views: 462
Black bars when scaling an Android game
Hi! I’m almost ready to put the game in google play, but there was one problem. The engine adjusts the game to different screen resolutions, and so that the picture does not stretch, he retains proportions, and the empty space fills with black. Is it possible to change this black color? Screenshot: ...