Page 4 of 4 FirstFirst ... 234
Results 31 to 39 of 39

Thread: Hadron Game Engine

  1. #31

    Re: Hadron Game Engine

    Ok, I got it to compile by swapping the first two units in the project Uses clause:


    [pascal]uses
    HGE in '..\..\..\bindings\pascal\HGE.pas',
    SysUtils,[/pascal]

    HGE wasn't the first one

    As a 'bonus', the demos also run too!! haha

    cheers,
    Paul
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  2. #32

    Re: Hadron Game Engine

    Interesting. I started to get the Internal error in D5 too. I could do a compile but not a build. I will check out the unit swap. I think it has something to do with some of the declarations. I will check on this. Thanks for the confirmation.
    Jarrod Davis
    Technical Director
    Hadron Game
    http://hadrongames.com

  3. #33

    Re: Hadron Game Engine

    I'm finally able to record in-game video in real-time at a decent frame rate. Here is a quick video I made of the AstroBlaster demo included in the HGE distro:

    Last edited by Hadron Games; 19-09-2010 at 01:30 AM.
    Jarrod Davis
    Technical Director
    Hadron Game
    http://hadrongames.com

  4. #34

    Re: Hadron Game Engine

    Nice, good one Jarrod!

    cheers,
    Paul
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  5. #35

    Re: Hadron Game Engine

    Thanks. A decent PC + decent video card + Fraps does the trick. My old aging dev box just was not able to do it. Sigh. It was 4.5 years old and was time to retired it to the bone yard, haha. More videos are forthcoming.
    Jarrod Davis
    Technical Director
    Hadron Game
    http://hadrongames.com

  6. #36

    Cool

    Hi all,
    I thought I'd let you know I have now joined forces with Jarrod so I can help him with the development of HGE!

    I have a video to share of a new addition to HGE that I have added and should be available in the next version:



    I have added to HGE the capability to do OpenGL-like graphics now using these routines:

    Code:
    RenderDevice_BeginPrimitive: procedure(aPrimitiveType: Integer; aRenderState: Integer; aTexture: Integer); stdcall;
    RenderDevice_Color4f: procedure(r,g,b,a: Single); stdcall;
    RenderDevice_Color4ub: procedure(r,g,b,a: Integer); stdcall;
    RenderDevice_Texcoord2f: procedure(aX,aY: Single); stdcall;
    RenderDevice_Vertex2f: procedure(aX,aY: Single); stdcall;
    RenderDevice_EndPrimitive: procedure; stdcall;
    It opens up the posibilites for neat effects using HGE

    I have tested all but the Texturing part, but in theory that should work too

    An example bit of code is here which draws 10 triangles with 2 random coloured vertices:

    Code:
      if ExampleIndex = 4 then
      begin
        RenderDevice_BeginPrimitive(ptTriangleList,rsImage  ,0);
    
        for i := 1 to 10 do
        begin
          RenderDevice_Color4f(Random,Random,Random,Random);
          RenderDevice_Vertex2f(Random(w),Random(h));
          RenderDevice_Color4f(Random,Random,Random,1);
          RenderDevice_Vertex2f(Random(w),Random(h));
          RenderDevice_Vertex2f(Random(w),Random(h));
        end;
    
        RenderDevice_EndPrimitive;
      end
    cheers,
    Paul
    Last edited by paul_nicholls; 12-10-2010 at 10:33 AM.
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  7. #37
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Hey cool.

    You know you can post video (YouTube, Google, etc) directly in the forums now right?

    Well HGE is really starting to get exciting. How is the documentation and included small demos? That can be something that helps promote the usage of HGE for other developers to use.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  8. #38
    Quote Originally Posted by WILL View Post
    Hey cool.

    You know you can post video (YouTube, Google, etc) directly in the forums now right?

    Well HGE is really starting to get exciting. How is the documentation and included small demos? That can be something that helps promote the usage of HGE for other developers to use.
    1. So how do I put in the video link? I didn't see an insert video bit when doing the post? EDITED: Ok, fixed

    2. The documentation and examples for HGE are always being added to and being improved.

    PS. if the youtube video is too blury (mutter...mutter...) I can always add back in the direct link to the SWF video...

    cheers,
    Paul
    Last edited by paul_nicholls; 12-10-2010 at 09:24 PM.
    Games:
    Seafox


    Pages:
    Syntax Error Software itch.io page

    Online Chess
    http://gameknot.com/#paul_nicholls

  9. #39
    Hi,

    We understand the concern about docs + example and working on rectifying this situation. Look for more examples in the next build and the docs will continue to be WIP as we move towards a 1.0 release.
    Jarrod Davis
    Technical Director
    Hadron Game
    http://hadrongames.com

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •