Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / "Extends" DarkBASIC Professional to another level...

Author
Message
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 19th Jun 2006 23:31 Edited at: 22nd Jun 2006 17:25
Hi all.
This message is to announce you that my plugin called "Extends" is now available here :
http://darkbasicpro.thegamecreators.com/?f=extends
Enjoy.

EDIT :
Here is the full command list for eXtends 1.0 & 1.1 :
-----------------------------------------------------
WARNING : some commands (approx 5 or 6) are not available in the current version and will be released for free in Upgrade 1.1 soonly.
So, be warned that this list is the eXtends 1.1 official command list :

BASIC 2D COMMANDS :
=B2D Initialized()

XGUI WINDOWS COMMANDS :
=XGui Setup( SkinFileName$ )
XGui Clear
XGui CloseToClose
XGui CloseToHide
XGui Enable Alpha Window
XGui Disable Alpha Window
XGui Create Window WindowNumber, Width, Height, Flag
XGui Set Alpha WindowNumber, AlphaValue
XGui Window To Front WindowNumber
XGui Window To Back WindowNumber
XGui Position Window WindowNumber, XPosition, YPosition
XGui Window Properties WindowNumber, BorderFlag, TitleFlag, DraggingMode, CloseButton
XGui Window Border Off WindowNumber
XGui Window Border On WindowNumber
XGui Window Title Off WindowNumber
XGui Window Title On WindowNumber
XGui Window Dragging Off WindowNumber
XGui Window Dragging On WindowNumber
XGui Window Close Off WindowNumber
XGui Window Close On WindowNumber
Xgui Set Window Title WindowNumber, StringTitle$
XGui Delete Window WindowNumber
XGui Show Window WindowNumber
XGui Hide Window WindowNumber
=XGui Get Window()
=XGui Get Window XPos( WindowNumber )
=XGui Get Window YPos( WindowNumber )
=XGui Window Exist( WindowNumber )
XGui Stretch Window WindowNumber, XStretch, YStrecth
XGui Default Window Size WindowNumber
XGui Window Use XFont FontNumber
XGui Window Default Font FontNumber
XGui Attach Window MasterWindow, ChildWindow , RelativePosition
XGui Detach Window ChildWindow
=XGui Get Attached( WindowNumber )
XGui Update
=XGui Window Hidden( WindowNumbder )

GADGETS COMMANDS FOR XGUI WINDOWS :
XGui Add Gadget WindowNumber, GadgetNumber, Xpos, Ypos, XSize, Ysize, ImageNumber
XGui Add Gadget Combi WindowNumber, GadgetNumber, Xpos, Ypos, XSize, Ysize, Image, GadgetText$
XGui Add Gadget Text WindowNumber, GadgetNumber, Xpos, Ypos, XSize, Ysize, Image, GadgetText$
=XGui Window Gadget Count( WindowNumber )
=XGui Get Clicked()
=XGui Delete Gadget( GadgetNumber )
XGui Set Gadget Image GadgetNumber, ImageNumber
XGui Set Gadget Text GadgetNumber, Text$
XGui Position Gadget GadgetNumber, PosX, PosY

BITMAP FONTS COMMANDS :
=XFont Setup Font( ImageFile$, FontNumber, FontSize, FirstChar, Flag )
XFont Clear Font FontNumber
=XFont Exist( FontNumber )
XFont Clear All Fonts
XFont Set Cursor XCurs, YCurs
XFont Set Current Font FontNumber
=XFont Text Width( StringText$ )
=XFont Text Height( StringText$ )
XFont Print StringText$
XFont Set Current Bitmap BitmapNumber
XFont Auto Return Mode Mode
XGui Set Text Opaque
XGui Set Text Transparent

CHAT SYSTEM COMMANDS FOR XGUI WINDOWS :
XGui Set Chat Gadget GadgetNumber
XGui Set Dialog Gadget GadgetNumber
XGui Send Dialog StringText$
XGui Set Chat ScanCode ScanCodeID
=XGui Chat Active()
=Last Chat Command$()

BASIC 3D COMMANDS :
=B3D Initialized()

