Search found 327 matches

by Kot
May 12, 2007 18:23
Forum: Archive
Topic: And now my version of Breakout..
Replies: 25
Views: 8042

I've been using FB since .10 and haven't noticed anything like what you say. It appeared in version 0.17. For the code look some posts up (the one without Sleep 1) - try to move the image to the left and right, it doesn't go with constant speed, but "jumps". Under 0.16 even without Sleep ...
by Kot
May 11, 2007 21:49
Forum: Archive
Topic: And now my version of Breakout..
Replies: 25
Views: 8042

the code that was included with the original download + sleep 1 It wasn't :-( only two graphic files and two exe. BTW: does anybody know why FB 0.17 became so "jumpy"? And how can the Cls command be replaced? It slows down the program about a hundred times, almost no matter what color dep...
by Kot
May 10, 2007 21:45
Forum: Archive
Topic: And now my version of Breakout..
Replies: 25
Views: 8042

Thanks, now it works as I expect it to work (or at least much better). I must think of some optimization for speed now.
by Kot
May 10, 2007 21:16
Forum: Sources, Examples, Tips and Tricks
Topic: Decentralized Group Behavior (Emergence) Programming
Replies: 23
Views: 7482

And some evolution into random directions :-)
by Kot
May 10, 2007 20:09
Forum: Archive
Topic: And now my version of Breakout..
Replies: 25
Views: 8042

Unfortunately, not. But, as I said, I didn't change a single dot. Some bmp pictures, some PUT instructions and it works much less smoothly on 0.17 than on 0.16. Strange. But I wonder what version TheBlueKeyboard compiled his game with, because his animation looks similarly - his ball and bat "j...
by Kot
May 10, 2007 19:51
Forum: Archive
Topic: And now my version of Breakout..
Replies: 25
Views: 8042

I have noticed FB doesn't typically make animations as smooth as other programs FB isn't to blame. Inexperienced coders are. AGREED! Hmmm, I tried to make a simple game using FB 0.16 and it ran quite smoothly, but when I moved to 0.17 it started to "jump". The code was the same. Can you t...
by Kot
Apr 07, 2007 15:11
Forum: Beginners
Topic: Single precision doesn't work for me?
Replies: 4
Views: 1632

Thanks for explanation, but it's a bit strange - to convert single precision number into single precision number... What about speed? Or I'll have to use a double then :-( although some other basics seem to work well :-/
by Kot
Apr 07, 2007 9:39
Forum: Beginners
Topic: Single precision doesn't work for me?
Replies: 4
Views: 1632

Single precision doesn't work for me?

Is there something wrong withe me or my computer? When I do something like this: Option Explicit Dim SomeVariable As Single SomeVariable=4.6 Locate 2,20 Print SomeVariable If SomeVariable=4.6 Then Print "four point six" Sleep I get output 4.6. And where is text "four point six"? ...
by Kot
Feb 24, 2007 0:37
Forum: Projects
Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
Replies: 964
Views: 240961

I think FBEdit shouldn't work on the real *.bas file you are working on, but on some temporary file (but of course display right command line when compiling). When I write a program and press ctrl+F5 it immediately saves my working file even if I don't want it to. IMO it should save it only when I p...
by Kot
Dec 30, 2006 11:15
Forum: Documentation
Topic: Missing fb error message
Replies: 2
Views: 2748

Thanks. I appreciated this feature when I compared program speed - sometimes -exx optcion slowed it down more than twice. I must write my programs more carefully :-)
by Kot
Dec 29, 2006 21:06
Forum: Documentation
Topic: Missing fb error message
Replies: 2
Views: 2748

Missing fb error message

Try this: Dim Array(25) as Integer Array(29)=12 Print Array(29) Sleep and output is 12, although there should be an error. And try this: dim Array(25) as Integer Array(129)=12 print Array(129) Sleep and still no error message, only windows "there was problem with the application and it will be ...
by Kot
Dec 29, 2006 19:15
Forum: Projects
Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
Replies: 964
Views: 240961

Hi, As a newbie in programming, I'd ask for a message box about confirmation when deleting line "Sub SomeSubroutine" in minimized state. I minimized a sub (a "-" on the left) and then deleted the line with sub's name and the whole sub gone away. Fortunately I noticed it before I ...