Closing, please stop spamming the forum with similar topics or you may be banned.
The normal preview option should already work while offline.
Closing, please do not post the same topic multiple times.
That doesn't answer why you need to do this? The snapshot feature is for taking screenshots, which means taking a copy of what the user can see, which is the canvas as displayed on the screen.
Develop games in your browser. Powerful, performant & highly capable.
I'm not sure what you mean. Objects aren't allowed to draw outside their bounds. That normally doesn't involve cropping, it just means only drawing inside their bounds.
Why? This sounds like an odd thing to do. "Off" mode is basically only designed for use in embedding in a fixed size iframe. Even then, letterbox scale is a better default and generally covers any usage.
IIRC that bug was fixed in a follow-up iOS 11 update, and it's worked fine from iOS 12+ as well.
response.json() is asynchronous, so to get its return value you need to await it. Typical usage:
response.json()
await
const response = await fetch(...); const jsonData = await response.json(); alert(jsonData);
(This is nothing to do with C3 specifically, it's just normal JavaScript)
Take a look at the 'Audio analyser' example.
Sorry, I should've said, it's in the latest beta.
Take a look at the 'Integrating events with script' example.
The Instant Games plugin only works on the Facebook Instant Games platform.
Member since 21 May, 2007
The official blog for all things Construct and Scirra run by our employees!
Wider technology issues from Ashley's perspective.