FB HGEWrapper 2D Game Engine

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
Dalex
Posts: 46
Joined: Dec 09, 2006 9:46
Contact:

Postby Dalex » Oct 23, 2007 9:49

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

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

Postby livewire » Oct 23, 2007 13:36

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:

Postby Dalex » Oct 23, 2007 16:10

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:

Postby Dalex » Oct 25, 2007 17:53

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:

Postby duke4e » Oct 25, 2007 20:26

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:

Postby Dalex » Oct 26, 2007 7:46

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

Postby Imortis » Oct 27, 2007 2:31

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:

Postby Dalex » Oct 27, 2007 7:03

Imortis

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

Postby JohnB » Oct 27, 2007 7:28

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:

Postby yetifoot » Oct 27, 2007 7:44

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:

Postby Dalex » Oct 27, 2007 8:18

JohnB
Are physics similar to Flatland?


Box2D...
http://box2d.org/index.html
Imortis
Posts: 1386
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Postby Imortis » Oct 27, 2007 18:26

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:

Postby Dalex » Oct 28, 2007 7:07

Imortis
What IDE?

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

Postby Imortis » Oct 28, 2007 11:29

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:

Postby Dalex » Oct 28, 2007 14:55

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

Return to “Libraries”

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests