Skip to content
New issue

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

Port an existing game to react Pixi. #104

Closed
bjindal4 opened this issue May 7, 2019 · 2 comments
Closed

Port an existing game to react Pixi. #104

bjindal4 opened this issue May 7, 2019 · 2 comments

Comments

@bjindal4
Copy link

bjindal4 commented May 7, 2019

This is not an issue, I just want to get some idea how I should go about it. I have a game developed in Pixi and want to port it on react native. From creating views, tweening objects and having interactive buttons there are many components in the game. I can take the help of react-pixi-fibre. Please guide what are the things I need to create via the react-pixi-fibre. What's the most efficient way.

Steps to reproduce

Additional info

  • react-pixi-fiber version:
  • React version:
  • ReactDOM version:
  • PixiJS version:
@michalochman
Copy link
Owner

@bjindal4 there are a lot of resources out there about structuring React applications. There's no single "the most efficient way", it all depends on your game actual needs and challenges you have to face.

Here I can only point you to:

When it comes to React Native, I haven't tried running react-pixi-fiber it in this context, you most likely need access to Canvas API, I know you can for example try with WebView or with Expo.

@bjindal4
Copy link
Author

bjindal4 commented May 7, 2019

Thanks @michalochman. I have heard of Expo. I will look into that as well. I have my code base but the main thing to explore is with less of code if it's possible to make a react native and react game. I have already tried some of the examples of react-pixi-fibre.

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

No branches or pull requests

2 participants