Small Client Upgrade ideas.

Small Client Upgrade ideas.

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

Moderator: Moderators

Post Reply
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Small Client Upgrade ideas.

Post by Maelstrom »

Well, after trying out the client, it was obvious it needs work. There is (as far as i know) quite alot of work going on to improve this. I just have a few ideas to make it a little better. You might have already thoguh of them, but heres my 2 cents any way.

Simple sounds to show when peopl join/quit the game.
I have made some sounds, and have put them here if you want them(excuse the crappy site)
http://www.meh.niiil.com/files/Join.wav
http://www.meh.niiil.com/files/Leave.wav

Also, to make talking to people easier, i suggest playing a little sound when someone's name is typed in chat. Ive seen it work in a program called GameArena. Its quite handy. Whenever your name appears in chat, it will play a little sound to alert you. Makes contacting people while they are in another program/window/chat room very easy. I have also made a sound for this one:
http://www.meh.niiil.com/files/Message.wav

And if there is a thread about this already (I couldn't find it if there is), point it out to me and ill post this in there.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

How many forks of the client do we have by now?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

They pretty much all aim to use either pheonix works or the spring server so it aint all that bad.
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

The biggest problem with sound is that it is extremely system dependent. I have been looking into using sound, but it will most likely require additional libraries. =(
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

If you mean system dependant as in different systems having trouble, then there is a Windows API that should be on everyones computer (if they are running windows of course :P ). Not sure what it looks like in the language you are using but here it is.

PlaySound API:
Public Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long

Unless of course you mean something else by system dependant, then i cant help you out.
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

No, I mean for my platform independent lobby client, it might be a pain to get sound to work. Python doesn't have very good cross-platform audio playing API's. The API that is included only works for Linux actually. Most windows users would probably complain about this...
b1ind
Posts: 48
Joined: 21 Apr 2005, 04:01

Post by b1ind »

What about something like openAL?
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

I see your problem now. Couldnt you just work out which operating system the program is running on, and implement the correct method for each particular system? seems like a sensible thing to me. Ofcourse, you would have to work out how to play sounds on evey different system you are aiming to use this on, which mightnt be easy. As for cross platform, whats wrong with Java? It is very powerfull, cross platform, and has many good graphic and sound related things.
coryrc
Posts: 81
Joined: 01 May 2005, 23:09

Post by coryrc »

Ace07 wrote:No, I mean for my platform independent lobby client, it might be a pain to get sound to work. Python doesn't have very good cross-platform audio playing API's. The API that is included only works for Linux actually. Most windows users would probably complain about this...
Ummm, sound is easy. If anything can do it, Python likely can AND be crossplatform.

http://pymedia.org/tut/
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

coryrc wrote:
Ace07 wrote:No, I mean for my platform independent lobby client, it might be a pain to get sound to work. Python doesn't have very good cross-platform audio playing API's. The API that is included only works for Linux actually. Most windows users would probably complain about this...
Ummm, sound is easy. If anything can do it, Python likely can AND be crossplatform.

http://pymedia.org/tut/
I didn't want to add any more dependencies than we already have. Will I just have to trust that it will be integrated properly into the installer that comes with Spring?

Truth is that I found this before you did cory, but I was dissapointed that there were more dependencies that need to be installed. Its funny how whatever you post happens to be something I already looked at. :wink:
Post Reply

Return to “Engine”