Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   "Stretch to fit command" (https://forums.graalonline.com/forums/showthread.php?t=18736)

T-Squad 12-11-2001 01:28 PM

"Stretch to fit command"
 
Graal needs a "stretch to fit command" which should allow an image to be stretched across the screen. Since this is currently impossibly, I am asking this...although I have ideas.

Kitty_Kat504 12-11-2001 01:53 PM

Re: "Stretch to fit command"
 
Quote:

Originally posted by T-Squad
Graal needs a "stretch to fit command" which should allow an image to be stretched across the screen. Since this is currently impossibly, I am asking this...although I have ideas.
:takes br3ak fr0m 1337: If you mean full screen just like in options

kyle0654 12-11-2001 09:53 PM

really just need a command to resize vertically and horizontally independantly...then you could make a 'stretch to fit' command on your own, and the commands would be more versatile.

BocoC 12-11-2001 10:26 PM

Since Graal uses DirectDraw7, just make the source rectangle the size of the screen and call the BLT command, or whatever it is in Delphi.

BocoC 12-11-2001 10:27 PM

Quote:

Originally posted by kyle0654
really just need a command to resize vertically and horizontally independantly...then you could make a 'stretch to fit' command on your own, and the commands would be more versatile.
Versatility! Yay!

T-Squad 12-12-2001 06:24 AM

Quote:

Originally posted by kyle0654
really just need a command to resize vertically and horizontally independantly...then you could make a 'stretch to fit' command on your own, and the commands would be more versatile.

Yeah that would work to ;)

T-Squad 12-12-2001 06:26 AM

Quote:

Originally posted by BocoC
Since Graal uses DirectDraw7, just make the source rectangle the size of the screen and call the BLT command, or whatever it is in Delphi.
I do believe it is the same...unless using DX8, they removed direct draw and there is a different technique to doing it, I think it is something like making a basic shape and using tiles or something to cover it, exactly like 3d models and bmps for the material...

kyle0654 12-12-2001 08:40 AM

Actually, I would LOVE some commands to stretch graphics now that I think of it.

BocoC 12-12-2001 09:37 AM

Graal is programmed in DirectX7. DirectDraw7 and Direct3D. I don't know which Direct3D mode, though, because there are two different modes. Stretching Graphics would be really cool. Also adding the DELETE key to the list of keydowns. Stefan could remove the M and P key from Keydown because they are useless and add the DELETE key!

kyle0654 12-12-2001 10:15 AM

Quote:

Originally posted by BocoC
Graal is programmed in DirectX7. DirectDraw7 and Direct3D. I don't know which Direct3D mode, though, because there are two different modes. Stretching Graphics would be really cool. Also adding the DELETE key to the list of keydowns. Stefan could remove the M and P key from Keydown because they are useless and add the DELETE key!
M and P are plenty useful!

T-Squad 12-12-2001 10:43 AM

Quote:

Originally posted by kyle0654
Actually, I would LOVE some commands to stretch graphics now that I think of it.
Bother Stefan about it :D You have far more power then me in these matters (for I have none ;))

BocoC 12-13-2001 01:23 AM

Quote:

Originally posted by kyle0654

M and P are plenty useful!

How is it usefull? P is to pause, and M is to display the map. What use could you do with these keys? Also, the keydown event happens AFTER the map shows up or whatnot. Add DELETE key!

kyle0654 12-13-2001 08:00 AM

Quote:

Originally posted by BocoC

How is it usefull? P is to pause, and M is to display the map. What use could you do with these keys? Also, the keydown event happens AFTER the map shows up or whatnot. Add DELETE key!

Just trust me, they're useful.

BocoC 12-13-2001 11:47 PM

Well, DELETE would also be usefull. That way if people program their own Q system, DELETE could be the delete weapon thingy.

T-Squad 12-14-2001 08:17 AM

Quote:

Originally posted by kyle0654

Just trust me, they're useful.

I would like to know...how so?

kyle0654 12-14-2001 10:24 AM

Quote:

Originally posted by T-Squad


I would like to know...how so?

Well, I, for example, am always finding new uses for some commands. I used timeout in something other than a loop the other day, and the way I used it seemed awkward but worked out really well.

P I use regularly, and I haven't used M yet, but I'm sure I could find a use if I had to.

BocoC 12-14-2001 11:15 AM

Quote:

Originally posted by kyle0654

Well, I, for example, am always finding new uses for some commands. I used timeout in something other than a loop the other day, and the way I used it seemed awkward but worked out really well.

P I use regularly, and I haven't used M yet, but I'm sure I could find a use if I had to.

M key plain out stinks. The keydown script happens AFTER you use the map. Maybe not even until you stop looking at the map. DELETE KEY!!!

T-Squad 12-14-2001 01:45 PM

Quote:

Originally posted by kyle0654

Well, I, for example, am always finding new uses for some commands. I used timeout in something other than a loop the other day, and the way I used it seemed awkward but worked out really well.

P I use regularly, and I haven't used M yet, but I'm sure I could find a use if I had to.

I was thinking of using P for something...like a anti-pause feature where when you press P you get warped to a start area, or it shows a gani for you being paused...but M I see no use for, unless it was possible to disable to def map.

Slaktmaster 12-19-2001 03:14 AM

Why should it be deleted just because you don't like it?

I think three more keys should be added that aren't automatically bound to something, like z, x and c! That would rock pants!

BocoC 12-19-2001 06:48 AM

AND DELETE! DON'T FORGET ABOUT DELETE!

Xaviar 12-20-2001 12:18 AM

Or have like a keydown2 that uses ascii codes and checks all the keys =D

T-Squad 12-21-2001 06:54 AM

Quote:

Originally posted by Xaviar
Or have like a keydown2 that uses ascii codes and checks all the keys =D
Ah...that would be nice....

IceHawk 12-21-2001 07:50 AM

M could be used for an event.
Let's say you're playing on a SP world, then you press m, and when you comeback, theives have captured you while you weren't looking.


All times are GMT +2. The time now is 05:17 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.