TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Get device height?
Pages:
1
Get device height?
TF101
Posts: 84
May 19, 2020, 11:20:47 am
Hi,
Excuse me for asking so many questions. I am a absolute beginner with Stencyl.
I am coming to Stencyl from the MIT App Inventor.
Is it in Stencyl possible to get the height of the user device?
And after that to adapt the screen (or Level) heigth to the height of the device?
I searched some tutorials but found nothing useful.
See picture:
Or is that not possible at all?
Thomas
yoplalala
Posts: 1632
May 19, 2020, 11:28:04 am
Stencyl will automatically adapt the game to the screen
http://www.stencyl.com/help/view/mobile-app-scaling/
It is possible to find the screen height by code, but quite useless
If you really want it, I'll look for it .
corbanwolf
Posts: 223
May 19, 2020, 11:34:11 am
In block search just type screen, and you will find a block with screen size either height and width. And as @yoplalala said, it's good to use scalling mode so it will fit any screen automatically
♪♪♪♪♪♪
TF101
Posts: 84
May 19, 2020, 11:44:33 am
Thank you for the answers. I think I have to get a little more familiar with the program
The picture i attachted, is Scale to fit (Full screen)
« Last Edit: May 19, 2020, 11:54:27 am by TF101 »
Pages:
1