Search found 130 matches

by Jonge
Jun 01, 2014 6:44
Forum: Community Discussion
Topic: New FB game making competition - interested?
Replies: 12
Views: 2625

Re: New FB game making competition - interested?

Good news indeed! I was thinking about your competitions not long ago. I would like to participate, though I wont guarantee a finished entry =) Its to bad about the low FB game activity, as this is the only interest I have in programing. There seems to be a healthy activity with FB Chess games thoug...
by Jonge
May 10, 2014 19:13
Forum: General
Topic: ScalePut routine
Replies: 4
Views: 706

Re: ScalePut routine

Yes that would work, but it could end up creating a huge Image when I only need to show a small part of a image. If I would like to Zoom a 400x400 10 times, then this would create a 4000x4000 image, but only show a small part of it..
by Jonge
May 10, 2014 18:29
Forum: General
Topic: ScalePut routine
Replies: 4
Views: 706

Re: ScalePut routine

Thank you for your example, though your function does not exactly do what I need. I want to scale the image directly onto the screen. I will try to do something similar to your Pointer CASTing(and indexing) to manipulate the pixels. Edit: I will also test out if MultiPut makes a "pixel perfect&...
by Jonge
May 10, 2014 16:35
Forum: General
Topic: ScalePut routine
Replies: 4
Views: 706

ScalePut routine

Hi I need a simple Drawing routine for drawing FB.Images scaled/Zoomed (only 32bit color, no transparency, no rotation or sizes less then 1:1 needed). This is what I have put together so far: #Include "fbgfx.bi" Dim Shared As Integer ClipX1 = 100, ClipX2 = 500, ClipY1 = 10, ClipY2 = 410 Su...
by Jonge
Mar 19, 2014 21:21
Forum: Community Discussion
Topic: Extended Library 0.5.0 is out!
Replies: 13
Views: 8487

Re: Extended Library 0.5.0 is out!

Still having some trouble making this work: #Include "ext/graphics/font.bi" #include "ext/graphics/png.bi" using ext Dim MyFontImage As FB.IMAGE Ptr Dim As String FileName Dim As UInteger Col Dim As Integer FontSize ScreenRes 640, 480, 32 Input "FileName: ", Filename In...
by Jonge
Mar 18, 2014 21:29
Forum: Community Discussion
Topic: Extended Library 0.5.0 is out!
Replies: 13
Views: 8487

Re: Extended Library 0.5.0 is out!

Im missing "libz" when doing some tests. Should it not be in the download? Edit: Found a download for the lib. Now I have the same problem with "libjpeg" Im not sure why my code needs the jpeg library(also tried to add FBEXT_NO_LIBJPG): #define FBEXT_NO_LIBJPG -1 #Include "e...
by Jonge
Mar 08, 2014 11:19
Forum: General
Topic: Error when using static inside UDT [SOLVED]
Replies: 2
Views: 509

Re: Error when using static inside UDT [SOLVED]

Thank you, not sure how I missed that part in the documentation.. Problem solved =)
by Jonge
Mar 08, 2014 10:40
Forum: General
Topic: Error when using static inside UDT [SOLVED]
Replies: 2
Views: 509

Error when using static inside UDT [SOLVED]

Why do I get an error from this code? Type test As Integer x Static As Integer LastX Declare Constructor OverLoad() Declare Constructor OverLoad(NewX As Integer) End Type Constructor test() x = LastX + 10 LastX = x End Constructor Constructor test(NewX As Integer) x = NewX LastX = x End Constructor ...
by Jonge
Feb 12, 2014 18:21
Forum: General
Topic: Keyword name conflict.
Replies: 6
Views: 566

Re: Keyword name conflict.

Best thing is probably to stay away from using Keywords as names in UDTs(which I usually do) =)
by Jonge
Feb 12, 2014 16:28
Forum: General
Topic: Keyword name conflict.
Replies: 6
Views: 566

Re: Keyword name conflict.

Ok, would it not be better if keywords had a higher priority then variables?
by Jonge
Feb 12, 2014 14:57
Forum: General
Topic: Keyword name conflict.
Replies: 6
Views: 566

Keyword name conflict.

Im not sure if this would be considered as a bug or not.. This code: Type TestType Line As String Declare Function ReadString() As String End Type Function TestType.ReadString() As String Line Input #1, This.Line End Function Gives this error: C:\Dev\FreeBASIC-0.90.1-win32\fbc -s console "FbTem...
by Jonge
Feb 12, 2014 9:45
Forum: Community Discussion
Topic: Android code editors
Replies: 0
Views: 659

Android code editors

Hi, does anyone have any experience with viewing FreeBasic code on Android? Theres a few code editors, but I havent found anyone with any syntax coloring for Basic languages. I'm not interested in compiling FB code on android(I know this wont work) but it would be nice to do some simple editing(with...
by Jonge
Feb 07, 2014 21:31
Forum: Projects
Topic: FBEdit Goto Include fixed for GIT FBC
Replies: 35
Views: 7893

Re: FBEdit Goto Include fixed for GIT FBC

Nice to see that someone are still working on it =) If there's need for testers, please let me know ;)

This breaks code folding =)

Code: Select all

Asm

	Sub ax, bx

End Asm
by Jonge
Feb 06, 2014 9:16
Forum: Projects
Topic: FBEdit Goto Include fixed for GIT FBC
Replies: 35
Views: 7893

Re: FBEdit Goto Include fixed for GIT FBC

Yeah I know KetilO has stopped working on FBEdit, and the v1.0.7.7 is what you get if you combine KetilO's 1.0.7.6c with the files that Imortis has compiled(found in the first post of this thread). I cant find any project page for the FBEdit fork on freebasic-portal.de, does anyone still work on it?...
by Jonge
Feb 05, 2014 19:45
Forum: Projects
Topic: FBEdit Goto Include fixed for GIT FBC
Replies: 35
Views: 7893

Re: FBEdit Goto Include fixed for GIT FBC

I stumbled on to this link https://svn.freebasic-portal.de/svn/fbedit/ when viewing the "About" box in FBEdit. The Changlog.txt there says v1.0.7.8, but my copy of FBEdit says v1.0.7.7. Is there a more resent download then the one in this thread?