skewX on Android

#1

Hello, I found recently that skewX & skewY don’t work on Android. https://github.com/facebook/react-native/issues/12212 (it even closed :frowning:)

Does anyone know a work around for this? skewX & skewY and very very important for isometric games.

#2

no workaround that i know of except use opengl: https://docs.expo.io/versions/v27.0.0/sdk/gl-view

eg: https://github.com/EvanBacon/Expo-Crossy-Road

check out other stuff on @bacon’s github as well: https://github.com/EvanBacon
and his talk about games with expo: https://www.youtube.com/watch?v=oHBGhHlVOI0

1 Like
#3

I have been summoned ㊭
Check this out: Isometric Games in Expo

I can share the source if you need??


Edit:

Look you made it in the readme :blue_heart:No android support for phaser cuz ImageStore from RN doesn’t support base64 -> localUri (-> EXGL) but maybe you could help me bug people about it / find a lib that does it and I can implement in Expo.
Source Code: https://github.com/EvanBacon/expo-phaser-isometric/tree/master

#4

Hi there, for my particular case the things I needed to skew were solid colored shapes, so I ended up just drawing isometric shapes with ReactNativeSVG’s Polygon. But trying to sync the positions with views above the SVG has been particular cumbersome, but I’ve managed. Having a fix for this problem on Android would greatly reduce my workarounds and probably improved performance because as of now on my GalaxyS7 i get 7FPS :(, but every iOS device is 60.

#5

You may have to open a PR for React Native to get this moving. :frowning: Lot’s of other things android is missing that my be prioritized over skew, overflow: visible for instance would be great.

1 Like
closed #6

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.