Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Example for React Native? #4

Open
robbalian opened this issue Sep 18, 2016 · 12 comments
Open

Example for React Native? #4

robbalian opened this issue Sep 18, 2016 · 12 comments

Comments

@robbalian
Copy link

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!

@kenwheeler
Copy link
Contributor

I'll push a repo later today

@mraak
Copy link

mraak commented Sep 21, 2016

Is the syntax the same for React Native as for DOM/Canvas?

@kenwheeler
Copy link
Contributor

@mraak it is. you just import from react-game-kit/native

@kenwheeler
Copy link
Contributor

the only difference is it uses View instead of div. And some css-layout tweaks for styling.

@sendking
Copy link

interesting

@melihmucuk
Copy link

any news ? @kenwheeler

@aaronmyatt
Copy link

@kenwheeler, very keen to see a react native example. If I could be cheeky, a simply platform game implementation would be beautiful!

@7underlines
Copy link

@Eyesonly88
Copy link

Anyone got Sprite animation working on React Native using this library? 🤔 🆘

@micahkatz
Copy link

@Eyesonly88 I have, but i guess its late lol

@kjin9174
Copy link

kjin9174 commented Dec 5, 2017

I have simple react game over react-game-kit. i need to display this game in my siteground hosting server.
So i googled. but there was node installation by SSH. Any method?

@shirakaba
Copy link

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 <View> components. As basic as possible, really. But it does run at 60 fps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests