Kids Coding Project: Code your own Alien Invasion Conversation
campk12
Take me back to campk12.com - Global Online School for 21st century skills
campk12
Alien convo image

Code Your Own Alien Conversation!

Project description: An alien has invaded the earth and is meeting a human for the first time. We have to code a conversation between him and the first human he meets!

Recommended ages: 5-9 years | Experience level: Beginner | Platform: Hatch Kids | We will use: Block-based coding | Time required: 20-30 minutes

What will we learn? How to design and animate a 3D/VR environment and code using block-based programming

What will we create? We will design an animation in Virtual Reality.

STEP 1: Open Hatch Kids 

Click Here to go to Hatch Kids

Select “Code with Blocks”  as shown in the screenshot.

You are now ready to begin creating your project!

STEP 2: Design your game

1. Choose a template and get started.

  • You can choose any template from the various templates shown above to create your own project!
  • This template is for the overall look of your scene. There are many different environments to choose from, like Ocean or Space.
  • For this project, we have picked the ‘Tree House’ template.

2. Let’s design our environment before coding!

  • Designing involves the addition of 3D models to our environment. 
  • Click on the ‘Design’ section and add 3D models using the ‘Add 3D objects’ button as shown below.

3. Search for a ‘Wolf’ & an ‘Alien’ 3D model & add both of them to the environment.

  • Using the translate button, place them as per your need in the environment.
  • Using the Rotation & Scaling features, you can also change the rotation and the size of the 3D models added!

Final design view:

STEP 3: Let’s code!

It’s time to put life into all the characters that we added to our screen! Now that our design has been made, we will begin coding the conversation between our characters.

Remember what we need to do!

  • From the ‘Events’ section drag & drop the ‘When play button clicked’ block to the coding space.
  • This block is used to start an event. In this case, our project will start when the player clicks on this play button.
  1. From the ‘MinecraftAvatar’ section, get the ‘when the MinecraftAvatar collides with’ block and enable the notch to make it attachable to another block.





  2. From the ‘Wolf’ section, attach the wolf block to this block like a puzzle piece.


  3. Go crazy with your storyline with conversation blocks. You can find the conversation speak’ block from the individual 3D model’s section!

STEP 4: Save your work and download the app!

Make sure you save your work by hitting the “Save” option!

1. Click on “Publish.” You can either choose to login and publish, or else you can pick the quick publish option.

2. Fill the relevant details about your project

3. After publishing, you will receive a QR Code. Keep this open for now.

4. To enjoy your game, you will first need to download the free Hatch XR app on Play Store or App Store on your mobile phone.

5. Once downloaded, open the app, scan the QR code on your laptop browser, choose the AR option and enjoy!

STEP 5: Share your project with friends and family!

Impress your friends and family by sharing the project with them. Show them your Alien Invasion conversation, and invite them to create similar projects of their own using the Hatch Kids platform!

Wait, can you do more?

  • Yes! You can add a lot more things to your project.
  • Develop a conversation with the alien 3D model along with the MinecraftAvatar 3D model! Let’s see how your imagination comes to life!
  • Add one more 3D model in the design section
  • Tweak the code for that 3D model!
Does Your Child Love To Create And Innovate?

Channel your child’s creative ability through our coding & game development classes.

Only few slots left, Hurry book your slot now!
Does Your Child Love To Create And Innovate?

Channel your child’s creative ability through our coding & game development classes.

What you should Read Next

Should I Homeschool My Child: Pros & Cons

Should I Homeschool My Child: Pros & Cons

Homeschooling as an idea has been around for years, but has picked up popularity since the start of the COVID-19...

Coding DIY Project: Fireworks

Coding DIY Project: Fireworks

Project description: The 4th of July is almost upon us and let’s celebrate it in code as we do it...

8 Narrative Writing Prompts To Inspire Your Kids (ages 7-10)

8 Narrative Writing Prompts To Inspire Your Kids (ages 7-10)

This narrative writing exercise is a great way to help kids express themselves, and get creative with different characters and...

Categories

Explore content in our most trending categories

FAQ

Augmented reality is an interactive experience of a real-world environment where the objects that reside in the real world are enhanced by computer-generated perceptual information, sometimes across multiple sensory modalities, including visual, auditory, haptic, somatosensory, and olfactory.

Virtual Reality (VR) is the use of computer technology to create a simulated environment. Unlike traditional user interfaces, VR places the user inside an experience. Instead of viewing a screen in front of them, users are immersed and able to interact with 3D worlds. By simulating as many senses as possible, such as vision, hearing, touch, even smell, the computer is transformed into a gatekeeper to this artificial world. The only limits to near-real VR experiences are the availability of content and cheap computing power.

Hatch Kids is the children’s version of Hatch XR, a free 3D creation platform where kids can learn to code and build virtual reality projects and games.

Hatch XR is a free 3D creation platform that allows you to design and code virtual reality projects & games!

Hatch XR is the most powerful and easy-to-use AR/VR builder available. You can add physics and animations to your scene without needing to code, in just a few clicks. Then, add JavaScript code to your 3D objects if you want any custom / advanced behavior using our powerful Code Editor. Finally, publish your app and you’ll get a unique QR code that you can then scan with this AR/VR mobile app and bring your Mixed Reality scene to life on a surface near you.