-
Notifications
You must be signed in to change notification settings - Fork 313
Example for React Native? #4
Comments
I'll push a repo later today |
Is the syntax the same for React Native as for DOM/Canvas? |
@mraak it is. you just import from react-game-kit/native |
the only difference is it uses View instead of div. And some css-layout tweaks for styling. |
interesting |
any news ? @kenwheeler |
@kenwheeler, very keen to see a react native example. If I could be cheeky, a simply platform game implementation would be beautiful! |
Anyone got Sprite animation working on React Native using this library? 🤔 🆘 |
@Eyesonly88 I have, but i guess its late lol |
I have simple react game over react-game-kit. i need to display this game in my siteground hosting server. |
Here's my repo for a React Native demo, which also integrates TypeScript: https://github.com/shirakaba/react-native-typescript-2d-game It's an Expo app, so you can even try it out via the Expo link: https://exp.host/@bottledlogic/the-box No Sprite animation, no physics; just transforms of |
Any chance someone has created an example in React Native? Since a few things are different, it would really help to have some working example code to help people get started. Thanks!
The text was updated successfully, but these errors were encountered: