PDA

View Full Version : Game Help Please!


sparrow317
10-16-2009, 05:55 PM
Hi. I'm a high school student and I'm trying to make a game for a school project. My main character is a bird and I'm wondering how to do two things;

I want to do a method where if my bird comes close to an object the object responds (i.e. moves, says something, etc.) How can I do this?

Secondly, the bird is trying to find bugs scattered over the landscape. How can I make a counter/score keeper that will "count" how many the bird has found?

Thank you for all help! Any advice is appreciated!

x2495iiii
10-16-2009, 10:03 PM
For the first one, use the distance functions of the object to create a "while object is at least x meters away from bird" method.

For the second one, have a variable which increments by one (drag the variable onto the scripting area to see this option) when a bug is found, then have a 3d text which sets its text to the variable as a string (found under the world's functions) whenever the variable changes (when a varialbe changes event found in event menu in upper-right corner of screen).