Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   setfocus2 (https://forums.graalonline.com/forums/showthread.php?t=46321)

tlf288 07-19-2003 11:39 PM

setfocus2
 
'setfocus2' could add the functionality to have split screens. Such as using half of the screen to show the player and the other half to do something else. This would be a great addition to GScript because it would add the functionality to have funner mini-games, cool spy sattelite systems, or anything else a scripter could dream of. The reason I want it implemented is so I can remake Graal offline play, but this is only one things you could do with a great feature like this.

I'm not sure if this would slow down older computers much. I wouldn't think it would _that_ bad, but then again I'm not a DirectX or C++ programmer so I don't know. It is fairly important that it doesn't bog down a users computer because Graal seems to be aimed for low-end computers.

CheeToS2 07-20-2003 12:13 AM

Re: setfocus2
 
Quote:

Originally posted by tlf288
'setfocus2' could add the functionality to have split screens. Such as using half of the screen to show the player and the other half to do something else. This would be a great addition to GScript because it would add the functionality to have funner mini-games, cool spy sattelite systems, or anything else a scripter could dream of. The reason I want it implemented is so I can remake Graal offline play, but this is only one things you could do with a great feature like this.

I'm not sure if this would slow down older computers much. I wouldn't think it would _that_ bad, but then again I'm not a DirectX or C++ programmer so I don't know. It is fairly important that it doesn't bog down a users computer because Graal seems to be aimed for low-end computers.

would be sweet to be able to look at other levels too (already been discussed though :()

tlf288 07-20-2003 12:38 AM

Re: Re: setfocus2
 
Quote:

Originally posted by CheeToS2


would be sweet to be able to look at other levels too (already been discussed though :()

Just use a gmap dude.

G_yoshi 07-20-2003 02:47 AM

Re: setfocus2
 
Quote:

Originally posted by tlf288
'setfocus2' could add the functionality to have split screens. Such as using half of the screen to show the player and the other half to do something else. This would be a great addition to GScript because it would add the functionality to have funner mini-games, cool spy sattelite systems, or anything else a scripter could dream of. The reason I want it implemented is so I can remake Graal offline play, but this is only one things you could do with a great feature like this.

I'm not sure if this would slow down older computers much. I wouldn't think it would _that_ bad, but then again I'm not a DirectX or C++ programmer so I don't know. It is fairly important that it doesn't bog down a users computer because Graal seems to be aimed for low-end computers.

This actually sounds nice. I'm not sure what it would actually be useful for since there are probably ways to simulate the effect of a splitscreen using things like board[index] to place down tiles in one portion of the screen or using showimgs.

tlf288 07-20-2003 02:51 AM

Re: Re: setfocus2
 
Quote:

Originally posted by G_yoshi

there are probably ways to simulate the effect of a splitscreen using things like board[index] to place down tiles in one portion of the screen or using showimgs.

I think that ends up being not possible. I know cheetos tried it on g2k1 before and he never finished it. Even if it was possible the limitations would be horrible :\ .

G_yoshi 07-20-2003 02:58 AM

Re: Re: Re: setfocus2
 
Quote:

Originally posted by tlf288


I think that ends up being not possible. I know cheetos tried it on g2k1 before and he never finished it. Even if it was possible the limitations would be horrible :\ .

It probably depends upon who is doing it :p I'm more than confident Kaimetsu could easily do it. I also remember Angel showing me a nifty script online that lets you place down any tile from the tileset. It was really neat :)

*edit*
Another thing I remembered! Grim Squeaker, long ago, made an infinite level using an NPC. The entire level looped for ever (no level links). Would've worked great for a zelda-esque puzzle (ala Lost Woods).

tlf288 07-20-2003 03:03 AM

Re: Re: Re: Re: setfocus2
 
Quote:

Originally posted by G_yoshi


It probably depends upon who is doing it :p I'm more than confident Kaimetsu could easily do it.

It doens't matter who does it, the same limitations still exist :\ .


Quote:


I also remember Angel showing me a nifty script online that lets you place down any tile from the tileset. It was really neat :)

That isn't that hard. I made my own version years ago. It is just that you couldn't save it to the server's HD until recently.

G_yoshi 07-20-2003 03:04 AM

Re: Re: Re: Re: Re: setfocus2
 
Quote:

Originally posted by tlf288


That isn't that hard. I made my own version years ago. It is just that you couldn't save it to the server's HD until recently.

But did it have a nifty GUI?

tlf288 07-20-2003 03:07 AM

Re: Re: Re: Re: Re: Re: setfocus2
 
Quote:

Originally posted by G_yoshi


But did it have a nifty GUI?

lol, no :). But that isn't to say I couldn't have made a GUI :p .

G_yoshi 07-20-2003 03:15 AM

YAY! I found it! :D

http://forums.graal2001.com/forums/s...=Grim+Squeaker

tlf288 07-20-2003 03:19 AM

Quote:

Originally posted by G_yoshi
YAY! I found it! :D

http://forums.graal2001.com/forums/s...=Grim+Squeaker

Cool, but doesn't really apply to what I said before :\ .

G_yoshi 07-20-2003 03:20 AM

Quote:

Originally posted by tlf288


Cool, but doesn't really apply to what I said before :\ .

So? I'm happy I found it :D

CheeToS2 07-20-2003 07:47 AM

you cant currently retrieve tiles from remove levels, it will just use the tiles from whatever level you're in.. stefan has been adding new features for tile manipulation lately though, so it might be possible in the future

tlf288 07-20-2003 07:52 AM

Quote:

Originally posted by CheeToS2
you cant currently retrieve tiles from remove levels, it will just use the tiles from whatever level you're in.. stefan has been adding new features for tile manipulation lately though, so it might be possible in the future
Adding 'setfocus2' would be a _lot_ easier on scripters :\ .

Falados 07-20-2003 10:01 PM

Only on scripters who want to allow split-screen. It would require recoding the gserver a bit I assume, since you need more information about every player online.

tlf288 07-20-2003 10:24 PM

Quote:

Originally posted by Falados
Only on scripters who want to allow split-screen. It would require recoding the gserver a bit I assume, since you need more information about every player online.
Why? All you would be doing is using it _clientside_ . The server doesn't even need to know you are using 'setfocus' so why would it need to know you are using 'setfocus2'?

Kaimetsu 07-21-2003 02:10 PM

If you're looking into levels other than your current one, the server needs to know.

tlf288 07-21-2003 02:15 PM

Quote:

Originally posted by Kaimetsu
If you're looking into levels other than your current one, the server needs to know.
I'm not sure exactly how the server handles GMAPS, but I know that a GMAP acts like one big level offline so I would think it wouldn't matter. I could be wrong though.

If my previous example wouldn't work then I think Falados is right and the server would need to be recoded, but I know this isn't this first command Stefan would have recoded the server for.


All times are GMT +2. The time now is 11:18 PM.

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