Hi Rick,

    I understand. Python is easy to use and as I stated you even have Win32
API as well as Com Type modules. It is just a more readable format and less
over-head to write.
    There are even several platforms under Python for app writing for cell
phones.

    But your expertise is using the Windows stuff and probably can offer
more music file formats to play.
    But, like you, I have the easy stuff and at the moment have not the time
to use the other stuff, I mean, learn the other stuff.
    We are both coming to the same point from opposite directions.

    Take care, and happy programming.

        Bruce

Sent: Friday, September 25, 2015 9:32 AM
Subject: RE: Game Writing: Upgrade: Sea Battle 2015 Version 2.3 Upgrade
andUploaded


Hi Bruce: I don't have time to look into gaming until I finish a 1 year
project I have been working on since late last year.
It is just one of those things where I think there is room for development
of something beyond the simple games that are now available for blind folks
or at least the ones I have heard of.
I have heard that a few of the games, mostely like dunjon style games, have
been made accessible recently but forget what engines they used.
If I ever dig into it I will start looking into Microsoft software for
development since that is the platform I know best.
Python is a good language and may have some more sophisticated capabilities
but that would be a fall back platform, again if I ever dig into it and have
the time to pursue this line of development.
My first research would be what game engines are available for the Microsoft
platform and if they would offer multi-player capabilities over the
internet.
Then examine their accessibility and then try and pick some platform that
would best fit a sort of shooter game with a strategic game to come up with
a space game with the ability to create ships, satalites, worlds and
whatever else like battles in space and on world etc...
Since this would be a major, major endevor I would hope to have a website
for the game where I could pull down enough money to pay for the necessary
hosting and other costs along with money rewards for winners of sponsered
games. That is the type of thing I would like to develop since I find just
sitting at my computer playing a game against it without other human
interactions pretty boring.
I find programming and investing much more challanging than playing chess or
other human / computer based games so havent even looked at many of them
over the years.
I did play chess for a number of years and even joined a chess club but when
I lost my vision I found chess against the computer boring so moved on into
other activities to occupy my time.
It just wasn't the same as playing another living being.
Later and keep up the faith!
Rick USA

-----Original Message-----
From: Scripting
[mailto:scripting-bounces+ofbgmail=mi.rr....@lists.window-eyes.com] On
Behalf Of LB via Scripting
Sent: Friday, September 25, 2015 8:20 AM
To: GW Scripting List <scripting@lists.window-eyes.com>
Subject: Game Writing: Upgrade: Sea Battle 2015 Version 2.3 Upgrade and
Uploaded

Hi Rick,

    This is a good starting point in Pygame and the module properties you
can use for just the music.
    When going to the page you will have links for all other stuff in Pygame

to use and learn.
    I do not use all the stuff you can do with a music file but note the
issues when using MP3 and someone messes with the file.
Note:
    Pygame is dependent on the version of Python, so make sure you match the

2, along with all Com Types modules and other things like Win32 commands.
    As I had mentioned, use Python 2.7 for the PyInstall works best with
that. Earlier versions of Python do not have all modules that you may want.
Python 2.5 is the most stable but less of the the modules so errors may
happen after compile, not before.
    Enjoy the programming, bruce

Link To text below:
http://www.pygame.org/docs/ref/music.html
pygame.mixer.music
pygame module for controlling streamed audio
pygame.mixer.music.load
-
Load a music file for playback
pygame.mixer.music.play
-
Start the playback of the music stream
pygame.mixer.music.rewind
-
restart music
pygame.mixer.music.stop
-
stop the music playback
pygame.mixer.music.pause
-
temporarily stop music playback
pygame.mixer.music.unpause
-
resume paused music
pygame.mixer.music.fadeout
-
stop music playback after fading out
pygame.mixer.music.set_volume
-
set the music volume
pygame.mixer.music.get_volume
-
get the music volume
pygame.mixer.music.get_busy
-
check if the music stream is playing
pygame.mixer.music.set_pos
-
set position to play from
pygame.mixer.music.get_pos
-
get the music play time
pygame.mixer.music.queue
-
queue a music file to follow the current
pygame.mixer.music.set_endevent
-
have the music send an event when playback stops
pygame.mixer.music.get_endevent
-
get the event a channel sends when playback stops
The music module is closely tied to
pygame.mixer pygame module for loading and playing sounds
. Use the music module to control the playback of music in the sound mixer.
The difference between the music playback and regular Sound playback is that

the
music is streamed, and never actually loaded all at once. The mixer system
only supports
a single music stream at once.
Be aware that MP3 support is limited. On some systems an unsupported format
can crash
the program, e.g
. Debian Linux. Consider using
OGG instead.
pygame.mixer.music.load()
Load a music file for playback
load(filename) -> None
load(object) -> None
This will load a music filename/file object and prepare it for playback. If
a music
stream is already playing it will be stopped. This does not start the music
playing.
Search examples for pygame.mixer.music.load
Add a Comment
Comments 5
pygame.mixer.music.play()
Start the playback of the music stream
play(loops=0, start=0.0) -> None
This will play the loaded music stream. If the music is already playing it
will be
restarted.
The loops argument controls the number of repeats a music will play. play(5)
 will cause the music to played once, then repeated five times, for a total
