Asset - Extension GMSWebView Game Maker Studio Android Extension

RizbIT

Member
ok make a new project import gmswebview
set internet persmission
target sdk 25,min sdk 11, compile sdk 25
build tools 25.0.2
support lib 23.2.1

did you call WebView_Init(0); in game start before any other function call?

I just download the new gmsversion into new project, and imported ALL the resources for the demo. ran it on android phone and seems to work fine.

so we need to look at you gms setup

let me know your progress
 
A

alexsaa

Guest
I think it worked, it's interfering with another extension, anyway thanks
 
A

alexsaa

Guest
I have a problem, can you help me?
When I enter the room, everything works fine, but if I go back inside, when I want to go back, it hangs up :'v

 
Last edited by a moderator:

RizbIT

Member
yeah i dont understand what you are trying to do.

you are using gmswebview?

you are opening a fullscreen webview in your app then closing it?

please outline the steps you are taking and the functions you are using.

If you look at the demo included, there are several rooms, in each room a webview is created or resized and then a url loaded. so it is possible to have a webview and go to different rooms. note the webview will still be open so before you exit and room hide or destroy the webview
 
A

alexsaa

Guest
oh genial thx. I will try if the problem continues, do I have to download the new version?
 

RizbIT

Member
New Functions v3.0

WebView_SetInitialScale(scale)
Set as 0 for default scales or a value greater than 0 as a percentage. This sets the initial scale/zoom of the website in webview. It must be set AFTER WebView_Init() and BEFORE WebView_Create()


WebView_Zoom(amount)
Eenter a value from 0.01 to 100 to zoom in / out by that amount


WebView_ZoomIn()
zoom the webview in


WebView_ZoomOut()
zoom the webview out
 
Top