Comments (6)
Thanks for the heads-up @CSugarPrince - I think others might be experiencing the same issue. This demo was initially written on a much older version of React and has not been updated since. I suspect that the Box renderer's are not updating due to a shallow prop comparison.. I'll try get this fixed soon - I might even update the renderers to use functional React components rather than classes - since that seems to be becoming the standard method of writing components.
from react-native-game-engine-handbook.
Hey, thanks for the quick reply! Also I forked your repo and made a quick fix that uses Animated.View from react-native-reanimated to solve the issue.
Do you mind if I make a pull request so that you can take a look?
from react-native-game-engine-handbook.
Oh that would be great @CSugarPrince, please do!
Cheers!
from react-native-game-engine-handbook.
Sorry for getting back to you so late. Just submitted pull request #20 for my fix. I tested on IPhone 11 pro simulator and on my physical device using expo. Didn't check to see if fix affected other parts of the handbook apart from the rigid bodies demo (though I don't think it should).
Anyways, take a look when you can and see if everything works for you!
from react-native-game-engine-handbook.
Awesome @CSugarPrince - I’ll check it out tomorrow and get it merged asap. Cheers!
from react-native-game-engine-handbook.
Addressed in PR #20 - much appreciated!
from react-native-game-engine-handbook.
Related Issues (20)
- Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence. java.lang.IllegalStateException: buildToolsVersion is not specified. HOT 3
- How to use Swap
- Needs to be updated to work with current Expo library HOT 1
- error when using the left arrow to go back HOT 3
- Failed to run ios HOT 3
- Build error for `assets/images` HOT 5
- SDK 33 is not supported anymore HOT 5
- Suggestion: Include an already linked iOS & Android project HOT 3
- Operator 'abs' not found HOT 3
- Cannot run web example HOT 2
- Error when compiling Android: file or directory './android/app/libs', not found HOT 6
- Cannot open the Expo app from README HOT 1
- Support for Expo SDK 44, 45, 46 HOT 2
- Can't get up and running on iOS Simulator. HOT 3
- No bundle URL present - Cannot run the project HOT 3
- Error when build and install app on Android HOT 4
- Followed iOS steps and got low-level error during build HOT 7
- Could not determine java version from '10.0.2' HOT 2
- Could not find method compileOnly() HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-game-engine-handbook.