3D OBJECTS COMMANDS :
=B3D Load Object( FileName$ )
=B3D Delete Object( ObjectNumber )
=B3D Make Object( Meshe, Texture )
=B3D Make Object Box( Width , Height , Depth )
=B3D Make Object Cone( Size )
=B3D Make Object Cube( Size )
=B3D Make Object Cylinder( Size )
=B3D Make Object Sphere( Size )
=B3D Make Object Triangle( X1,Y1,Z1,X2,Y2,Z2,X3,Y3,Z3 )
=B3D Make Object Plain( XSize, ZSize )
=B3D Make Object From Limb( Object Number, Limb Number )
=B3D Clone Object( SourceObject )
=B3D Instance Object( SourceObject )

BILLBOARDING COMMANDS :
B3D Object To Billboard ObjectID
B3D Remove Object From Billboard ObjectID
B3D Disable YAlign ObjectID
B3D Enable YAlign ObjectID
B3D Update Billboards
B3D Set BillBoard Camera CameraID
B3D Clear Billboard List
=B3D Get Billboard( Count )

SIMPLES 3D MATHS COMMANDS :
=B3D Get Distance XPoint1, YPoint1, ZPoint1, XPoint2, YPoint2, ZPoint2
=B3D Get Distance From Camera( ObjectNumber )
=B3D Get Objects Distance( Object1, Object2 )
=B3D Get Distance To Object( Object, XPoint, YPoint, ZPoint )
=B3D Get Distance To Camera( XPoint, YPoint, ZPoint )

BITMAPS COMMANDS :
=BMP Initialized()
BMP Clear All Bitmaps
=BMP Exist Bitmap Count()
=BMP Delete Bitmap( Bitmap Number )
=BMP Load Bitmap( FileName$ )
=BMP Clone Bitmap( Source Bitmap )
=BMP Make Bitmap( Width, Height )
=BMP Make Bitmap From Memblock( Memblock Number )

CAMERAS COMMANDS :
=CMR Initialized()
=CMR Make Camera()
=CMR Clone Camera( SourceCamera )
=CMR Delete Camera( CameraNumber )
CMR Clear All Camera

EFFECTS 3D COMMANDS :
=E3D Initialized()
=E3D Load Effect( FileName$, TextureMode )
=E3D Delete Effect( EffectNumber )
E3D Clear All Effects
=E3D Get Effect Count()

FILE COMMANDS :
=DSK Initialized()
DSK Clear
=DSK Get Count()
=DSK Close File( FileNumber )
=DSK Open To Read( FileName$ )
=DSK Open To Write( FileName$ )

HIGH SCORES TABLES COMMANDS :
DSK Add Highscore Score, Player$, Level
=DSK Get Highscore( ScorePosition )
=DSK Get HighScore Name$( ScorePosition )
=DSK Get HighScore Level( ScorePosition )
DSK Save HighScore FileName$
DSK Load HighScore FileName$
DSK Clear HighScore

IMAGES COMMANDS :
=IMG Initialized()
IMG Clear
=IMG Get Count()
=IMG Delete Image( ImageNumber )
=IMG Load Image (Filename$ (,flag) )
=IMG Make Image( Left, Top, Right, Bottom (,flag) )
=IMG Make Image From Memblock( Memblock Number )
(=)IMG Mosaic( SourceImage, MosaicFactor, RandomMode (,TargetImage) )
(=)IMG Wobble( SourceImage (,TargetImage ) )
Set Wobble Amplitude, Speed, Step
=IMG Generate DOT3( SourceImage, Smooth, Step )

VIRTUAL 3D LIGHTS COMMANDS :
=L3D Initialized()
L3D Set Control Camera CameraNumber
L3D Lock Light LightNumber
L3D Unlock Light LightNumber
=L3D Add Virtual Light( Xpos, YPos, ZPos, Range, RedColor, GreenColor, BlueColor, Style )
=L3D Delete Virtual Light( LightNumber )
L3D Clear Virtual Lights
L3D Set Visibility Range Range
L3D Position Virtual Light LightNumber, XPos, YPos, ZPos
L3D Display Lights
L3D Set Virtual Light Color LightNumber, Red, Green, Blue
L3D Set Virtual Light Range LightNumber, Range
L3D Hide Virtual Light LightNumber
L3D Show Virtual Light LightNumber

VIRTUAL 3D LIGHTS FUNCTIONS :
=L3D Get Control Camera()
=L3D Get Locked LightNumber()
=L3D Get Allocated Light()
=L3D Get Virtual Light Count()
=L3D Get Visibility Range()

MATRIXES COMMANDS :
=MTX Initialized()
=MTX Make Matrix( Width, Height, XTiles, ZTiles )
=MTX Delete Matrix( MatrixNumber )
=MTX Clear All Matrix

MATRIXES FUNCTIONS :
=MTX Exist Matrix Count()

MEMBLOCKS COMMANDS :
=MBC Initialized()
MBC Clear All Memblocks
=MBC Exist Memblock Count()
=MBC Delete Memblock( MemblockNumber )
=MBC Clone Memblock( SourceMemblock )
=MBC Make Memblock( BytesSize )
=MBC Make Memblock From Bitmap( BitmapNumber )
=MBC Make Memblock From Image( ImageNumber )
=MBC Make Memblock From Mesh( MeshNumber )
=MBC Make Memblock From Sound( SoundNumber )
=MBC Make Memblock Image( Width, Height, Depth )
=MBC Stretch Image [Source, Target] or [Source, Width, Height]

2D MEMBLOCKS COMMANDS :
MBC Plot MemblockNumber, X, Y, RGBColor
MBC Circle MemblockNumber, X, Y, Diameter, RGBColor, FillMode
MBC Cube MemblockNumber, X, Y, Size, RGBColor, FillMode
MBC Box MemblockNumber, Left, Top, Right, Bottom, RGBColor, FillMode
=MBC Get Pixel( MemblockNumber, X, Y )

MUSICS COMMANDS :
=MSC Initialized()
MSC Clear
=MSC Get Count()
=MSC Delete Music( MusicNumber )
=MSC Load Music( Filename$ )

3D PARTICLES COMMANDS :
=P3D Initialized
=P3D Add Particle( Count, Texture, ParticleSize )
=P3D Delete Particle( ParticleID )
P3D Position Emitter ParticleID, XPos, YPos, ZPos
P3D Set Particle Area ParticleID, XSize, YSize, ZSize
P3D Set Primitive Mode ParticleID, XAdd, YAdd, ZAdd
P3D Set As Flames Particle ParticleID
P3D Set As Smoke Particle ParticleID
P3D Set As Rain Particle ParticleID
P3D Set As Snow Particle ParticleID
P3D Set As Primitive Particle ParticleID
P3D Update Particles
P3D Clear Particles
P3D Hide Particle ParticleID
P3D Show Particle ParticleID

3D PARTICLES FUNCTIONS :
=P3D Get Particle Exist( ParticleID )
=P3D Get Particle XRange( ParticleID )
=P3D Get Particle YRange( ParticleID )
=P3D Get Particle ZRange( ParticleID )
=P3D Get Particle XPos( ParticleID )
=P3D Get Particle YPos( ParticleID )
=P3D Get Particle ZPos( ParticleID )
=P3D Get Particle Count( ParticleID )
=P3D Get Particle Type( ParticleID )
=P3D Get Particle Size( ParticleID )
=P3D Get Particle XSpeed( ParticleID )
=P3D Get Particle YSpeed( ParticleID )
=P3D Get Particle ZSpeed( ParticleID )

REAL-TIME SKY SYSTEM COMMANDS :
=RTS Initialized
RTS Set Clock Hour, Minutes, TimeExpansion
RTS Set Wind Speed X#, Z#
RTS Setup Skybox Filename$, CameraMode
RTS Clear Skybox
RTS Update Skybox
RTS Fog On
RTS Fog Off
RTS Fog Distance Range
RTS Fog Color Red, Green, Blue
RTS Set Day NEWDAY
RTS Set Hour NEWHOUR
RTS Set Minutes NEWMINUTE
RTS Set Seconds NEWSECOND
RTS Set Cloud Density PERCENTVALUE
RTS Set Mist Density PERCENTVALUE
RTS Set Time Expansion SPEED#
RTS Set Shadow Shading On
RTS Set Shadow Shading Off

REAL-TIME SKY SYSTEM FUNCTIONS :
=RTS Get Day()
=RTS Get Hour()
=RTS Get Minutes()
=RTS Get Seconds()
=RTS Get Loaded Object( ObjectID )

