Search found 176 matches

by Stormy
Apr 21, 2006 15:15
Forum: General
Topic: OpenGL and Lights
Replies: 8
Views: 1256

OK, I managed it somehow using black voodoo to make it look the same way as it was in gfxlib2 ! Phew, it was quite a lot work, but I'm satisfied with my done work.... http://rpg.storm-master.de/ogl11.png @SCC: Sure I can share my source. I made this software light for 16bit and 32bit. You can have b...
by Stormy
Apr 20, 2006 23:00
Forum: General
Topic: OpenGL and Lights
Replies: 8
Views: 1256

OpenGL and Lights

Hi there, I want to create a very simple ambient light, which enlightens a dark area. The whole stuff will be done in 2D. I already figured out to make it work in gfxlib2, but I have no idea how to make it with OpenGL. This is the effect I already made and which has to be converted to OpenGL: http:/...
by Stormy
Apr 19, 2006 17:30
Forum: General
Topic: Pixel-Perfect Collision with OpenGL
Replies: 2
Views: 925

Pixel-Perfect Collision with OpenGL

Hey there,

what is the most sophisticated way to archieve a pixel perfect collision using OpenGL? Any good tutorial for this topic will be a help!

thanks in advance,
Stormy
by Stormy
Apr 18, 2006 19:59
Forum: Projects
Topic: REL's pixel scrolling engine ported to FB!
Replies: 28
Views: 8147

Sorry for digging out this thread, but please notice that this source code won't run with freebasic 0.16b since this code is using GOSUB in SUBs. Tzz, I was not the only one using that method... ^^
by Stormy
Apr 15, 2006 4:22
Forum: Projects
Topic: Kart game... Demo[patch] update.
Replies: 125
Views: 38445

That is AWESOME ! :D Great job ! keep working on!!
by Stormy
Apr 14, 2006 11:06
Forum: Beginners
Topic: Rows and columns, locate HELP
Replies: 7
Views: 2100

You have to know in advance how many rows and columns you have. You can just simple backtrack the cursor my saving his location: DIM SHARED AS INTEGER CursorX, CursorY SetCursor(10,10) ShowCursor ' Shows on position 10,10 SetCursor(15,15) ShowCursor ' Shows on position 15,15 SUB SetC...
by Stormy
Apr 14, 2006 11:00
Forum: Beginners
Topic: Memory issue
Replies: 6
Views: 1318

No, I think there are some protection mechanisms by fb or the OS to prevent something like that. At least on modern OSs.
by Stormy
Apr 13, 2006 23:07
Forum: Tips and Tricks
Topic: (FBMLD) FreeBASIC Memory Leak Detector
Replies: 51
Views: 22699

true, I'm convinced ^^
by Stormy
Apr 13, 2006 17:30
Forum: General
Topic: mask color...
Replies: 16
Views: 2373

I can change the background color within some clicks, Zippy. Indeed, it's very easy & fast to do. I can't share you argument.
by Stormy
Apr 13, 2006 14:03
Forum: Tips and Tricks
Topic: (FBMLD) FreeBASIC Memory Leak Detector
Replies: 51
Views: 22699

I found a very very very very confusing bug, that took me several hours to solve it ! Check this source out... Message will be: (FBMLD) Tried to deallocate unallocated memory at &H8087A88 on line XX of memleak2.bas! DECLARE FUNCTION Dummy () AS UBYTE PTR FUNCTION Dummy () AS UBYT...
by Stormy
Apr 13, 2006 13:07
Forum: General
Topic: mask color...
Replies: 16
Views: 2373

Well... it is a bit slow, but every custom_blend is will be slow I think.
by Stormy
Apr 13, 2006 10:34
Forum: Beginners
Topic: Memory issue
Replies: 6
Views: 1318

Yeah, FBMLD is really a relief! Found some nasty bugs, heh... thanks for that hint...
by Stormy
Apr 13, 2006 10:18
Forum: Tips and Tricks
Topic: (FBMLD) FreeBASIC Memory Leak Detector
Replies: 51
Views: 22699

I cannot use your tool, because some compiling error stops me. engine.bas(2760) : error 42: Variable not declared, found: 'DeAllocate' DeAllocate Battlefield.HPmeter HPmeter is a UBYTE PTR and refers to the hitpoint-meter image. Edit: My fault ! I had to write the correspond pointer in brack...
by Stormy
Apr 13, 2006 9:43
Forum: Beginners
Topic: Memory issue
Replies: 6
Views: 1318

Ok, I trust you ! ;) It's just strange how my memory fades away and I can't do anything... Free memory: 47'788 KB: before starting the game 15'760 KB: first map 13'456 KB: going to second map 9'616 KB: in battle... 7'256 KB: after some spells 9'032 KB: after ending the battle 35'656 KB:after ending ...
by Stormy
Apr 13, 2006 9:17
Forum: Beginners
Topic: Memory issue
Replies: 6
Views: 1318

Memory issue

Hey,
I know that's a rather stupid question, but do you know if
"DIM var(1 to 1000) as integer" creates memory leaks after ending the program ? I know that allocated memory has to be deallocated. So is the same way needed for large arrays ?

regards, Stormy

Go to advanced search