Howdy!
So I've been working on a little shoot em up and ran into what I assume is a small issue.
I have set up the explosion sound for when an enemy is destroyed with JUST audio_play_sound. Problem? when you destroy multiple enemies either at once, or close enough together, it creates a very...
Hi guys,
I am trying to loop a sound effect, but only for a certain amount of times in stead of indefinitely. As for now I just loop the sound and stop it at some later time. But this often cuts the sound effect off in the middle, and I don't know of a way to toggle looping on/off.
I am aware...
Hello,
I have a sount put in an audiogroup. I have set the gain of that sound manually to 0 in the pannel in the IDE of GMS2.
But then, when I launch the game, the gain is reset to 1. I can hear that sound being played.
If I put that sound in the audiogroup_default, then I dont hear it...
I imported some music / sound into my Game Maker Studio 2 project.
When I play it in the audio window, it sounds fine.
But when I run the game, it sounds crackles and plays much slower.
It doesn’t matter which settings I use, compressed or uncompressed.
I tested it on Macbook pro with Mac OS...
I see that there's still sprite_add, but I don't see an audio version.
Am I missing it, or is there no way to add sounds from external files?
Edit: Welp, nevermind. Just saw that it's "audio_create_stream". Or at least it seems to be the closest.
Hey everyone!
Right now i have two enemies that play the same sound while walking.
I want to be able to play/stop and to control the gain of the sound of each enemy.
I tried something like:
if (enemy_move)
{
if (!audio_is_playing(snd_walk))
{
audio_play_sound(snd_walk)...
Heyo! Okay, so in my game, I have set up some code so that a string of text appears letter by letter, just like I'm typing this right now. Now, I tried to write some code so whenever it would detect a space in the string it would not play the sound associated with the letters being drawn. The...
Hi all,
I am new here, just getting started. When I compile, GM2 re-writes the sound files I created and makes them bigger in the process. How do I keep it from re-writing them? They are already as optimized as I can get them, the quality is where I want them to be. GM2 seems to re-write them...
Hi,
So I struggle finding nice sounds for my roguelike top-down rpg game.
I know freesound.org and soundbible but I don't really find quality content for explosions, etc.
They are too "real" and don't fit in a game. I need some low-pitch, discrete ones and yet recognizable.
If you could...
Hi!
I imported some music / sound into my project.
When I play it in the audio window, it sounds fine.
But when I run the game, it sounds slow and horrible.
It doesn’t matter which settings I use, compressed or uncompressed.
Heyy, so in all my games, seemingly, mp3 musics are really quiet when playing in the background. They're set to Stereo, Compressed, 16bit. Is there any settings to change? Musics never played quiet in 8.0 at least as i remember...
Good day everyone.
There are a number of car models falling under an obj_car parent. Each car object has a passby variable where, on creation, the type of engine sound is determined.
In the step event of the parent, the " if !sound_isplaying" code is checked, and the passby variable is looped...
Hello, how do I loop an audio track for a specific amount based on a variable?
Example of what I tried:
var replay_amount = 2; //Audio Will Loop Twice
But when I do :
audio_play_sound(snd_sound, 1, replay_amount); //It doesn't work
P.S. Also, how do I use the code section properly when...
To come straight to the point, the sound pitch doesn't change directly or something.
As seen in many mario games, if you hit an enemy with a shell, you hear a sound, when the same shell is stil spinning and hits another enemy, the pitch of the sound goes up and after 8 times the sound pitch has...
I put the code in the first line of my first object in first room(persistent)
audio_channel_num(1);
but when I run the game using audio_debug, show at least 4 channels, even when I set values like 2, 3 or 4 show different amount of active sources.
Thanks.
Hi! So I've been adding more sounds to my game. But when after I have created a sound and added the audio file to it, if I press play on the preview mode: it plays in a really loud, hissing, and distorted way.
However, in the game, the sound plays perfectly fine!
Also, certain files, seem to...
OK i've been pulling my hairs out for this one and its almost drove me crazy !
Before finding the solution to my problem I've passed a whole freaking week on this error!
So I'm posting this so other won't have to scratch they're brains out!
I had a screen transition and i had a BGM audio that...
Hey guys,
I am currently working on a first person shooter and until now I always only used audio_play_sound for all sounds.
Today I wanted to start setting up proper 3D sounds for the enemies' guns. So that I get a falloff depending on the distance to the enemy and also a pan change depending...
Audio playing sound glitch problem(latest gms 1.4 version)
it is not easy to explain, so I recorded short version of original mp3 file and in game sound mp3.
Could you please how to fix this problem??
I do every that I can do but all the same(change mp3 to wave,flac,ogg and other things)
Here is...