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
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
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.
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.
Nice, good one Jarrod!
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
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.
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:
It opens up the posibilites for neat effects using HGECode: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;
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:
cheers,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
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
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
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.
Bookmarks