Search found 22 matches

by Master Games
Wed Jun 23, 2004 8:34 pm
Forum: Coding Questions
Topic: Dynamic Numbering for Gadgets, Help.
Replies: 2
Views: 1220

Thanks, that works.
by Master Games
Wed Jun 23, 2004 7:32 pm
Forum: Coding Questions
Topic: Dynamic Numbering for Gadgets, Help.
Replies: 2
Views: 1220

Dynamic Numbering for Gadgets, Help.

Hi,

I get this error "Gadget object not initialized" when I resize. I know the problem must be in the callbackprocedure but I do not know enough why or how to fix it.

Here is the Code:

;Created By Master Games

;Constants


;Call Back Procedure to handle gadget resizing
Procedure ...
by Master Games
Sat Jan 03, 2004 7:50 am
Forum: Coding Questions
Topic: Passing a Link List (NewList) as a parameter to a function
Replies: 2
Views: 1701

Passing a Link List (NewList) as a parameter to a function

We would like to know how to past a link list created using NewList command as a parameter in a procedure call. Also we would like to know how to modify the link list inside the procedure call.

example:


Structure mystruct
data1.l
data2.l
EndStructure

NewList mylist.mystruct()

Procedure ...
by Master Games
Thu Dec 25, 2003 5:54 am
Forum: Game Programming
Topic: DisplaySprite3D garbage???
Replies: 13
Views: 5632

Looks great to me.
by Master Games
Sat Nov 22, 2003 7:38 am
Forum: Coding Questions
Topic: Help on PB's Particle Engine
Replies: 0
Views: 1159

Help on PB's Particle Engine

Hey all,

Is there a tutorial or can some one write one, that explains how to use pb's particle engine or how to make your own? PB's manuel says that PB's particle engine can simulate rain, fire, fog, and smoke. How? All I see is a few commands and I can not do much with them. All I can do is just ...
by Master Games
Sat Nov 22, 2003 7:33 am
Forum: Game Programming
Topic: CMG3D Engine in the works, written in Purebasic...
Replies: 37
Views: 13277

Thank you for the quick reply. I just want to say my biggest complaint with the ogre engine is that they made their own model format. I like engines that use the standard format, unless they make it very easy to convert (like making a program to convert the normal model formats (.3d, .x, ...) making ...
by Master Games
Sat Nov 22, 2003 6:31 am
Forum: Game Programming
Topic: CMG3D Engine in the works, written in Purebasic...
Replies: 37
Views: 13277

Hey codemonger,

What is a rough estimate when your engine will be able to be bought? And how do you think it will compare to pb's 3d engine by then? Since rumor has it that release 3.90 will add alot to the 3d engine. And if will you, if the release adds affects the 3d engine, will you be using any ...
by Master Games
Thu Nov 20, 2003 7:45 pm
Forum: Game Programming
Topic: 2d Particle Engine
Replies: 3
Views: 2452

Well I have been playing around with PB. The range and power pb has is amazing. For the particles we can use normal sprites, Sprite3d, the particle engine, and billboards. The normal sprites you can no do much with except show them, the special fx is way to slow to really use at all (I would use ...
by Master Games
Wed Nov 19, 2003 7:42 pm
Forum: Game Programming
Topic: 2d Particle Engine
Replies: 3
Views: 2452

TranslucideSprites are really slow... any other ideas? would using Materials work?

I am trying to make a fast (atleast do not drain the fps down to 20 fps or below) but good looking particles (do not look like bunch of pixels). For example you have a bullet that glows and the glow is blended with ...
by Master Games
Wed Nov 19, 2003 6:32 am
Forum: Game Programming
Topic: 2d Particle Engine
Replies: 3
Views: 2452

2d Particle Engine

Can anyone show me how to make a simple 2d particle engine for showing like smoke and glow coming from like a ship? I have been trying to use PureBasic's particle engine and it is not working very well.
by Master Games
Tue Nov 18, 2003 11:27 pm
Forum: Feature Requests and Wishlists
Topic: For...Next Step Variable
Replies: 23
Views: 15314

GPI wrote:
Fred wrote:Not implemented for now...
But would be a good idea (and i can't imagine, that it is a big problem)
I second that! Since C allows you to do it.
by Master Games
Tue Nov 18, 2003 5:07 pm
Forum: Feature Requests and Wishlists
Topic: For...Next Step Variable
Replies: 23
Views: 15314

Fred, is this feature in the next version? or can it still be added if it is not?
by Master Games
Fri Oct 17, 2003 5:24 am
Forum: Coding Questions
Topic: Right Click in the ListView Gadget
Replies: 0
Views: 1038

Right Click in the ListView Gadget

Hi,

When I try and detect the right click in the ListViewGadget it does nothing, I can detect the left click and others. I read that this is a bug, so what are some work arounds for this (please post some code if you can since I am new to purebasic) and what is the status of this bug being fixed ...
by Master Games
Wed Oct 15, 2003 3:33 pm
Forum: Windows
Topic: GetSystemMetrics
Replies: 7
Views: 4857

Thank you Kale and Codemonger, it works now :)
by Master Games
Wed Oct 15, 2003 4:57 am
Forum: Windows
Topic: GetSystemMetrics
Replies: 7
Views: 4857

GetSystemMetrics

I have a problem that the SM_CYSCREEN returns the SM_CXSCREEN value instead of what it should be, SM_CXSCREEN works fine.

My screen resolution is 1024 by 768 and SM_CXSCREEN and SM_CYSCREEN both return 1024. Is this a bug or am I doing something wrong?


;Gets Screen X and Y
ScreenX ...