FB HGEWrapper 2D Game Engine

User contributed sources that have become inactive, deprecated, or generally unusable. But ... we don't really want to throw them away either.
Dalex
Posts: 46
Joined: Dec 09, 2006 9:46
Contact:

Post by Dalex »

Update Version 0.1.4b first post ...(+14 function)

Thanks... good luck...
livewire
Posts: 78
Joined: Dec 07, 2006 3:43
Location: Orlando, FL

Post by livewire »

Dalex,
Are you going to add the following functions for hgeFont? Is there some reason these couldn't be wrapped?

printf, printb, getsprite, getprewidth, getpostwidth, getstringwidth, getheight

-Livewire
Dalex
Posts: 46
Joined: Dec 09, 2006 9:46
Contact:

Post by Dalex »

livewire
Are you going to add the following functions for hgeFont? Is there some reason these couldn't be wrapped?

printf, printb, getsprite, getprewidth, getpostwidth, getstringwidth, getheight
Ok...in new version...
Dalex
Posts: 46
Joined: Dec 09, 2006 9:46
Contact:

Post by Dalex »

Update Version 0.1.5b first post ...(+17 function)

Update hge_Font
Update hge_Input
Add 2DPhysics
Add FBhge_tut09 - 2DPhysics

Thanks... good luck...
duke4e
Posts: 717
Joined: Dec 04, 2005 0:16
Location: Varazdin, Croatia, Europe
Contact:

Post by duke4e »

wow, physics are very nice! since they are not part of HGE, any kind of simplest documentation whould be welcome. at least "functionA (xpos, ypos, gravity, angle, etc)"
Dalex
Posts: 46
Joined: Dec 09, 2006 9:46
Contact:

Post by Dalex »

Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Post by Imortis »

Using the FB Update from a few days ago, I get this set of error messages on tut5:
FBhge_tut05.asm: Assembler messages:
FBhge_tut05.asm:74: Error: suffix or operands invalid for `fmul'
FBhge_tut05.asm:89: Error: suffix or operands invalid for `fmul'
FBhge_tut05.asm:128: Error: suffix or operands invalid for `fmul'
FBhge_tut05.asm:148: Error: suffix or operands invalid for `fmul'
FBhge_tut05.asm:149: Error: suffix or operands invalid for `fadd'
And this from tut6:
FBhge_tut06.asm: Assembler messages:
FBhge_tut06.asm:111: Error: suffix or operands invalid for `fmul'
FBhge_tut06.asm:116: Error: suffix or operands invalid for `fmul'
I looked in the asm output. The fmul commands are this:

fmul 0

I don't remember what the fadd was...

I'm not sure if this is an FB problem, or a problem with the wrapper.
Dalex
Posts: 46
Joined: Dec 09, 2006 9:46
Contact:

Post by Dalex »

Imortis

HGELog...?
CompileLog...?
JohnB
Posts: 236
Joined: Jul 22, 2005 3:53
Location: Minnesota Arizona

Post by JohnB »

Just tested tut05, tut06 and tut09, compiled and executed correctly with FreeBASIC version 0.18 (08-13-2007) target win32.

Are physics similar to Flatland?

JohnB
yetifoot
Posts: 1710
Joined: Sep 11, 2005 7:08
Location: England
Contact:

Post by yetifoot »

Imortis wrote:
..snip...

I looked in the asm output. The fmul commands are this:

fmul 0

I don't remember what the fadd was...

I'm not sure if this is an FB problem, or a problem with the wrapper.
You may well have got an update at the wrong time, FreeBASIC is going through some big changes right now to add the const modifier, and that has caused a few problems here and there that need to be ironed out.

Sorry, I didn't have time to look at and test this right now, but i would recommend just using the 0.18.2 release for now, or try a newer FB update, i think most of the bugs should be ironed out by now, i know cha0s and v1ctor have been working overtime adding this feature and testing and refining it.

I will try and remember to check this out properly later.
Dalex
Posts: 46
Joined: Dec 09, 2006 9:46
Contact:

Post by Dalex »

JohnB
Are physics similar to Flatland?
Box2D...
http://box2d.org/index.html
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Post by Imortis »

Dalex wrote:Imortis

HGELog...?
CompileLog...?
What I showed was the compile log. It never compiled properly so there was never an HGELog. I will try installing the latest stable release. and get back to you.

Edit:
That's it. Works just fine with the latest stable FBC.
Dalex
Posts: 46
Joined: Dec 09, 2006 9:46
Contact:

Post by Dalex »

Imortis
What IDE?

I use FBEdit(1.0.5.7)!
Compile:fbc -s gui
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Post by Imortis »

Dalex wrote:Imortis
What IDE?

I use FBEdit(1.0.5.7)!
Compile:fbc -s gui
That's the same thing I am using, but as I said, it was because I downloaded an unstable update from SVN. It works just fine now. By the way, love the menu example.
Dalex
Posts: 46
Joined: Dec 09, 2006 9:46
Contact:

Post by Dalex »

Small Update Version 0.1.6b first post ...(+7 function)
Update physics - Joint,Car...
Thanks... good luck...
Post Reply