Search found 8 matches

by thebigh
Jun 03, 2019 15:43
Forum: Beginners
Topic: OpenGL texture issues
Replies: 2
Views: 2082

Re: OpenGL texture issues

Thank you, Kuan Hsu. That worked perfectly. I appreciate the help.
by thebigh
Jun 02, 2019 13:38
Forum: Beginners
Topic: OpenGL texture issues
Replies: 2
Views: 2082

OpenGL texture issues

Hello all, I am working my way through the NeHe OpenGL tutorials and have got stuck on part 6, where we learn how to load textures. The first issue is that bmpload.bi fails to load any textures; it always returns a zero pointer for the texture pointer. So I switched to createtex.bi, which does load ...
by thebigh
Feb 19, 2019 6:56
Forum: Beginners
Topic: Reassigning an array all at once
Replies: 5
Views: 526

Reassigning an array all at once

How do I assign all the elements of an array after DIMming it? The following code shows what I want to do, and two possible workarounds that are not very good. dim as integer arr(10) = {1,2,3,4,5,6,7,8,9,10} 'arr = {2,3,5,7,11,13,17,19,23,29} 'ALAS, does not work! arr(0) = 1 arr(1) = 4 arr(2) = 9 ' ...
by thebigh
Dec 24, 2018 11:55
Forum: Community Discussion
Topic: Merry Christmas!
Replies: 11
Views: 905

Re: Merry Christmas!

Merry Christmas and happy 2019 to everyone.
by thebigh
Dec 23, 2018 14:48
Forum: Projects
Topic: Simple Font-Library
Replies: 11
Views: 1916

Re: Simple Font-Library

Nice! That is some impressive detective work.Now I know what the problem is, and that I am not going insane. Thanks a lot for the help.


EDIT: I believe I have found another small bug. Line 486, in the function TFont.Length, should read

Code: Select all

   For i As Integer=0 To Len(text)-1
by thebigh
Dec 22, 2018 8:39
Forum: Projects
Topic: Simple Font-Library
Replies: 11
Views: 1916

Re: Simple Font-Library

Yeah, mono and serif work fine, but sans gives me that weird error. The text gets displayed on the screen, but then it displays the error message in the terminal and crashes so that I have to Ctrl-C out of it.
by thebigh
Dec 21, 2018 19:11
Forum: Projects
Topic: Simple Font-Library
Replies: 11
Views: 1916

Re: Simple Font-Library

Hope it's OK to bump this, but I've got an issue that I can't understand. I'm testing this with the following code, compiling in Linux Mint 18.1 MATE 64 bit: const depth=8 #include once"gfx.bi" #include once"font.bi" screenres 640,480,depth Dim As TFont Font Font.Load("mono....

Go to advanced search