INNER CODE UNIT · JavaScript

MotionBlueExample

bberak/react-native-game-engine-handbook · app/opengl/motion-blur/index.js:7

export default class MotionBlueExample extends PureComponent {
  constructor() {
    super();
  }

  render() {
    return (
      <GameEngine 
        style={styles.container} 
        systems={[Rotate, Scale]}
        entities={{ 
          square: { angle: 0, scale: 0.5, renderer: <Square />}
        }}>

        <StatusBar hidden={true} />

      </GameEngine>
    );

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…