I have been reading through the gameblender docs, and i am really confused on how, where and when to use proprtiies. Is there a link anyone can give to a tutorial, maybe some examples too? Thanks
Propeties?? you mean how to make a game? just give us more info, are you totally new?? If you want to get more answhere maybe a little visit on Irc channel #gameblender server Freenode, and to go onto irc, use mIRC http://www.mirc.com . I can also introduce you to blender’s game engine using a over the internet acces to my pc to see what I do, or even try blender on my pc while I watch you doing things wrong or right. 8)
You use properties if you want to assign values to a certain object. Another word would be variable. But in an object oriented context the name property is more appropriate. Take a look into the demos ppl have released to see where and how to use properties. It’s a way too wide field to explain everything here… Or you’ve got to be more specific!
I use properties to… test values :-?
An example ?
Add to your player a propertie named “life”.
Each time an enemy touch your player, decrease the value of
the propertie “life”. IF “life = 0” then GOTO “death of the player”…
But I think you have to read Blender doc first.
thank youo, and yes i do go to the chat room, where everyone is very helpful. I just dont know what questions to ask. Im reading the docs but some parts seem rather vague. So lets say i had the player and a ball in a scene, if I wanted the player to lose 10 health everytime it touches the ball, i would add property on the ball and type in under name “health loser”. then do some sensor for collision with the name health loser in property name and attach it to an actuator(is there one for player death?). Is this the basics of it?
Yes, sounds like you’ve got the idea.
There is no built-in actuator for character death, because what happens when a character dies depends entirely on the specific game. You can combine several actuators to give the effect you want, and if you need any help, don’t hesitate to ask here or in the chatroom.
The chatroom is usually the best place to ask for help and get an emmediate response.
thank you so much for that blend file, it helped alot