Cocos Creator 3.x Example cases
show-cases
- scenes/ambient: ambient lighting
- scenes/audio: audio system baseline test
- scenes/blade-storm: animation events, particle effect on joint sockets
- scenes/collision-detection: simple collision detection
- scenes/custom-effect: custom shader
- scenes/helmet: PBR material showcase, skybox
- scenes/instanced-skinning: massive skinning models using GPU instancing
- scenes/jellyfish: animation, transparent material, simple prefab instantiation
- scenes/knight: animation, light
- scenes/particle-compare: various particle effects
- scenes/pbr: PBR baseline
- scenes/physics: rigidbody physics simulation
- scenes/shadertoy: simple example on importing shadertoy resources
- scenes/shadows: planar shadow demo
- scenes/skin: pre-integrated SSS demo
- scenes/sponza: multiple render target, particle effects, spot lights
- scenes/tangents: glTF tangent space data conformance test
- scenes/toon: NPR baseline
- scenes/winter: particle system, emitter editing
- scenes/AnimationEmbeddedParticles: embedded tracks, particles player, and animation player
- scenes/particle_noise_test: particle noise moudule
simple-games
- lobby: lobby for all simple games.
- simple-shooting: a simple shooting game demo.
- simple-run: a simple parkour game demo.
Contribution
For future contributer and maintainers, please apply to the same rigorous examination and documentation style as we have established so far.
It is the only way for us to reach far.
If some bug is forcing you to do some hacking, workaround, or any kind of strange logic that is not immediately comprehensible, be sure to add clear explanation comments at obvious places nearby.
Every 'unpleasant surprise' encountered along the road is a big deal:
Either something is not working, or some designed feature is far less intuitive than what the designer thought it would be.
So make sure to do all the followings:
- try to classify the problem: is it editor-related or engine-originated? Which module(s) were involved?
- file an issue to the relevant team
- If it is a bug, clearly document it in code (usually near your temporary workaround) with the issue number.
- If it is a feature(or lack of one) and looks/feels strange/awkward no matter how you design the relevant system, make sure to write it down in the issue ticket with detailed explaination on your design decisions and why the engine API is not a good fit.
- Remove all the workaround or temporary designs once the bug is fixed or new feature is introduced.