of six.
If the loops is -1 then the music will repeat indefinitely.
The starting position argument controls where in the music the song starts
playing.
The starting position is dependent on the format of music playing.
MP3 and OGG use the position as time (in seconds). MOD
 music it is the pattern order number. Passing a startpos will raise a
NotImplementedError
if it cannot set the start position
Search examples for pygame.mixer.music.play
Add a Comment
Comments 11
pygame.mixer.music.rewind()
restart music
rewind() -> None
Resets playback of the current music to the beginning.
Search examples for pygame.mixer.music.rewind
Add a Comment
Comments 1
pygame.mixer.music.stop()
stop the music playback
stop() -> None
Stops the music playback if it is currently playing.
Search examples for pygame.mixer.music.stop
Add a Comment
pygame.mixer.music.pause()
temporarily stop music playback
pause() -> None
Temporarily stop playback of the music stream. It can be resumed with the
pygame.mixer.music.unpause()
 function.
Search examples for pygame.mixer.music.pause
Add a Comment
Comments 1
pygame.mixer.music.unpause()
resume paused music
unpause() -> None
This will resume the playback of a music stream after it has been paused.
Search examples for pygame.mixer.music.unpause
Add a Comment
pygame.mixer.music.fadeout()
stop music playback after fading out
fadeout(time) -> None
This will stop the music playback after it has been faded out over the
specified
time (measured in milliseconds).
Note, that this function blocks until the music has faded out.
Search examples for pygame.mixer.music.fadeout
Add a Comment
Comments 5
pygame.mixer.music.set_volume()
set the music volume
set_volume(value) -> None
Set the volume of the music playback. The value argument is between 0.0 and
1.0.
When new music is loaded the volume is reset.
Search examples for pygame.mixer.music.set_volume
Add a Comment
pygame.mixer.music.get_volume()
get the music volume
get_volume() -> value
Returns the current volume for the mixer. The value will be between 0.0 and
1.0.
Search examples for pygame.mixer.music.get_volume
Add a Comment
pygame.mixer.music.get_busy()
check if the music stream is playing
get_busy() -> bool
Returns True when the music stream is actively playing. When the music is
idle this
returns False.
Search examples for pygame.mixer.music.get_busy
Add a Comment
Comments 2
pygame.mixer.music.set_pos()
set position to play from
set_pos(pos) -> None
This sets the position in the music file where playback will start. The
meaning of
"pos", a float (or a number that can be converted to a float), depends on
the music
format. For
MOD
 files, it is the integer pattern number in the module. For
OGG it the absolute position, in seconds, from the beginning of the sound.
For MP3
 files, it is the relative position, in seconds, from the current position.
For absolute
positioning in an
MP3 file, first call
rewind()
. Other file formats are unsupported. Newer versions of SDL_mixer have
better positioning
support than earlier. An SDLError is raised if a particular format does not
support
positioning.
Function
set_pos()
 calls underlining SDL_mixer function Mix_SetMusicPosition.
New in Pygame 1.9.2
Search examples for pygame.mixer.music.set_pos
Add a Comment
pygame.mixer.music.get_pos()
get the music play time
get_pos() -> time
This gets the number of milliseconds that the music has been playing for.
The returned
time only represents how long the music has been playing; it does not take
into account
any starting position offsets.
Search examples for pygame.mixer.music.get_pos
Add a Comment
pygame.mixer.music.queue()
queue a music file to follow the current
queue(filename) -> None
This will load a music file and queue it. A queued music file will begin as
soon
as the current music naturally ends. If the current music is ever stopped or

changed,
the queued song will be lost.
The following example will play music by Bach six times, then play music by
Mozart
once:
pygame.mixer.music.load('bach.ogg')
pygame.mixer.music.play(5)        # Plays six times, not five!
pygame.mixer.music.queue('mozart.ogg')
Search examples for pygame.mixer.music.queue
Add a Comment
Comments 1
pygame.mixer.music.set_endevent()
have the music send an event when playback stops
set_endevent() -> None
set_endevent(type) -> None
This causes Pygame to signal (by means of the event queue) when the music is

done
playing. The argument determines the type of event that will be queued.
The event will be queued every time the music finishes, not just the first
time.
To stop the event from being queued, call this method with no argument.
Search examples for pygame.mixer.music.set_endevent
Add a Comment
pygame.mixer.music.get_endevent()
get the event a channel sends when playback stops
get_endevent() -> type
Returns the event type to be sent every time the music finishes playback. If

there
is no endevent the function returns
pygame.NOEVENT.




Sent: Thursday, September 24, 2015 8:33 AM
Subject: RE: Upgrade: Sea Battle 2015 Version 2.3 Upgrade and Uploaded


Hi Rod:
Are you developing games or making existing games accessible?
Just curious since I was looking at a couple of articles on game development
a few weeks ago.
Rick USA


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of Ai Squared.

For membership options, visit
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/ofbgmail%
40mi.rr.com.
For subscription options, visit
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of Ai Squared.

For membership options, visit 
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit 
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at 
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

Reply via email to