BlocosIA Wiki Editor

A 3D character that wanders

Easy · Create a 3D robot in the character generator and let it wander the 3D world.

Interactive tutorial: the editor checks each step by itself.

  1. Add the "3D World" extension.
  2. Pick a sprite, open the Costumes tab and click the "3D" button. In the generator, choose "Robot", click "Apply to selected" and save as a 3D model.
  3. Go back to Code. Drag "when flag clicked" and snap "generate world…" (3D World).
  4. Snap "become 3D body" and choose "sprite's 3D model (3D Characters)".
  5. Snap "automatic 3D animation: parado when still and andar when walking" and "wander alone at speed 1".
  6. Snap "camera: third person", click the flag and go after your robot! As you turn the camera, it shows in 3D from every side.
  7. Challenge: use "player appearance (third person)" and choose your sprite: now YOU are the robot. (challenge)

The blocks of the finished program

• evt_bandeira
• m3d_gerar [TIPO: colinas, SEMENTE: 3]
• m3d_corpo [FORMA: modelo, TAM: 100]
• m3d_corpo_anim_auto [PARADO: parado, ANDANDO: andar]
• m3d_corpo_passear [VEL: 1]
• m3d_camera [MODO: terceira]
• m3d_jog_aparencia

Open in the editor