Shooting Game Question


We want to shoot bananas at monkeys. We want to press the space bar or mouse and shoot the banana, and aim at the monkey. Can someone please send me a sample script of this?


Hi @Kelly_Nickell,

I’ve changed some code from the Penguin game to fit it to your theme. Feel free to remix the space below to learn how to create a banana throw behavior! The first scene is the CoBlocks implementation. The second scene is the scripting implementation.



Thanks for the quick response once again. However, I can play the game, but I can’t remix it or see the code.


NEver mind. It was because I wasn’t logged in!


how to attach any dummy object to the camera? For example, attaching camera to throwTarget and throwStart in this case. When camera is moved, both the objects are moving here… how??? kindly help


Hi @Raja_Mani!

Check out the video example below for a step-by-step guide :slight_smile: