set the GFX_HIGH_PRIORITY and try again.
Screenres 640,480,32,1,0 or fb.GFX_HIGH_PRIORITY
Search found 43 matches
- Dec 22, 2009 12:52
- Forum: General
- Topic: Maintaining a constant framerate (experiment)
- Replies: 29
- Views: 7069
- Oct 09, 2009 3:57
- Forum: Sources, Examples, Tips and Tricks
- Topic: scale graphics
- Replies: 1
- Views: 1646
scale graphics
I was looking for a fast routine to scale 320x240 to 640x480 and put some old monitor raster line effect to it for every frame when i got an idea. Why not precalculate scale and raster in the beginning of the program. and skip the (320x240 --> scale and raster --> 640x480) routine for every frame. H...
- Sep 23, 2009 22:47
- Forum: Beginners
- Topic: Questions about Constants
- Replies: 9
- Views: 3782
- Sep 23, 2009 21:05
- Forum: Beginners
- Topic: Questions about Constants
- Replies: 9
- Views: 3782
Ok, so VAR Declares a variable whose type is implied from the initializer expression. but how is it different to do VAR UP_KEY = 75 rather than do DIM SHARED UP_KEY AS INTEGER UP_KEY = 75 ? Its not different. Its just shorter to write. I think its there to make freebasic more compatible with other ...
- Sep 23, 2009 20:33
- Forum: Beginners
- Topic: Questions about Constants
- Replies: 9
- Views: 3782
Re: Questions about Constants
I am building a program framework to put all the peices of my masterpeice in, and I have a question. I want to load a txt file that holds my users preferences, then define the keys for the game based on those preferences. I currently have the keys defined as CONSTants, but if the player changes the...
- Nov 24, 2008 14:01
- Forum: Windows
- Topic: DirectSound
- Replies: 4
- Views: 2286
- Nov 23, 2008 16:43
- Forum: Windows
- Topic: DirectSound
- Replies: 4
- Views: 2286
DirectSound
hi I decided to learn directsound. This is a working prototype that runs fine for me(windows xp). Could you try it and tell me if it works for you? It should play a soft sinus wave sound in 4 seconds printing a timer and then printing "Ready." and nothing else. Else it prints an error. #In...
- May 15, 2008 23:39
- Forum: Beginners
- Topic: 3D Starfield Problem
- Replies: 4
- Views: 1893
minimal fix.. to make it work in 18.5 'Option Explicit 'Option Static Const MAX_STAR=5000 Const STAR_SPEED=1 Const WIDTHS=640 Const HEIGHT=480 Dim Shared star_x(MAX_STAR) As Integer Dim Shared star_y(MAX_STAR) As Integer Dim Shared star_z(MAX_STAR) As Integer Dim Shared c As Integer Dim Shared col A...
- Apr 08, 2008 9:10
- Forum: Beginners
- Topic: running without dll
- Replies: 1
- Views: 1649
running without dll
How do i run a program if the dll it uses does not exist?
- May 08, 2007 0:26
- Forum: Windows
- Topic: directx...
- Replies: 2
- Views: 2201
directx...
I installed FB-v0.17b-may-01-2007-testing-win32 My programs does not run directx-fullscreen any more. Insted it uses gdi-fullscreen. This works... #include"fbgfx.bi" dim driv as string driv="directx" screencontrol fb.set_driver_name,driv screen 18,,,FB.GFX_WINDOWED sleep end This...
- Apr 12, 2007 13:03
- Forum: Libraries Questions
- Topic: SoundLib?
- Replies: 3
- Views: 3105
SoundLib?
What soundlibrarys do you have in youre system?
I have Directsound and OpenAL.
I have Directsound and OpenAL.
..
Hmm.. looks complicated to use.
I was hoping it would be something more simple.
Well, thankyou anyway.
---
Yes.. 49152 is a start-address of 4kb free memory.
and also was the start-address to my first MLprogram.
I was hoping it would be something more simple.
Well, thankyou anyway.
---
Yes.. 49152 is a start-address of 4kb free memory.
and also was the start-address to my first MLprogram.
Pen
Hi
You know digital pen that you use when painting
on the computer. They are pressure sensitive.
How do i read the level of pressure in a
FreeBasic program? Is it a complicated thing to do?
You know digital pen that you use when painting
on the computer. They are pressure sensitive.
How do i read the level of pressure in a
FreeBasic program? Is it a complicated thing to do?
- Jan 23, 2007 18:18
- Forum: Windows
- Topic: unicode problem
- Replies: 2
- Views: 1623
- Jan 23, 2007 17:26
- Forum: Windows
- Topic: unicode problem
- Replies: 2
- Views: 1623
unicode problem
hi
Wstring/Wstr only works in console mode?
This works..
This works not..
Using WinXP,FreeBasic 0.16
Wstring/Wstr only works in console mode?
This works..
Code: Select all
Print Wstr("åäö")
Code: Select all
Screenres 320,240,32,1,0
Print Wstr("åäö")