Skip to content

Instantly share code, notes, and snippets.

View Cybertron-Ant's full-sized avatar

Antonio Fuller Cybertron-Ant

View GitHub Profile
@Cybertron-Ant
Cybertron-Ant / react-checklist-en.md
Last active June 30, 2023 22:40 — forked from marko-knoebl/react-checklist-en.md
A checklist for learning React - Fork it and start ticking off topics!

React topics checklist

A checklist for learning React - Fork it and start ticking off topics!

React fundamentals

  • use-cases of React
  • JavaScript basics for React
    • immutability / data management without mutations
  • updating properties of objects
@Cybertron-Ant
Cybertron-Ant / movingTerrainV1.js
Created January 2, 2022 16:17 — forked from GraemeFulton/movingTerrainV1.js
Moving forwards - when camera moves past a tile, move it right to the front
/**
* createTerrainMatrix
* @TODO: create the matrix of terrains - need to add 9 bits of terrain
*/
createTerrainMatrix:function(scene, perlinNoise){
//every 100px on the z axis, add a bit of ground
for ( var z= 100; z > -200; z-=100 ) {