Corona Games: Code Style Guide - File naming conventions
Avoid Spaces
When naming files inside of a Corona project, avoid spaces.
- Good
- vehicleController.js
- creatureFaceMesh.obj
- Bad:
- vehicle Controller.js
- creature face mesh.obj
Use "CamelCase"
When naming files inside of a Corona project, always use "CamelCase".
- Good
- cameraController.js
- textureFace.fbx
- Bad:
- camera_controller.js
- creature_texture face.fbx
Always start with a lowercase letter
Always start with a lowercase letter. Never start with a number.
- Good
- motionRig.js
- tenGallonHat.obj
- Bad:
- MotionRig.js
- 10 Gallon Hat face.obj