Jump to content

Ywa

Members
  • Posts

    256
  • Joined

  • Last visited

Posts posted by Ywa

  1. 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.

  2. 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.

  3. 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? :)

  4. 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.

  5. 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. :)

  6. 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? :blink:

  7. 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.

×
×
  • Create New...