Sound effects for "ASCII [Color] Computer"
Also, sync "ASCII Typewriter" txt docs.
This commit is contained in:
parent
2d5991b4ea
commit
7b58a651c6
12 changed files with 168 additions and 5 deletions
|
|
@ -213,6 +213,16 @@ June 17, 2002 - September 27, 2024
|
|||
<https://paulbourke.net/dataformats/asciiart/>
|
||||
by Paul Bourke
|
||||
|
||||
"ASCII Typewriter" sound effect: "Typewriter snippet 03"
|
||||
<https://freesound.org/people/cabled_mess/sounds/360601/>
|
||||
Creative Commons CC0 1.0 Universal by Sebastian
|
||||
<https://freesound.org/people/cabled_mess/>
|
||||
|
||||
"ASCII [Color] Computer" sound effect based on: "modem_dial.wav"
|
||||
<https://freesound.org/people/0ktober/sounds/188828/>
|
||||
Creative Commons CC0 1.0 Universal by 0ktober
|
||||
<https://freesound.org/people/0ktober/>
|
||||
|
||||
Bloom magic tool
|
||||
by Bill Kendrick <bill@newbreedsoftware.com>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ https://tuxpaint.org/
|
|||
|
||||
* WIP "ASCII Typewriter", "ASCII Computer", & "ASCII Color Computer":
|
||||
turn your drawing into ASCII art.
|
||||
+ TODO Sound effects
|
||||
+ TODO Icons
|
||||
+ Code by Bill Kendrick <bill@newbreedsoftware.com>
|
||||
+ Computer font: IBM CGA Adapter
|
||||
|
|
@ -48,6 +47,14 @@ https://tuxpaint.org/
|
|||
"Character representation of grey scale images"
|
||||
<https://paulbourke.net/dataformats/asciiart/>
|
||||
by Paul Bourke
|
||||
+ Typewriter sound effect "Typewriter snippet 03"
|
||||
<https://freesound.org/people/cabled_mess/sounds/360601/>
|
||||
Creative Commons CC0 1.0 Universal by Sebastian
|
||||
<https://freesound.org/people/cabled_mess/>
|
||||
+ Computer sound effect based on "modem_dial.wav"
|
||||
<https://freesound.org/people/0ktober/sounds/188828/>
|
||||
Creative Commons CC0 1.0 Universal by 0ktober
|
||||
<https://freesound.org/people/0ktober/>
|
||||
|
||||
* Magic Tool Improvements:
|
||||
------------------------
|
||||
|
|
|
|||
20
magic/magic-docs/en/ascii_typewriter.txt
Normal file
20
magic/magic-docs/en/ascii_typewriter.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
Tux Paint "Magic" Tool: ASCII Typewriter
|
||||
|
||||
Group: Distorts
|
||||
|
||||
Author: Bill Kendrick <bill@newbreedsoftware.com>
|
||||
|
||||
Transform your picture into "ASCII art", typewriter-style.
|
||||
|
||||
This tool offers both freehand and one-click operation.
|
||||
|
||||
This tool offers multiple size settings.
|
||||
|
||||
This tool offers color choices.
|
||||
|
||||
See also: ASCII Computer & ASCII Color Computer.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Tux Paint 0.9.34
|
||||
|
||||
20
magic/magic-docs/es_ES.UTF-8/ascii_typewriter.txt
Normal file
20
magic/magic-docs/es_ES.UTF-8/ascii_typewriter.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
Tux Paint "Magic" Tool: ASCII Typewriter
|
||||
|
||||
Group: Distorts
|
||||
|
||||
Author: Bill Kendrick <bill@newbreedsoftware.com>
|
||||
|
||||
Transform your picture into "ASCII art", typewriter-style.
|
||||
|
||||
This tool offers both freehand and one-click operation.
|
||||
|
||||
This tool offers multiple size settings.
|
||||
|
||||
This tool offers color choices.
|
||||
|
||||
See also: ASCII Computer & ASCII Color Computer.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Tux Paint 0.9.34
|
||||
|
||||
20
magic/magic-docs/fr_FR.UTF-8/ascii_typewriter.txt
Normal file
20
magic/magic-docs/fr_FR.UTF-8/ascii_typewriter.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
Outil 'Magie' de Tux Paint : ASCII Typewriter
|
||||
|
||||
Groupe: Distorsions
|
||||
|
||||
Auteur : Bill Kendrick <bill@newbreedsoftware.com>
|
||||
|
||||
Transform your picture into "ASCII art", typewriter-style.
|
||||
|
||||
Cet outil permet à la fois de travailler avec un simple clic et à main levée.
|
||||
|
||||
Cet outil permet de travailler avec plusieurs tailles.
|
||||
|
||||
Cet outil permet de choisir des couleurs.
|
||||
|
||||
Voir aussi : ASCII Computer & ASCII Color Computer.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Tux Paint 0.9.34
|
||||
|
||||
20
magic/magic-docs/gl_ES.UTF-8/ascii_typewriter.txt
Normal file
20
magic/magic-docs/gl_ES.UTF-8/ascii_typewriter.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
Tux Paint "Magic" Tool: ASCII Typewriter
|
||||
|
||||
Group: Distorts
|
||||
|
||||
Author: Bill Kendrick <bill@newbreedsoftware.com>
|
||||
|
||||
Transform your picture into "ASCII art", typewriter-style.
|
||||
|
||||
This tool offers both freehand and one-click operation.
|
||||
|
||||
This tool offers multiple size settings.
|
||||
|
||||
This tool offers color choices.
|
||||
|
||||
See also: ASCII Computer & ASCII Color Computer.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Tux Paint 0.9.34
|
||||
|
||||
20
magic/magic-docs/is_IS.UTF-8/ascii_typewriter.txt
Normal file
20
magic/magic-docs/is_IS.UTF-8/ascii_typewriter.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
Tux Paint "Magic" Tool: ASCII Typewriter
|
||||
|
||||
Group: Distorts
|
||||
|
||||
Author: Bill Kendrick <bill@newbreedsoftware.com>
|
||||
|
||||
Transform your picture into "ASCII art", typewriter-style.
|
||||
|
||||
This tool offers both freehand and one-click operation.
|
||||
|
||||
This tool offers multiple size settings.
|
||||
|
||||
This tool offers color choices.
|
||||
|
||||
See also: ASCII Computer & ASCII Color Computer.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Tux Paint 0.9.34
|
||||
|
||||
20
magic/magic-docs/ja_JP.UTF-8/ascii_typewriter.txt
Normal file
20
magic/magic-docs/ja_JP.UTF-8/ascii_typewriter.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
Tux Paint "Magic" Tool: ASCII Typewriter
|
||||
|
||||
Group: Distorts
|
||||
|
||||
Author: Bill Kendrick <bill@newbreedsoftware.com>
|
||||
|
||||
Transform your picture into "ASCII art", typewriter-style.
|
||||
|
||||
This tool offers both freehand and one-click operation.
|
||||
|
||||
This tool offers multiple size settings.
|
||||
|
||||
This tool offers color choices.
|
||||
|
||||
See also: ASCII Computer & ASCII Color Computer.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Tux Paint 0.9.34
|
||||
|
||||
20
magic/magic-docs/sq_AL.UTF-8/ascii_typewriter.txt
Normal file
20
magic/magic-docs/sq_AL.UTF-8/ascii_typewriter.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
Mjeti “Magjik” i Tux Paint-it: ASCII Typewriter
|
||||
|
||||
Grup: Shformime
|
||||
|
||||
Autor: Bill Kendrick <bill@newbreedsoftware.com>
|
||||
|
||||
Transform your picture into "ASCII art", typewriter-style.
|
||||
|
||||
Ky mjet ofron si veprim vizatimi me dorë të lirë, ashtu edhe me një klikim.
|
||||
|
||||
Ky mjet ofron rregullime të shumta madhësie.
|
||||
|
||||
Ky mjet ofron zgjedhje ngjyrash.
|
||||
|
||||
Shihni edhe: ASCII Computer & ASCII Color Computer.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Tux Paint 0.9.34
|
||||
|
||||
BIN
magic/sounds/ascii-computer.ogg
Normal file
BIN
magic/sounds/ascii-computer.ogg
Normal file
Binary file not shown.
BIN
magic/sounds/ascii-typewriter.ogg
Normal file
BIN
magic/sounds/ascii-typewriter.ogg
Normal file
Binary file not shown.
|
|
@ -153,12 +153,11 @@ int ascii_init(magic_api * api, Uint8 disabled_features ATTRIBUTE_UNUSED, Uint8
|
|||
|
||||
for (i = 0; i < NUM_TOOLS; i++)
|
||||
{
|
||||
/* FIXME */
|
||||
/* Load our sound */
|
||||
snprintf(fname, sizeof(fname), "%ssounds/magic/ascii-%s.ogg", api->data_directory, ascii_tool_filenames[i]);
|
||||
snprintf(fname, sizeof(fname), "%ssounds/magic/xor.ogg", api->data_directory);
|
||||
|
||||
ascii_snd[i] = Mix_LoadWAV(fname);
|
||||
|
||||
/* Load and process our bitmap "font" */
|
||||
snprintf(fname, sizeof(fname), "%simages/magic/ascii-%s.png", api->data_directory, ascii_tool_filenames[i]);
|
||||
ascii_bitmap[i] = IMG_Load(fname);
|
||||
|
||||
|
|
@ -357,6 +356,9 @@ void ascii_drag(magic_api * api, int which, SDL_Surface * canvas,
|
|||
update_rect->w = canvas->w;
|
||||
update_rect->h = canvas->h;
|
||||
|
||||
if (which == TOOL_COMPUTER_COLOR)
|
||||
which = TOOL_COMPUTER;
|
||||
|
||||
api->playsound(ascii_snd[which], (x * 255) / canvas->w, 255);
|
||||
}
|
||||
|
||||
|
|
@ -369,7 +371,10 @@ void ascii_click(magic_api * api, int which, int mode,
|
|||
{
|
||||
int xx, yy;
|
||||
|
||||
api->playsound(ascii_snd[which], (x * 255) / canvas->w, 255);
|
||||
if (which == TOOL_COMPUTER_COLOR)
|
||||
api->playsound(ascii_snd[TOOL_COMPUTER], (x * 255) / canvas->w, 255);
|
||||
else
|
||||
api->playsound(ascii_snd[which], (x * 255) / canvas->w, 255);
|
||||
|
||||
for (yy = 0; yy < canvas->h; yy++)
|
||||
{
|
||||
|
|
@ -393,6 +398,7 @@ void ascii_release(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED,
|
|||
SDL_Surface * last ATTRIBUTE_UNUSED, int x ATTRIBUTE_UNUSED,
|
||||
int y ATTRIBUTE_UNUSED, SDL_Rect * update_rect ATTRIBUTE_UNUSED)
|
||||
{
|
||||
api->stopsound();
|
||||
}
|
||||
|
||||
void ascii_shutdown(magic_api * api ATTRIBUTE_UNUSED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue