Ywa
-
Posts
256 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by Ywa
-
-
The main problem that started this thread was using the existing libraries with Delphi.
Exactly. And I know Delphi isn't officially supported. But Lua got the same problem..
-
or difficult to integrate properly.
I would like to use either GWEN or CEGUI. But they don't got Delphi support, and porting it myself would be a lot work. While, in my opinion, every mature game engine should have one included.
-
Hello. I've been trying to understand how joints work in the engine, so I set myself a simple example:
var Phys,Mesh, Phys2, Mesh2 : TEntity; //////////TEST/////////// Phys := CreateBodyBox( 1,1,1 ); Mesh := CreateCube( Phys ); EntityType( Phys, 1 ); PositionEntity( Phys, mCar.GetPos + Vec3( 0,2,0 ), 1 ); //mCar is another entity Phys2 := CreateBodyBox( 1,1,1 ); Mesh2 := CreateCube( Phys2 ); EntityType( Phys2, 1 ); PositionEntity( Phys2, mCar.GetPos + Vec3( 0,0.5,0 ), 1 ); SetBodyMass( Phys2, 1 ); CreateJointHinge( Phys, Phys2, mCar.GetPos + Vec3( 0,1,0 ), Vec3(1,0,0) );
Basically, I want to see how it works (just like in the wiki example), however when I run the above code, the second box (phys2/mesh2) falls to the ground, without hinge-ing or whatever. I even tried parenting before, but it makes it worse. What am I doing wrong? Thanks.
-
-
I'm in favor of providing a built-in skinnable GUI designed for games. I think we'll get a better result with this than a third party library.
Fine for me. So that means adding a GUI is on your to-do list?
-
What's your game code at this moment (initialization and such)?
- Ywa
-
In that case I can see why you would request a GUI system to be built in although I also feel that there is something to be said for picking the right language for the job. This just seems like LE on hard mode
Leadwerks on Delphi works great (thanks to Wchris his header converter). It's just that it takes a lot of time to convert GWEN or CEGUI headers to Delphi and make libraries that work with it.
Plus, I really think a mature game engine (although Leadwerks isn't only for game) should have a build in GUI system. Same with all other features.
-
Several people here have integrated CEGUI with Leadwerks.
I wrote an article about it some time ago: http://leadwerks.com/werkspace/index.php?/page/resources/_/programming/cpp/leadwerks-and-cegui-r30
It's difficult to use in Delphi. Plus it's also nearly impossible for Lua users.
I do not think it would be a good idea to integrate existing GUI libraries in the engine. People should have the freedom to pick whatever GUI library they want and not be stuck with the one Josh decides to roll in the engine.
Yes, however. You could still load your own GUI system in that case.
EDIT: think you mixed up GWEN and CEGUI. CEGUI has an OpenGL renderer included. Judging by GWEN's website, it does not.
It does have one. It's not at the website, but the SVN contains one made by the community.
-
Hi guys,
I would like to have a build-in GUI system.
Examples of nice GUI systems that I know of:
- GWEN ( http://gwen.facepunchstudios.com ) (has a OpenGL renderer included)
- CEGUI ( http://www.cegui.org.uk )
Would it be possible to add it in the next major Leadwerks version? Since it's a huge miss, in my opinion.
Thanks!
- Ywa
-
Replace the content of 'Templates\PascalTypes.txt' with this:
BP=Pointer byte=Pointer float=Single flt=Single int=Integer long=Integer str=PAnsiChar const_str=AnsiString short int=Smallint unsigned char=Byte
That should make it compilable on Delphi.
-
So you managed to install, compile and run the demo ? Fantastic !
Yes. Because of your help of course.
-
Looks damn good and I wish you had this before I started with my project. Will try to use this in future projects though.
-
What he means is that he wants to automatically generate a phy file based on the model's bounding box..
-
I would still like to have Mac and Linux builds.. (especially Mac).
-
Why? Do you have an XBox developer license?
That doesn't matter actually. If people their software also works on Playstation and X360 they might get a developer license. Why would he get a license if the engine doesn't support it?
-
I rather have out-of-the-box support for Linux and Mac. Instead of all this Android/iPhone **** for such an engine..
-
Thank you very much Wchris! It indeed fixed the ATi crash + Engine.log problem.
-
Why would you even work with a DX7 engine if you got a license to Leadwerks..
-
Hm, I fixed the AnsiString stuff and it still happens. Anyways, I kinda prevented it from happening by killing the process before shutting down. Will look into it later. Thanks for all the help and enjoy your birthday.
-
Wchris. I think it's my Leadwerks.pas which is bugged!
Your SimpleFWExample.exe from post #11 works perfectly on my machine!
-
I'm at 10.6 currently (others aswell). Downgrading won't help a lot, since it's a Delphi/FPC specific problem. Since I don't got any problems with with Leadwerks C++ project (unlike the guy from the other thread/topic).
-
I tested it with a HD4850 and HD4870 with latest drivers. I'll ask a few others about the latest series (HD5xxx). And the problem is just that application terminate/close crash (and it only happens with the Delphi and Lazarus editions). Everything else works fine.
Here's the source code: http://www.xoti.net/stuff/uploads/MelonSurvivalLazarusSRC_1f7d.rar
Engine.log seems to stay at 0 kb all the time. So I basically have no log.
Edit: Also happens on AMD/ATi HD5850 mobility card.
-
Bump (sorry for not replying Wchris).
I tried it with Lazarus now. And managed to get your example code compile. However, it still gives a crash when I close the application. But it only happens on machines with ATi cards Works fine on nVidia machines.
Here're the files I send to the testers: http://www.xoti.net/stuff/uploads/MelonSurvivalLazarus_234e.rar
Sourcecode is basically your example from the downloads section.
-
Since the last couple of versions Fraps supports high-definition/raw screen recording too (so no more only game recording). I'm not 100% sure though.
Question about joints
in Programming
Posted
Bump.