We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reproduce:
/// <reference path="../../../../dist/Excalibur.d.ts"/> var game = new ex.Engine(800, 503, "game"); var padTexture = new ex.Texture("gamepad.png"); game.start(new ex.Loader([padTexture])).then(start); function start() { // Load gamepad sprite // BUG: Can't use padTexture.width/padTexture.height var padSprite = new ex.Sprite(padTexture, 0, 0, 800, 503); // Enable Gamepad support game.input.gamepads.enabled = true; // Draw gamepad var gamepad = new ex.Actor(0, 0, padSprite.width, padSprite.height); gamepad.addDrawing("bg", padSprite); game.add(gamepad); }
The text was updated successfully, but these errors were encountered:
ffdae12
No branches or pull requests
Reproduce:
The text was updated successfully, but these errors were encountered: