Creating a game
Creating a game
Hi!
I am dying to try pb's ability to make games. I have found a modeler, Blender. I found out how to convert the files that it makes to .mesh files. Im thinking to buy their book on blender modelling. 800 pages so its not too cheap, so i want to know how hard it is to make 3d games in pb. Any examples from you? How easy it it to make a figure move, i mean like walking. how easy to make a world in pb, i mean placing objects and stuff like that. Lights? do you have any examples? how did you start? Is it easy to use lights and building worlds? lots of questions here, but im seriously thinking about reading that huge book and leaning a bit of 3d modelling, just wants to know if i can learn to make 3d games in pb.
and even more: How about logic and colisions?
I am dying to try pb's ability to make games. I have found a modeler, Blender. I found out how to convert the files that it makes to .mesh files. Im thinking to buy their book on blender modelling. 800 pages so its not too cheap, so i want to know how hard it is to make 3d games in pb. Any examples from you? How easy it it to make a figure move, i mean like walking. how easy to make a world in pb, i mean placing objects and stuff like that. Lights? do you have any examples? how did you start? Is it easy to use lights and building worlds? lots of questions here, but im seriously thinking about reading that huge book and leaning a bit of 3d modelling, just wants to know if i can learn to make 3d games in pb.
and even more: How about logic and colisions?
-
Brice Manuel
The biggest obstacle right now in PB for 3D is the lack of built in collision detection. Otherwise the existing 3D commands in PB are fairly easy to work with and there are some good examples included with PB that show most of what you are asking. The main drawbacks are it only supports the BSP format and ORGE's MESH format.
I am a diehard retro 2D guy and not much for 3D, but I am playing around with a 3rd party 3D engine in PB that uses DX9 or OpenGL and it works fairly well. If you do not like the 3D side of PB, you can use other 3D engines with PB.
I am a diehard retro 2D guy and not much for 3D, but I am playing around with a 3rd party 3D engine in PB that uses DX9 or OpenGL and it works fairly well. If you do not like the 3D side of PB, you can use other 3D engines with PB.
I can't wait for collision myself. I'm sure fred is working on it. As for a forum for 3D, I could add one to my site if there would be enough user who would like this. I use Wings3D and Animation Master myself. What do you use?
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
Hi here is a game a made with a simple collision detection.
http://www.mypage.bluewin.ch/bithandler ... Racer1.zip
I'm using a bitmap in the background where I test the colors with point(x,z) from the 3d coordinates. If the player is outside the playfield another color is detected. This can be done with walls also. It's not the best solution but better than nothing...
The real problem for me is the "bug" with animations. Animations can't be stopped..or I don't know how to stop them.
http://www.mypage.bluewin.ch/bithandler ... Racer1.zip
I'm using a bitmap in the background where I test the colors with point(x,z) from the 3d coordinates. If the player is outside the playfield another color is detected. This can be done with walls also. It's not the best solution but better than nothing...
The real problem for me is the "bug" with animations. Animations can't be stopped..or I don't know how to stop them.
The same way you call on them. You just need a part in your animation that is not animated and call on it. At least I know with MD2 files you can have multiple animations in one file through multiple frames (calling on different frames for each individual animation). You just need a frame(s) that's not animated. Hope that helps some.pg wrote:Animations can't be stopped..or I don't know how to stop them.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
I have the same problem .pg wrote:Here this is not working. Ogre also supports multiple animations within one object, but once an animation is started, it can't be stopped or replaced, it is added-> looks very ugly....
If an empty string like "" or " " is sent as animation name, my program crashes.
So i create a entity for each animation ( Bad solution but better than nothing
Code: Select all
;Gestion robot
MoveEntity( 1 ,Px , 0, Pz ) ; Walk animation
EntityLocate(5001,EntityX(1),EntityY(1),EntityZ(1)) ; Idle animation
If Joueur\Pas = 0
If GetTickCount_()-Joueur\Temps>Joueur\TempsMaxi
HideEntity(5001,0)
HideEntity(1,1)
EndIf
Else
HideEntity(5001,1)
HideEntity(1,0)
Joueur\Temps=GetTickCount_()
EndIf but it don't work ?SetEntityAnimationTime(#Entity, Position)
Please correct my english
http://purebasic.developpez.com/
http://purebasic.developpez.com/



