TASClient Single Player mode

TASClient Single Player mode

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

TASClient Single Player mode

Post by Satirik »

I've been working on a Single Player mode for TASclient for almost one week, and keep in mind it's still BETA. To launch it directly without using the Single Player button : TASClient -menu

Image
Image

How does it works ? the whole interface is html+css+javascript using the WebBrowser component which use the installed IE version. It works with IE 6 and IE 7 with a resolution 800*600 and more (4/3 -> 16/10, with a wider screen than 16/10 the background image wont take the whole place). Html is here working as the template framework for the lobby. The skin is in TASClientSkin\default.ssk (spring skin, a 7zip). The lobby open the html file and replace the known [Tag] like [MapList].To make your own skin use the "-menudev" parameter, the lobby will pick the files from the Spring\Interface dir instead of the .ssk file.

To communicate between the html and the lobby, you just need to add a link like : <a href="lobby:settings">settings</a> and the lobby will open the settings. If you add an http link it will open it in the default browser. Otherwise if the link is neither a lobby command nor an http link it will just do nothing.

If some of you are interested in making different skin or updating the current one, just tell me and i'll add further information on available [data] and lobby commands.

So there is a skirmish mode which look like springlobby's one, you can choose between fixed pos, random pos and choose in lobby. It supports mod and map options of course.

Some shots :

Skirmish

Players list :
Image

Map view & players positioning :
Image

Map selection :
Image




Campaigns & missions

Single missions list :
Image

Campaigns list :
Image

Campaign's missions :
Image

Mission detail :
Image

Download : You need the latest Beta, to update your lobby use the "Help -> Check for lobby update"

Go ahead, suggestions, features request and bugs ...

AF please don't post on that thread.
Last edited by Satirik on 27 Nov 2008, 12:18, edited 3 times in total.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: TASClient Single Player mode

Post by Forboding Angel »

Edit: Just read the other tread. AF's right.

Please do not force us to choose a lobby to run our singleplayer games in. That fails.
Last edited by Forboding Angel on 27 Jun 2008, 00:28, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode

Post by AF »

I don't think satirik wants criticism of his methodology in this thread, and it would be best if that happened in private or in another thread.

Instead I believe it would be best to offer support in the development of the html based component or to offer suggestions on improvements.

I may implement satiriks front end system as may spring lobby but satirik has clearly expressed he does not intend it to be used outside of tasclient and as such any attempt should feature in its own thread.

Satirik, I assume it is possible to develop skins in an open directory in the same way people use .sdd archives?
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode

Post by Satirik »

force you to do what ? you will handle the missions and campaigns and mods ... it's not the good thread here to talk about that

if someone wants to make a skin for tasclient he can but it's a skin nothing else
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode

Post by Satirik »

you can use the front end but you won't use the html and javascript because most of it is made for IE and ie only ...

ex : ie6 doesn't support pngs so i need to add dx filters and empty gif to keep the ratio files ... i would never have done that kind of crap for another browser ... but you can use the skin for sure

and when you make a website ... you always make special cases for IE FF etc ... it's just the same if you want to make a skin for every lobbies
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: TASClient Single Player mode

Post by Pxtl »

You're not making an Ajax app - it's a bunch of semi-static pages, isn't it? And it's all-client-side, so you don't even need to use tricks to make the files small... so why not just use old-fashioned, safe HTML and minimal javascript? I mean, tables and img tags and crap like that renders the same everywhere, and then you wouldn't have to re-roll your pages for every browser.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode

Post by Satirik »

the problem is not the javascript .... the problem is IE and the browsers in general which are not compatible ... and this interface is scalable and use transparency both things IE6 doesn't support very well, and not the same way as FF etc
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode

Post by AF »

Theres no reason why a cross browser compatible site isnt possible using static html and javascript. Sure you might need a handful of fixes for IE6 but its certainly doable, and not as hard as one would make out.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode

Post by Satirik »

ice skin added to main tasclient_beta archive
Last edited by Satirik on 13 Jul 2008, 18:18, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode

Post by AF »

Can we at least adhere to the logo we have? There're at least 4 spring logos in tasclient and none of them match, and none of them are official either.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode

Post by Satirik »

the logo is the sun, i just forget it ... and we can change the font if we want

edit: skin updated with the logo in background
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Re: TASClient Single Player mode

Post by Erom »

Satirik wrote:use the installed IE version
I feel like requiring IE is unfortunate. I appreciate the work that went into this, it's been desperately needed, but requiring IE is kind of lame.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode

Post by Satirik »

requiring IE ? you can't uninstall ie 6 so it requires windows ...
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: TASClient Single Player mode

Post by aegis »

Satirik wrote:requiring IE ? you can't uninstall ie 6 so it requires windows ...
lies
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: TASClient Single Player mode

Post by Neddie »

A windows requirement is foolish but permissible. IE is easily removed from Windows and the dependency isn't really necessary. Do like the Ice skin though. I would like to avoid using .3do models and corpses, or any play content package specific objects in splash-screens from this point onward, so that is perfect in my opinion.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode

Post by Satirik »

a com wrekage ... it could be another unit from any other game ...

and just try to uninstall IE from your WinXP ... just try ...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient Single Player mode

Post by AF »

Windows XPn
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode

Post by Satirik »

AF wrote:Windows XPn
wrong winxpn just doesn't contain a media player ...
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: TASClient Single Player mode

Post by ZellSF »

There's quite detailed guides available on how to uninstall Internet Explorer.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient Single Player mode

Post by Satirik »

ZellSF wrote:There's quite detailed guides available on how to uninstall Internet Explorer.
give me one
Post Reply

Return to “Engine”