Comments (1)
What devices are you trying this on? Are you expecting the size of the window to change?
Take a look into this if you can and tell me if this allows you to achieve what you're looking for:
NME: nme.Lib.stage.resize( WIDTH, HEIGHT );
I'm not sure about openFL. It seems that if Lime is in the target then the OpenFL window class inherits from the Lime window. So when you get the current window you can do something like this
#if lime
window.resize( ... );
#end
You can find more about the window resizing with openfl and lime here . . .
resize function in lime: https://github.com/openfl/lime/blob/develop/src/lime/ui/Window.hx#L420
openfl window class: https://github.com/openfl/openfl/blob/develop/src/openfl/display/Window.hx
from haxepunk.
Related Issues (20)
- Cannot use GitHub branch to create projects on Windows HOT 5
- Missing flipX and flipY in graphics.Spritemap HOT 4
- mouseWheelDelta can only be read once per frame
- Fail to run on new OpenFL HOT 4
- Camera doesn't follow entity after calling camera.anchor HOT 8
- TiledImage doesn't scale properly
- Type not found : lime.graphics.GLRenderContext HOT 4
- Collision with Grid and Hitbox is off by a pixel when the Hitbox's entity has non-integer x and y values. HOT 1
- Entity.setHitbox and Entity.mask are different
- CONTRIBUTING.MD needs to be updated
- HTML5 rendering issue HOT 5
- Type not found : flash.display.OpenGLView HOT 9
- Rapid inputs consistently crash Android build HOT 3
- Getting started build fails HOT 4
- Document: Memoize entity list allocation
- Broken Build on Latest OpenFL HOT 1
- Type not found : openfl._internal.renderer.context3D.Context3DRenderer HOT 1
- Does the current dev version of HaxePunk work with Haxe 4.x? HOT 4
- haxepunk.com domain expired HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haxepunk.