I would like to create my first games include AI enemy - any genes.
(which more easy, not puzzle! Ive did create first person view walk around the level…from A to B… like maze! ;))
so where can I find a tutor so I can learn to build my own? can be website, ebook or book in blender shop?
Yo Frankie! is nice tutor but is it blender 2.4? can I find something like that?
I would like its include how to create racing car and control it, use item, control it and exit, level editer in games , weapon fire at item and enemy AI for every genes will be nice. (racing car AI for car race, platform AI for enemy attack player ETC)
you’re going to be a bit stuck in that respect.
What i suggest is that you look at 2.49 game tutorials.
From there, you can learn how to port over to 2.55, it’s very easy, only slightly different interface!
There really aren’t that many learning resources out yet as 2.5 is only in beta. Once it is stable, and the majority of the userbase moves over you should expect a bit more.
What i’m saying, is that the game engine in 2.5 is relatively the same;
if you use python, the scripts are very similar, just for these changes:
some scripts use “object.attribute” to access properties.
This still applies for module attributes, such as
“GameLogic.getCurrentController()”
but is “object[“attribute”]” for object properties.
To use old scripts, in 2.49 it imports GameLogic automatically, however in the new blender GE, you must use “import GameLogic”. Some 2.5 scripts use “bge.logic” but they are both the same.
For the api, make sure you use the most recent, meaning don’t use “controller.getOwner()” but “controller.owner” and don’t use getattr() or setattr(), change getattr() with the “prop = object[“property”]” and setattr() with “object[“property”] = prop”
some scripts use “owner.getPosition()” change that to “owner.worldposition” and change controller.getSensor(“sensorname”) with controller.sensors[“sensorname”] if you have sensor.isPositive() change that to sensor.positive
if you see if hasattr(owner, “foobar”) change that to if "foobar"in owner:
i think that’s the main bit for python.
Logic bricks are relatively the same, just IPO is called F-CURVE and you don’t set the physics in the logic panel, but in the buttons panel in the physics tab.