Search found 14 matches

by gavindi
Tue Feb 19, 2013 8:10 pm
Forum: Linux
Topic: Get Display resolution
Replies: 4
Views: 1720

Re: Get Display resolution

Yep, my bad. It only the DesktopFrequency() that doesn't support Linux. I think I've been staring at my monitor for too long. I'm going outside for fresh air. :)
by gavindi
Tue Feb 19, 2013 10:40 am
Forum: Linux
Topic: Get Display resolution
Replies: 4
Views: 1720

Re: Get Display resolution

It was unsupported in PB5.0, so is it in 5.1 that it works? Or do I have it wrong? The documentation says it's only for Windows & OSX.
by gavindi
Tue Feb 19, 2013 9:08 am
Forum: Linux
Topic: Get Display resolution
Replies: 4
Views: 1720

Get Display resolution

Hi,

Does anyone know how to get the current display resolution under Linux? I'm guessing it's going to involve importing C and doing X11 API junk since ExamineDesktop() doesn't work.
Any help would be hugely appreciated.

Cheers,
G.
by gavindi
Tue Feb 19, 2013 8:59 am
Forum: Linux
Topic: catch and release mouse in windowed mode
Replies: 1
Views: 1928

Re: catch and release mouse in windowed mode

I'd be keen to learn how to do this also so I'm giving this a bump in case someone now knows.
by gavindi
Sat Feb 16, 2013 6:37 pm
Forum: 3D Programming
Topic: How to disable the GUI on a second camera
Replies: 4
Views: 1903

Re: How to disable the GUI on a second camera

Hi Again,

I thought I'd show how I also mangled your example since it's also having a strange side-affect now. I'm trying to tell it to show the mouse pointer on camera 0 only and now there is no mouse at all on either camera ...
by gavindi
Sat Feb 16, 2013 6:22 pm
Forum: 3D Programming
Topic: How to disable the GUI on a second camera
Replies: 4
Views: 1903

Re: How to disable the GUI on a second camera

Hey,

That's really odd. Your example works as expected and it's a very simple thing to code. SO simple, I must be overlooking something but for the life of me, I can't see why it isn't working in my code. I tried mangling your example to break it and I can't so what the hell am I overlooking ...
by gavindi
Fri Feb 15, 2013 11:41 pm
Forum: 3D Programming
Topic: How to disable the GUI on a second camera
Replies: 4
Views: 1903

How to disable the GUI on a second camera

Hi all,

I'm using a 3D GUI in my little project that I only want to be displayed on Camera 0. My second camera (1) shouldn't display the GUI at all as it's used as a top-down map view of the playfield.
Currently, I have:
ShowGUI(32, #False,0,#True)
ShowGUI(255, #False,1,#False)
My understanding ...
by gavindi
Fri Feb 15, 2013 1:05 am
Forum: 3D Programming
Topic: Colour fade transitions between two 3D scenes
Replies: 3
Views: 1772

Re: Colour fade transitions between two 3D scenes

Awesome suggestion Comtois, thanks. I do notice that no matter what, my Text3D stays in front of the plane. This happens even if I move the text back through the Z coord.
by gavindi
Thu Feb 14, 2013 9:23 pm
Forum: Coding Questions
Topic: PB 5.10 Final - Text3D issue since last beta
Replies: 3
Views: 1167

Re: [Invalid] [PB 5.10 Final] - Text3D issue since last beta

Fred may have a different approach here but I've changed the title to include [Invalid] since it's not a bug.
by gavindi
Thu Feb 14, 2013 9:22 pm
Forum: Coding Questions
Topic: PB 5.10 Final - Text3D issue since last beta
Replies: 3
Views: 1167

Re: [PB 5.10 Final] - Text3D issue since last beta

Hi Comtois,

You are bang on with your answer. Ive changed my code as per your comments and it's working great.
Thanks for you help, much appreciated.

Cheers,
G.
by gavindi
Thu Feb 14, 2013 9:17 pm
Forum: 3D Programming
Topic: Colour fade transitions between two 3D scenes
Replies: 3
Views: 1772

Colour fade transitions between two 3D scenes

Hi,

I'm prototyping a game at the moments and I have two 3D scenes. The first is the title screen and the second is the game scene. When the player presses starts, I would like to fade the scene to white or black (or any other colour for that matter) but I can't think of a way to do this other than ...
by gavindi
Thu Feb 14, 2013 8:17 pm
Forum: Announcement
Topic: PureBasic 5.10 is released !
Replies: 50
Views: 31552

Re: PureBasic 5.10 is released !

+1 your awesomeness! Thanks team!
by gavindi
Thu Feb 14, 2013 8:15 pm
Forum: Coding Questions
Topic: PB 5.10 Final - Text3D issue since last beta
Replies: 3
Views: 1167

PB 5.10 Final - Text3D issue since last beta

I've upgraded from beta 8 to final and my code (which hasn't changed overnight) will not work. I've double-checked my include file to ensure that my constants are correct.

Upon running my code, I recieve the following error:
[05:08:28] Waiting for executable to start...
[05:08:28] Executable type ...
by gavindi
Wed Feb 06, 2013 12:03 pm
Forum: Feature Requests and Wishlists
Topic: Deprecate words 'Dim', 'NewList', 'NewMap'
Replies: 21
Views: 8918

Re: Deprecate words 'Dim', 'NewList', 'NewMap'

I like your suggestion. It would bring a little more consistency to the syntax. +1