SOUNDS COMMANDS :
=SND Initialized()
SND Clear
=SND Get Count()
=SND Delete Sound (SoundNumber )
=SND Load Sound( Filename$ )
=SND Load Sound3D( Filename$ )
=SND Make Sound From Memblock( MemblockNumber )

SPRITES COMMANDS :
=SPR Initialized()
SPR Clear
=SPR Get Count()
=SPR Delete Sprite( SpriteNumber )
=SPR Sprite( Xpos, YPos, ImageNumber )
=SPR Make Animated Sprite( FileName$, Across, Down, ImageNumber )
SPR Prepare Collision SpriteNumber
=SPR Get Collision( Sprite1, Sprite2, Flag )
SPR Free Collision SpriteNumber
=SPR Get Distance( Sprite1, Sprite2 )

eXtends initializing:
=EXT Initialized()

TEXTS COMMANDS :
=STR Initialized()
=STR Extract Filename( TextString$ )
=STR Extract Drawer( TextString$ )
=STR Remove File Extention( FileName$ )
=STR Get File Extension( FileName$ )
=STR Find Char( TextString$, Char$, Counter )
=STR Get Left From( TextString$, Char$ )
=STR Get Right From( TextString$, Char$ )
=STR Get Middle( TextString$, StartPosition, Length )

All we have to decide is what to do with the time that is given to us.
Chris Franklin
18
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 20th Jun 2006 00:16
awesome i'll buy when i can

Stunt man 2 http://forum.thegamecreators.com/?m=forum_view&t=79827&b=8&p=0
WHITEKNUCKLE IS BACK! Check the wip boards for more info
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 20th Jun 2006 00:36
@ Freddix - already ordered!

Champion

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Shark
17
Years of Service
User Offline
Joined: 7th May 2006
Location: The world
Posted: 20th Jun 2006 01:31
Nice, but to bad I have DBC!...

HI
Wandering Swordsman
17
Years of Service
User Offline
Joined: 14th Jun 2006
Location:
Posted: 20th Jun 2006 03:17
'Extends' just made my 'must have' list!

Very nice!

(Is there anywhere I can grab a demo program that is already using these commands?)

When I dream,
I carry a sword in one hand,
a gun in the other...
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 20th Jun 2006 12:08
This is a surprise.
I am navigating today in the DBP website and find this pugling. Ans I run to the forums.
I read for a while that you wait much time to see your pugling licensed by TGC. Congratulations.

Ordered. I will post a review when recive and test it.
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 20th Jun 2006 12:12
@All : Thanks for your comments and your support.

All we have to decide is what to do with the time that is given to us.
DazzaB73
17
Years of Service
User Offline
Joined: 18th May 2006
Location:
Posted: 20th Jun 2006 14:40
Congrats Freddix. I just purchased it and now waiting for TGC to process the payment and update my order so I can download it.
trogdor
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: Portsmouth, VA, USA
Posted: 20th Jun 2006 16:55
looks good Freddix. I placed my order already.

When does X-Quad Editor come out?
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 20th Jun 2006 18:34
@Trogdor : X4 is due to be released on September 2006

All we have to decide is what to do with the time that is given to us.
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 20th Jun 2006 19:08
One question. You have join all the commands in one DLL or are tons of DLL as you say in the WIP board??
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 20th Jun 2006 19:28
there are many DLL
so, if you don't use command set from a DLL, it will not be included in the final .EXE and your .EXE will be smaller than if all was in 1 DLL

All we have to decide is what to do with the time that is given to us.
French gui
19
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 20th Jun 2006 20:12
Quote: "Champion "


Swine!

Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 20th Jun 2006 20:37
Ok. I test all the demos and are very good.

I will tell you about some issues that I found:
1) The "CLIC HERE TO GO BACK TO MAIN MENU" links in the Help go to a HTML page that not exist correctly on "Quick Start" and "Technical documents".

2) If you copy the "My first Dynamic rotating cube (inspired from original DarkBASIC Professional help" code to a New DBP proyect and compile you recibe an error: "DBProExtends\GetDBProBase init failed".

3) I see that there are command called B3D Initialized(), ... Maybe will help if talk about that in the "Quick Start" help.

