Search found 11 matches
- Sun Jan 05, 2020 4:34 am
- Forum: The PureBasic Editor
- Topic: Quick help text color
- Replies: 0
- Views: 1699
Quick help text color
I'm using a dark Windows 7 theme and the way the "quick-help" text color behaves, makes it a little hard to read. As you see in the image below, when the cursor is on the function name, the help text at the bottom is white. https://i.imgur.com/3uASlp2.jpg And when you place the cursor on a...
- Wed Aug 07, 2013 8:45 pm
- Forum: Coding Questions
- Topic: Delta timing problem [Solved]
- Replies: 1
- Views: 790
Re: Delta timing problem
I solved it by using timeGetTime_() instead of elapsedmilliseconds(). Working fine now
- Wed Aug 07, 2013 7:53 pm
- Forum: Coding Questions
- Topic: Delta timing problem [Solved]
- Replies: 1
- Views: 790
Delta timing problem [Solved]
Hi, hope someone can help me out with this simple(I'm sure) problem. Why is the square skipping along and not moving smoothly? I made the same program in Blitzmax using the same technique, and there it's smooth. EnableExplicit InitSprite() Define.i win=OpenWindow(#PB_Any, 0, 0, 800, 600, "test&...
- Mon Oct 10, 2011 11:58 pm
- Forum: Game Programming
- Topic: 2D drawing slow as hell
- Replies: 64
- Views: 19689
Re: 2D drawing slow as hell
Swos2009, with Kkrunchy I got the PB version down to 16k
- Tue Feb 15, 2011 12:38 am
- Forum: Tricks 'n' Tips
- Topic: Simple DELTA-TIMER
- Replies: 0
- Views: 935
Simple DELTA-TIMER
I'm just starting out and am quite proud of myself for figuring out what seems to be a working delta-timer. Please let me if know I did something stupid :lol: I thought it might be helpful for beginners like myself. :!: Make sure the debugger is ON to see the FPS Also, to simulate running on a slow ...
- Sat Oct 02, 2010 1:55 am
- Forum: Coding Questions
- Topic: Flight Simulator link (VB to PB), need help!
- Replies: 6
- Views: 1614
Re: Flight Simulator link (VB to PB), need help!
I think I'm getting closer to getting this to work. I hadn't read through the VB source enough to see that the FSUIPC_read function is indeed there so no .lib needed it seems. It's not working yet though, but here is what I've got so far. Ofcourse, if you don't have any version of MS Flight Simulato...
- Fri Oct 01, 2010 6:13 pm
- Forum: Coding Questions
- Topic: Flight Simulator link (VB to PB), need help!
- Replies: 6
- Views: 1614
Re: Flight Simulator link (VB to PB), need help!
Thanks for the advice, I'll check it out.
- Thu Sep 30, 2010 10:58 pm
- Forum: Coding Questions
- Topic: Flight Simulator link (VB to PB), need help!
- Replies: 6
- Views: 1614
Re: Need help converting this C code to PB
I took your advice and followed the VB example. Before I get my beginner hopes up, I'd like to check with you how I'm doing so far, and a couple of questions too... For example, here is a function declaration in VB: Declare Function CreateFileMapping& Lib "kernel32" Alias _ "Creat...
- Mon Sep 13, 2010 4:48 pm
- Forum: Coding Questions
- Topic: Flight Simulator link (VB to PB), need help!
- Replies: 6
- Views: 1614
Flight Simulator link (VB to PB), need help!
First I'd better explain what all this is about... I want to be able to communicate with MS Flight Simulator through the FSUIPC dll. You can download the FSUIPC SDK here: http://www.schiratti.com/files/dowson/FSUIPC_SDK.zip?timestamp=010309 There are examples for C, ASM, VB etc. included, but unfort...
- Thu Aug 13, 2009 6:43 pm
- Forum: Coding Questions
- Topic: 3d stars
- Replies: 2
- Views: 803
Re: 3d stars
Thanks! I accually figured it out myself. Still there is sort of a twinkle in the ones that come almost straight at you, but hey... they are stars aren't they :) I also changed the col variable to float type. For some reason the stars turned yellow when it was of byte type. I find it strange that PB...
- Thu Aug 13, 2009 3:19 pm
- Forum: Coding Questions
- Topic: 3d stars
- Replies: 2
- Views: 803
3d stars
Hi! I've just started with the demo version of PB and trying to learn something. Here's some 3d stars code i made and I need some help with it. How do I calculate the colors correctly, like from 0-255 for each RGB? Also is this a correct way of using structures? InitSprite() InitKeyboard() #gfxw=640...