Well I find it odd but in google chrome my code didn't work so once I created an application (HTML5) and uploaded it for a friend to test, he was spammed with sounds (totally forgot I programmed them in ha) but he was using Firefox.
The only way I was able to make the sounds play on google chrome was if I put Sound_Play in D&D form into any event...
Why's this happening?
- Game Maker Community
- → Viewing Profile: Posts: clod14
clod14
Member Since 16 Mar 2007Offline Last Active May 13 2013 05:37 AM
Community Stats
- Group GMC Member
- Active Posts 412
- Profile Views 2221
- Member Title GMC Member
- Age 22 years old
- Birthday February 21, 1991
-
Gender
Male
1
none
Latest Visitors
Posts I've Made
In Topic: Sounds On Game Maker Html5
06 March 2013 - 02:39 PM
In Topic: Sounds On Game Maker Html5
02 March 2013 - 09:45 PM
I'm using Google Chrome.
At first I had it under, a step event after it checks if a variable is over 0.
to play a sound, using sound_play(so_ball); but didn't work so then I tried sound_loop(so_ball); still didn't work. no sound at all is coming out, I even tried putting it under an event like global mouse left click to play the sound and nope nadda. :/
At first I had it under, a step event after it checks if a variable is over 0.
to play a sound, using sound_play(so_ball); but didn't work so then I tried sound_loop(so_ball); still didn't work. no sound at all is coming out, I even tried putting it under an event like global mouse left click to play the sound and nope nadda. :/
In Topic: Two Blocks Of Code Doesn'T Want To Work Together.
17 February 2013 - 08:51 PM
Sorry lol your code isn't identical, i didn't help at all >.>
try putting them both in the same block by using the or function.
the 2 blocks look exactly identical.
try putting them both in the same block by using the or function.
the 2 blocks look exactly identical.
if hit=1 or point_distance(x,y,objplayer.x,objplayer.y) < 150
{
if dir=0
move_towards_point(objplayer.x+50,y,3)
else
move_towards_point(objplayer.x-50,y,3)
if hspeed>=0
{
dir=0;
sprite_index=sprenemy1walkright;
}
else
{
dir=1;
sprite_index=sprenemy1walkleft;
}}
else if hit=0
{
speed=0;
if dir=0
sprite_index=sprenemy1right
else
sprite_index=sprenemy1left
}
In Topic: Question about steam
10 December 2012 - 07:41 PM
Thanks Canta, yeah it was how I was starting it up, going to the gm page.
It was in my software section!
Thanks again!
It was in my software section!
In Topic: Image fade in?
28 October 2012 - 12:13 AM
Hi
I have an image that I want to fade in when the room starts. (The main menu)
I'm not good at programming though, so could you folks help me?
Thanks
CREATE EVENT
image_alpha=0
STEP EVENT
if image_alpha<1
{
image_alpha+=.10
}
- Game Maker Community
- → Viewing Profile: Posts: clod14
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content