Search found 27 matches

by flood
Mon May 27, 2024 9:56 pm
Forum: Announcement
Topic: PureBasic 6.11 LTS is out !
Replies: 70
Views: 40012

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

I just want to say that I'm really happy with the current state of Purebasic (PB 6.11 LTS B3). My biggest project had some problems with compiling during the early versions of the C compiler, but it compiles without a hitch the past few versions and everything works as expected as far as I can tell ...
by flood
Mon Oct 24, 2022 10:23 am
Forum: Coding Questions
Topic: [PB 6.0 LTS] InitJoystick() leaks memory
Replies: 2
Views: 401

Re: [PB 6.0 LTS] InitJoystick() leaks memory

It looks like it was caused by a driver (vjoy) not playing nicely with purebasic. I uninstalled it and the memory leak is gone. I guess this thread can be removed.
by flood
Mon Oct 24, 2022 9:58 am
Forum: Coding Questions
Topic: [PB 6.0 LTS] InitJoystick() leaks memory
Replies: 2
Views: 401

[PB 6.0 LTS] InitJoystick() leaks memory

According to the manual InitJoystick() can be called repeatedly to count the number of joysticks connected, but every time this function is called some memory is leaked.

You can test it by running the following code and looking at the task manager:

Repeat
InitJoystick()
Forever


Edit: It ...
by flood
Sat Jul 10, 2021 5:16 pm
Forum: Announcement
Topic: PureBasic 6.00 released !
Replies: 626
Views: 211450

Re: PureBasic 6.00 Alpha 3 released !

Alpha 3 seems to work fine with my 16k+ lines program, which makes use of pretty much every aspect of the PB language. Very good work, Fred. 8)

Question: Could this change eventually result in supporting ARM devices?
by flood
Tue Jun 14, 2016 10:38 pm
Forum: Announcement
Topic: PureBasic 5.50 final is out !
Replies: 132
Views: 74783

Re: PureBasic 5.50 beta 1 is out

Good work. Any chance for ogre terrain paging in a future update?
by flood
Sun Sep 13, 2015 8:37 pm
Forum: Coding Questions
Topic: Clear webgadget cookies
Replies: 1
Views: 1359

Clear webgadget cookies

Hello. Is it possible to clear all webgadget cookies / persistent data without running InetCpl.cpl?

Thanks
by flood
Wed Aug 26, 2015 3:57 pm
Forum: Coding Questions
Topic: (COMMate) simulate keypress
Replies: 2
Views: 1133

Re: (COMMate) simulate keypress

Thanks for the response. My project uses commate plus, so I would like to use that instead of another library, if possible.
by flood
Tue Aug 25, 2015 11:21 pm
Forum: Coding Questions
Topic: (COMMate) simulate keypress
Replies: 2
Views: 1133

(COMMate) simulate keypress

Is it possible to simulate a keypress in an input DOM element in the webgadget? If so, can someone do me a favor and share some example code?

Thank you.
by flood
Sat May 31, 2014 5:43 pm
Forum: Announcement
Topic: PureBasic 5.30 beta 9 released!
Replies: 195
Views: 91494

Re: PureBasic 5.30 beta 1 released!

Thanks for the update! I was really hoping to see Ogre 1.9 features. Is there any plans for that in a future version?
by flood
Fri Nov 29, 2013 8:52 am
Forum: Off Topic
Topic: Ogre 1.9 Stable Released
Replies: 0
Views: 742

Ogre 1.9 Stable Released

I'm looking forward to some of these new features being implemented in a future version of PB. The terrain features in particular. 8)

http://www.ogre3d.org/2013/11/24/ogre3d ... -as-stable
by flood
Thu Sep 12, 2013 4:37 pm
Forum: 3D Programming
Topic: Terrain Paging integrated?
Replies: 6
Views: 3329

Re: Terrain Paging integrated?

Unfortunately not. We can render large terrain, but there's no support for paging it. I believe this is a limitation of Ogre which is supposed to be addressed in Ogre 1.9.
by flood
Mon Jul 29, 2013 11:30 am
Forum: Coding Questions
Topic: DrawText() -- black font?
Replies: 3
Views: 792

Re: DrawText() -- black font?

The default font size is too big for the 20x16 image. So load a a smaller font, ie:


nWidth=16:nHeight=16:nTemp.f=99.9
LoadFont(0,"Arial",8)
hImage = CreateImage(#PB_Any, nWidth + 4, nHeight, 32, RGB(212,208,200))
If StartDrawing(ImageOutput(hImage))
DrawingFont(FontID(0))
;DrawingMode(#PB ...
by flood
Thu May 30, 2013 10:47 pm
Forum: Coding Questions
Topic: Does FlipBuffers block?
Replies: 3
Views: 881

Re: Does FlipBuffers block?

FlipBuffers() blocks to wait for a vblank if vsync is enabled. I'm not sure what you're getting at here when it comes to your FPS counter.
by flood
Thu Jan 03, 2013 9:04 pm
Forum: Game Programming
Topic: Need enlightenment on terminology, practice and purpose
Replies: 6
Views: 3141

Re: Need enlightenment on terminology, practice and purpose

Is there a difference between frames per second and frame rate?
They both mean the same thing


What exactly is tick counting and how to do you effectively utilize it?

In this case the 'tick' structure fields seems to not be used. But a tick represents an iteration of a timer. The amount of ...
by flood
Mon Dec 24, 2012 7:26 pm
Forum: 3D Programming
Topic: Large Terrain
Replies: 0
Views: 1736

Large Terrain

A recently added feature in the 3d engine is that we can now render very large terrain, but I can't seem to find a way to actually load large terrain without running out of memory and crashing. Is there a way to page the terrain in and out of memory that I'm missing?

Thanks!