Kevin Purcell

Results 11 comments of Kevin Purcell

I assume that a FlxCamera's pixels represent the state of the camera's view before any transforms are applied for camera zoom, etc. Do I perhaps need to apply a matrix...

As an aside, compiling the above code to Flash produces the following output: ![2018-04-28 13_43_31-adobe flash player 29](https://user-images.githubusercontent.com/1177813/39396663-451f91c2-4aea-11e8-9232-fd7d05fe35c0.png) I don't actually use the Flash target in my main project, but...

So I've got this _sort of_ working on cpp targets, using a transform matrix built using public properties of the camera: ``` override public function update(elapsed:Float):Void { super.update(elapsed); cameraCopySprite.fill(0); var...

So this works. I have no idea why though. 😁 ``` override public function update(elapsed:Float):Void { super.update(elapsed); cameraCopySprite.fill(0); cameraCopySprite.pixels.draw(cameraOriginal.canvas); cameraCopySprite.fill(0); var transformMatrix = new Matrix(); transformMatrix.translate(-(0.5 * cameraOriginal.width * (cameraOriginal.scaleX...

What's the status on this? Did @malublu ever share his WIP? I can't see any branches on his fork of Kore which would tie up with the description above.

@juakob: I did see those were available, but how would you actually get g2 to use the mipmaps it generates?

This works fine on the HTML5 target, but not on the Windows target. ![mipmaps](https://user-images.githubusercontent.com/1177813/42133853-9df91316-7d28-11e8-8717-89b9cf9e6200.png) Here I'm using `generateMipmaps()` on the tile's image, the original size being 4x larger than the...

I could just generate my own mipmaps, progressively using `drawScaledImage()` with a scale of 50% each time, then select the right image to use at runtime, but this would probably...

It's also worth noting that setting `mipmapScaleQuality` to `High` on Android results in black rectangles wherever images are drawn.