Search found 112 matches

by dabooda
Jul 11, 2011 23:27
Forum: Game Dev
Topic: My Sonic The Hedgehog game
Replies: 31
Views: 13880

I had a few problems, none graphic or sound wise those ran really good. The problem I had was with blocking, basically sonic would just run into a wall that didn't exist and I could move no further. Also a few times I would jump and he wouldn't stop, as if my key wasn't read as up. And one last prob...
by dabooda
May 13, 2009 19:35
Forum: Archive
Topic: DaBooda HGE Wrapper for FreeBasic
Replies: 12
Views: 4075

You do have a 'triple' structure though, which is basically a 3point primitive. As long as you are drawing filled triangles, you can use that.

DaBooda out...
by dabooda
May 04, 2009 1:29
Forum: Archive
Topic: DaBooda HGE Wrapper for FreeBasic
Replies: 12
Views: 4075

I have updated the forum with a section specifically for this wrapper. Now you can ask any questions, report any errors or simple discussion for features you wish to see added.

DaBooda out...

p.s. Sorry for the delay...so busy with the site, I forgot.
by dabooda
May 01, 2009 5:43
Forum: Archive
Topic: DaBooda HGE Wrapper for FreeBasic
Replies: 12
Views: 4075

Did you ever fix this? I have looked all through the code and cannot find any reason for it to crash. I have limited the bug to the image_convert routine, and I even commented all the hge functions out of it. It still crashes. It's a memory issue I am pretty sure of it, but I just can't see where......
by dabooda
Apr 27, 2009 22:15
Forum: Game Dev
Topic: Me and HGE
Replies: 7
Views: 3908

It took half a day to make this demo. I will not expand on it though, but am thinking of making a shooter with my new library, for I have always wanted to make one. I will most likely make it in lines with Raiden, which in my opinion is perhaps the best shooter I have played.

DaBooda out...
by dabooda
Apr 25, 2009 16:05
Forum: Archive
Topic: DaBooda HGE Wrapper for FreeBasic
Replies: 12
Views: 4075

Merick, This works: ' Original source: ' Haaf's Game Engine 1.8 ' Copyright (C) 2003-2007, Relish Games ' hge.relishgames.com ' Wrapper and conversion to FB by DaBooda ' April 2009 ' dabooda.org ' hge_tut02 - Using input, sound and rendering #Include "..\inc\hge.bi" Dim Shared As HGE Ptr a...
by dabooda
Apr 25, 2009 3:34
Forum: Archive
Topic: DaBooda HGE Wrapper for FreeBasic
Replies: 12
Views: 4075

Merick, When you use app->Texture_Unlock(), you must pass the handle of the texture. You lock and unlock the texture handle: quad.tex=app->Texture_Create(32,32) Dim buf As dword Ptr buf = app->Texture_Lock(q.tex) For x As Integer = 0 To 31 For y As Integer = 0 To 31 buf[y*32+x]=ARGB(255,150,150,0) N...
by dabooda
Apr 24, 2009 5:55
Forum: Archive
Topic: DaBooda HGE Wrapper for FreeBasic
Replies: 12
Views: 4075

DaBooda HGE Wrapper for FreeBasic

I have decided to release this wrapper separately. The only reason for this is because my Library will be totally different than HGE and it would be to confounded to have them both together. Well here it is, the total HGE Wrapper, minus the hgeGui object which was pointless without being able to cre...
by dabooda
Apr 21, 2009 17:54
Forum: General
Topic: Importing Functions into a UDT
Replies: 5
Views: 1617

Oh duh, I totally forgot about dylib. That is pretty cool, but the weird thing is I cannot use default values within the functions...oh well. Now at least I know. Thanks.

DaBooda out..
by dabooda
Apr 20, 2009 14:45
Forum: General
Topic: Importing Functions into a UDT
Replies: 5
Views: 1617

Merick, I think you mistook my meaning. I am trying to import from a DLL written in C++ directly into a UDT. But it's moot at the moment anyways because I have found it's better to declare the calls outside of the UDT and just encompass them into functions I make on the FreeBasic end. Yes it's anoth...
by dabooda
Apr 19, 2009 7:53
Forum: General
Topic: Importing Functions into a UDT
Replies: 5
Views: 1617

You cannot be serious!?

This is the only way I could get this to work: #Inclib "mylib" Declare Function dFoo Cdecl Alias "Foo"() as Integer Type FooType Declare Function Foo () as Integer Private: as Integer filler 'yep, still ticks me off End Type Function FooType.Foo() as Integer Return dFoo() End Fun...
by dabooda
Apr 19, 2009 3:04
Forum: General
Topic: Importing Functions into a UDT
Replies: 5
Views: 1617

Importing Functions into a UDT

Ok, I have been building a library in C++ and I have a few issues because on the freebasic end I want these external functions to be contained within UDT's(unfortunately there is no class support). I have a few questions: This works: #Include "mylib" Declare Function Foo Cdecl Alias "...
by dabooda
Apr 18, 2009 20:51
Forum: Game Dev
Topic: Me and HGE
Replies: 7
Views: 3908

The music, well it is actual SNES .spc music which explains the SNESAPU.DLL exported with the executable. It's from a great old school shooter by Konami called Gradius3. I personally tried to venture into HGE (wrapped for FB), but its C++ nature of controlling loops and events made me wanna puke. I'...
by dabooda
Apr 17, 2009 17:38
Forum: Game Dev
Topic: Me and HGE
Replies: 7
Views: 3908

It's neither dbt nor dbos. It is something new and only for use with HGE. I will most likely not release it for I gave up all that jazz a long time ago in trade with more actual game programming. HGE is easy on its own though and all my library is doing is making handling things a bet better, and en...
by dabooda
Apr 17, 2009 5:11
Forum: Game Dev
Topic: Me and HGE
Replies: 7
Views: 3908

Me and HGE

Click to Enlarge: http://dabooda.org/binary/wip/shooterShotTN.jpg I was bored and decided to look into HGE. I had been meaning to for awhile but didn't feel like getting back into C++. Well boredom won in the end(as well as I was burned out with DBOS) and I started learning the Library, and found ou...