I used add object to get my charater mesh(layer 2) and put it in the level layer (layer 1).I hoped it wouldn´t be so hard, but I was wrong. My charater can´t rotate anymore(ipo rotation),and it can´t walk much, because the result is my charater laying down in the ground,like if it was sleeping.It stil can walk,but now it walks in it current normal,which means it will walk in the ground/roof direction.
There is other way of taking my charater at layer 2 and placing it at layer 1 without using add object?
Note:
when my charater and level are together already,eliminating the necessity of add object,all problems are solved,but the problem is which I need my charater travelling diferrent layers with diferrent phases into them.Anyone can help?
the problem is which save.com can´t upload my files anymore.I will give one more shot and see if I can upload it
I´m using a empty to handle the creation of the player(always-once>reposition python>create at current empty position the player).The first position of the empty is defined at the start of the game, the later position is defined by the last player position before switching scene.
to run the game,press P at the currently selected scene,press test now, and walk a bit by the map to see the problem(I know the problem will be a bit funny).And sorry by the little mess in my project
when my charater and level are together already,eliminating the necessity of add object,all problems are solved,but the problem is which I need my charater travelling diferrent layers with diferrent phases into them.
I understand your frustration with your project however, I don’t think the layering system in Blender was intended for the purpose you wish to use it for.
To quote from the Blender Manual:
3D scenes often become exponentially more confusing with growing complexity. To get this under control, objects can be grouped into “layers,” so that only the layers you select are displayed at any one time … and are there (except for some special functions) solely to provide the modeler with a better overview.
You seem to have an excellent grasp of python and the GE so it would ease a lot of your frustration to use Scenes for your levels. You have files already set up for save/load so a script to do this automatically between scenes would be all that is necessary to store all your settings between scenes.
Of course I am ignorant of exactly why you wish to use layers the way you do and what the benefit would be. Also I am curious why you wish to add your character from a different layer.
I can only assume you wish to use layers to store multiple levels. In which case you might want to consider having the character on the main layer and adding and removing the levels using the addObject actuator instead of adding the character.
Hey, I haven´t thought about this possibility honeycomb. I´ll try this soon, since I´m a little short on time now.
I wanted each layer to have a level,it´s true.I basicaly wanted more organization into my project doing this.I like a clean visualization of the project . All active objects(player,mosters and such) were intended to stay stored at layer 2 for organization. But since it don´t seem to be possible, I will put the player at the main layer as you said.
The same problem happens to my “spider robot”, it should stay in the main layer too? with a script to delete it when not necessary?
Thanks jplur, it wasn´t so dificult.My experience tell me that another important part of a game is the optimization,my game was much slower, but one optimization was enough to boost it´s speed.