4) In all examples there are a function called "Uselles" that never are called and said that are for tell the compiler to load DLL`s. Can you explain more please.

5) The "How to install the plugin" help said that you need DBP 5.9 to use.

But, I am very fascinated whit your product and is very usefull. Now, I go to learn all the commands.
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 20th Jun 2006 20:51 Edited at: 20th Jun 2006 20:52
1) I'll check that for an upgrade or a beta version.

2) you have probably not the command :

In your project
This command initialize all the plugin DLL sets.
It's recommended to place it on the beginning of the project, before any other eXtends commands.

3) yes the command are always in the plugin but are now. I may have removed them ... but leaved for test purposes only...

4) yes in fact, it's useless for coder but they ensure compiler will include some of the DarkBASIC Professional DLL the plugin command use. You can see in the HTML help a page about "DLL Dependencies" it explain exactly which DLL from the plugin need which DLL from DarkBASIC Professional

5) Initially, the plugin was developped with U5.9 .. After this, DarkBASIC Professional upgrades were released. and only U6.0+ contain compiler updates to handle the final version of the plugin.

feel free to ask about what seem obscur. I'll answer all questions.

All we have to decide is what to do with the time that is given to us.
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 20th Jun 2006 21:19
Thanks Freddix.

I am experimenting whit the RTS and I dont have words to explain my feelings. This is very, very great.

I have another question. In the RTS SET CLOCK command, the "TimeExpansion" parameters. In the example are 0.5. But what is, 0.5 seconds per program loop?

And I think that a command to change the Day will be good.


The Text commands to extract filenames, extension, find char, get XXX from are very usefull.
Wandering Swordsman
17
Years of Service
User Offline
Joined: 14th Jun 2006
Location:
Posted: 20th Jun 2006 21:26
Is there any program currently highlighting the use of these commands?

I'd like to see a Demo of them in action.

When I dream,
I carry a sword in one hand,
a gun in the other...
DazzaB73
17
Years of Service
User Offline
Joined: 18th May 2006
Location:
Posted: 20th Jun 2006 21:35
Hi Freddix.

Just downloaded and installed your plug-in. Looking good so far.

I have just been looking at the examples in the Basic2d directory. In the XGui Chat System example, when typing in characters some of the letters are wrong.

Here is a list of the characters which display incorrectly:
Q displays A
A displays Q
Z displays W
W displays Z
M displays ,
: displays M

All the other characters display correctly.

Could this be due to the French keyboard having a slightly different layout to the UK keyboard?

I'll go through the rest of the examples tomorrow.

Cheers.
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 20th Jun 2006 21:41 Edited at: 20th Jun 2006 21:41
@Habatar : yes, the RTS SET CLOCK define the hour, minutes, seconds, timeexpansion.
TimeExpansion is Timer() based. Wwhen you set it to 1.0, you'll have 1 RTSystem second = 1/1000 Real Seconds so, if you want the realtime skysystem to run at the same speed that our real day you'll have to set it at 0.001 (Or 1.0/1000.0)
There are these commands to change the day/night cycle at any moment you want :
RTS Set Day VALUE
RTS Set Hour VALUE
RTS Set Minutes VALUE
RTS Set Seconds VALUE

@Wandering Swordsman : There is the EDITOR/KEYWORDS/DBProExtends.Ini file that contain all keywords from the plugin to have DarkBASIC Professional's IDE handle them and highlight.

All we have to decide is what to do with the time that is given to us.
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 20th Jun 2006 22:10
Thanks for the explanation.

The four commands that you say dont work. Teel the error "Could not find function XXXXXXX in XXBProRTSSkyboxExtends.dll". Also there is not info on the help file and not exist in the KEYWORD file.

And the EXT Initialized() works, but not mentioned in the Help File and not KEYWORD.

Also, I have the same problem that DazzaB73 sayd. The characters are different, probably because are diferrent keyboards.

I am not triying to criticize, I only want to make this beautifull puglin best .
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 20th Jun 2006 22:25 Edited at: 20th Jun 2006 23:07
@Habatar :
ERgh !!!!
I'll check all these problem with commands because I've added them at the end of the development of the plugin. they were not originallly planed to exist. I'll fix that.

I'm french so I use a A Z E R T Y keyboard.
In the demos, I use ScanCode for keys()
so it will change the key :
A -> Q
Z -> W
Q -> A
W -> Z

EDIT :
I've made some changes for upgrade 1.1 when it will be out, It'll contain:
- RTS Set XXX commands fix + HTML help and keywords for these new commands.
- EXT Initialized() function explanation
- All Useless() function are renamed to Compiler_Includes() for more comprehensive understanding.

All we have to decide is what to do with the time that is given to us.
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 21st Jun 2006 01:19 Edited at: 21st Jun 2006 01:21
Hello Again. I post some issues that I discover while using the XGui System.

First I put the code that is better for the explanation:

This are my conclusion:
1. I assume that you need to put 8 XSize for each letter. For example: if you want to put a 5 letter word you must put 20 in XSize. 5 x 8 = 40.
2. If you put lest, the text will start more left thant the XPos.
3. If you put more, the texto go to the right to center.
4. If you create a gadget that alredy exists, nothing will happends and not error reported.
5. If you try to create, for example, gadget whit ID 3 and a gadget whit ID 2 not exists. The gadget will not created.

The points 1, 2 and 3 are both for the XSize and YSize. But in YSize the text go up and down.

Also, I see that you need to have a subdirectory called "XWindow" because the skinks will be load in that directory.

I think that this thinks need to be explained in the help file. And introduction doc for XGui, RTS and more will be helpfull .

Another suggestion. I think that the four parameter for the XGUI CREATE WINDOW, the Flag parameter, is best if will optional. Because I think that a lot of windows will have this flag to 0, and ifsbest to use "XGui Create Windows WindowNumber, Width, Height", to create a normal window, and use " XGui Create Windows WindowNumber, Width, Height, 1" to create the Chat Window.

XGui are one of the best thinks of this puglins.
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 21st Jun 2006 01:43 Edited at: 21st Jun 2006 01:45
Habator :

Points 1, 2, 3 are XPos, YPos and not XSize, YSize

XCreate gadgets commands are described as follow in the HTML help :

X and Y are position of the gadget in the windows and not sizes. Sizes are given just after with Width and Height parameters.

For text displaying, it's because texts are centered on the middle of a gadgets. That why it start position in the true gadget box depend on the amount of character. assuming the fact that your text length must not be larger than : ( Gadget Width / Font Size ) or the text will be larger than the gadget.

Ok about chat window. I think I will remove the flag and add 2 commands :
XGUI Set Chat window WINDOWNUMBER
WINDOWNUMBER = XGUI Get Chat Window()
do you think it may be better this way ?

All we have to decide is what to do with the time that is given to us.
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 21st Jun 2006 09:13
Ok, Thanks.
Sorry I put XSize, YSize, but I am refering to Width and Height.
Ok, The text is centered .

For the Chat Windiow I think that this will be better.
DazzaB73
17
Years of Service
User Offline
Joined: 18th May 2006
Location:
Posted: 21st Jun 2006 12:30
Hi Freddix,

Carrying on from my post above regarding the mapping of keys i.e. Z -> W etc....

Just to confirm, can you please have a look at the XGui-ChatSystem demo? There is no use of the scancode function in this demo. So, I am assuming the code which handles the keyboard input and places the typed text in the chat input text box is tucked away within the code of your DLL.

Is it a case of you will have to have a look at the chat input code and change it so it isn't specific to the French keyboard? Or, is there some parameter I can change in order to get it displaying the correct characters of a UK keyboard?

Apart from that - I am loving your plug-in.

Cheers.
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 21st Jun 2006 13:12 Edited at: 21st Jun 2006 13:22
@DazzaB73 : I'll take a look at that to see from where it came and how I can fix this to fit english keyboards instead of french one.

EDIT : keyboard thing fixed for 1.1

All we have to decide is what to do with the time that is given to us.
DazzaB73
17
Years of Service
User Offline
Joined: 18th May 2006
Location:
Posted: 21st Jun 2006 13:48
Thanks Freddix. Much appreciated. Looking forward to v1.1.
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 21st Jun 2006 19:11 Edited at: 21st Jun 2006 19:12
Freddix can you add this commands please?:
B3D MAKE MESH FROM OBJECT
B3D MAKE MESH FROM MEMBLOCK
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 21st Jun 2006 19:37
@Habatar : ok add to the wip file.

I'll release the 1.1 at the same time than next newsletter so, if someone else find a problem or something I've forget, I'll add it to the 1.1 build.

All we have to decide is what to do with the time that is given to us.
ALPHA ZERO PRODUCTIONS
20
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Mom ! I forgot where we live !
Posted: 21st Jun 2006 19:42
cool.....2bad i can't buy it .....i'm dirt broke

Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 21st Jun 2006 20:13
Freddix I am experimenting some extrange issues whit XGUI WINDOW TO FRONT and XGUI WINDOW TO BACK

I create Window1 and Window2. I set Window 2 to back and Window 1 to Front. But Window 2 continue at front.
Is a error or this commands have another function?

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 21st Jun 2006 20:31
@ Freddix,

The help for commands - links to examples dont seem to work,

regards,

Niall.

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 21st Jun 2006 20:46
Quote: "The help for commands - links to examples dont seem to work,"

The links point to "Help\Samples\"... and the examples are in "Projects\Extends"...

Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 21st Jun 2006 20:51 Edited at: 21st Jun 2006 20:58
Hi Freddix, these are the issues I have seen so far:

+ The camera start position in the "Particle FireBall" demo is far from the position of the fireball and the floor -and also the camera is looking in the wrong direction.

+ The XGUI examples appear too dark on screen. Are the GUI's affected by light?

+ The only demo that did not run -for me- is the "DynamicImages" one ('DBPro Application has detected and error and must be closed').

+ In the RTSkyBox demo, when you continously turn the camera's view for a while, the sky images seem to freeze until you release the camera -that is, you stop rotating.

+ (edit) In the same demo, when the sun is hidding in the horizon and the dark is coming, you can see an aliased semi-circle around it (see attached screenshot).

Other than that, this add-on is great.

~Pulsar Coder

Attachments

Login to view attachments
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 21st Jun 2006 21:10 Edited at: 21st Jun 2006 21:12
@Habatar : I'll check the TGC changes in HTML to see if I can fix that.

@Pulsar Coder:
Hi,
1 / I'll check for particle fireball camera to fix it.
2 / The XGUI are Alphaed so they are darker. I'll make brighten samples.
3 / Did you make changes to the demo or not ?
4 / I'll try to reproduce that problem to understand from where it can came.
5 / Erg ! I did get that problem times ago .. it's back again Ok, I'll fix that

Thanks for the comments.

All we have to decide is what to do with the time that is given to us.
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 21st Jun 2006 21:16
Quote: "3 / Did you make changes to the demo or not ?"


Nope.

~Pulsar Coder
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 21st Jun 2006 21:53 Edited at: 21st Jun 2006 21:56
ok I'll check that problem.
for the HTML links, I've installed the TGC version of my plugin and I noticed that TGC changed some drawer position so the links are no more valid. I'll change the links to fit TGC drawers structure for 1.1

@Habatar : I've tested your code, effectively, with U6.1 I have this problem. I'll check if it can came from an issue with Sprite Priority from DarkBASIC Professional.

All we have to decide is what to do with the time that is given to us.
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 22nd Jun 2006 00:40 Edited at: 22nd Jun 2006 00:47
ok, just to clarify: the code compiles ok, but once the created executable is run, the above-mentioned error message appears and the screen/window is never shown.

The conflict pops up when calling a function within DBP's "compress" dll, based on the following error details:

AppName: dynamicimages_test.exe
AppVer : 1.0.0.0
ModName: compress.dll
ModVer : 1.0.1.2
Offset : 000026c9

EDIT: it runs ok in debug mode but not in "release" one ... weird ...

~Pulsar Coder
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 22nd Jun 2006 01:13
remove the "compress media" option,
Change the project "executable with media" to "normal executable"

All we have to decide is what to do with the time that is given to us.
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 22nd Jun 2006 01:18
It works ok with just unchecking that option (no need to change it to "normal executable"). Thanks.

~Pulsar Coder
Rknight
20
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 22nd Jun 2006 01:44
I'd like to see the command list, http://darkbasicpro.thegamecreators.com/?f=extends

But doesn't look like there's a link at the bottom.

Also, some sortof demos of this in use would be appreciated.
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 22nd Jun 2006 17:26 Edited at: 22nd Jun 2006 17:28
I've added the full commands list + commands added in eXtends 1.1 that will be released soonly in the original message (page 1)

All we have to decide is what to do with the time that is given to us.
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 22nd Jun 2006 19:22
@ Freddix - presumably those who have bought this excellent expansion already (like me ) can just go to the Orders page to download the next version when you've posted it to there? any eta?

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 22nd Jun 2006 21:04
The 1.1 is not yet out.
I must fix some reported bugs before.
It will be soonly available but is not yet.
I'll announce it when it will be out

All we have to decide is what to do with the time that is given to us.
Epimetheus
20
Years of Service
User Offline
Joined: 5th Oct 2003
Location: Naples, Florida
Posted: 24th Jun 2006 00:35
Nice plugin.

One suggestion for the sky system would be an option to use graduated transparencies for the sun and moon. The hard edges don't look realistic really.
Medieval Coder
18
Years of Service
User Offline
Joined: 31st Dec 2005
Location:
Posted: 25th Jun 2006 21:17
Must resist temptation to buy...... noooooo.....

Well looks like I will be buying it sometime soon....

Any idea if it will be added to the "Ultimate DarkBASIC Professional Extension Pack 2006"?
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 26th Jun 2006 00:20
I don't know... All will depend on TGC choice...

All we have to decide is what to do with the time that is given to us.
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 27th Jun 2006 01:10
Ver 1.1 is now in the hand of TGC, they may release it soonly (within the next few days ... and later ... with the newsletter)

FIX/Changes on eXtends version 1.1 :
------------------------------------

General :
- Updated all sample to use english keyboard instead of french one.
- Updated the help files to handle all available commands
- Add EXT Initialized() HELP file and information in INTRODUCTION help.
- Updated the EDITOR/KEYWORDS/DBProExtends.Ini to handle all commands names.
- Updated some HELP pages to give correct informations.
- Reorganized project drawer to fit to TGC needs (changed what did broke HTML links. Now fixed)
- Added new plugin DLL : DBProMesh3DExtends.dll

Basic2D:
- Chat system now handle english keyboard instead of french one.
- Fixed the windows display priority bug.
- Changed Alpha from 75 to 224 in XGui demo to make it brighter.
- Removed flag to select chat window in XWindow Create Window command : XWindow Create Window WindowNumber, Width, Height
- Use : XGui Set Dialog Gadget To output chat texts in a text/combi gadget.
- Use : XGui Set Chat Gadget to output entering chat text in a text/combi gadget.

Basic3D:
- Added new sample to test Dynamic Loading speed with various amount of objects (Performance test)

Images :
- Fix the crash with DynamicImages sample by disabling Compress Media option.

Mesh3D:
- 5 New Commands added : M3D Initialized / M3D Load Mesh / M3D Delete Mesh / M3D Make Mesh From Object / M3D Make Mesh From Memblock
- Added HELPS files for Mesh3D commands set.

Particles3D:
- Fixed the camera position and angle in Fireball particle demo.

Sprites:
- Perfect Sprite Collision now handle Scaled & Rotated sprites. Warning; with rotated, scaled sprites, collision is 99% perfect due to Cos/Sin calculation approximation.

RTSkySystem:
- Added commands RTS Set Day, RTS Set Hour, RTS Set Minutes, RTS Set Seconds, RTS Set Time Expansion
- Fixed the "dark borders" problem with sun halos.

KNOWN ISSUES :
- In the RTSkyBox demo, when you continously turn the camera's view for a while, the sky images seem to freeze until you release the camera -that is, you stop rotating.

ABOUT KNOWN ISSUES :
The known issues mentioned upper are known bugs reported by eXtends user(s). if they are here, it's because I wasn't able to reproduce them.
If someone is able to reproduce a KNOWN ISSUE, please, send me an e-mail explaining how to reproduce the KNOWN ISSUE at : dbpro_plugins@xquadeditor.com
Thanks.

Regards,

All we have to decide is what to do with the time that is given to us.
JulesD
19
Years of Service
User Offline
Joined: 7th Feb 2005
Location:
Posted: 27th Jun 2006 07:15
Are settings for cloud density and mist in there as well?
Habatar
19
Years of Service
User Offline
Joined: 9th Aug 2004
Location: Madrid (Spain)
Posted: 27th Jun 2006 10:05
Thanks Freddix

Login to post a reply

Server time is: 2024-05-02 01:06:15
Your offset time is: 2024-05-02 01:06:15