pmacom/sdk-meetup-gameseries

Number of triangles in pellets

Opened this issue · 0 comments

M3DA commented

The pellets are too high in triangles, so when the game is fully loaded with all the pellets, the triangle count is over 80,000. Can replace the pellets in the "dots.ts" file and altering this code to have a glb file with a flat 3d model:

export class PacManGameEntityDot extends Entity {
private shape: SphereShape = new GLTFShape('models/face_doge_flat.glb')