Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - cat

#2861
Hi!

I have a weird problem in my game: sometimes playing an audio stops the background music.
I have narrowed down WHEN it happens, but I don't know why or how I can solve the problem.

After an intro screen, the player enters the main room. There I start the music in room_FirstLoad()
Code: ags
aKanji.Play(eAudioPriorityNormal, eRepeat);

Which works as expected. Later in the game, I play a sound when looking at an inventory item
Code: ags
aRubberDuck.Play();

This sometimes stops the background music and it doesn't start again.
The weirdest thing is, when this happens. Because it all depends on the first intro screen.
The full room script:
Code: ags

function room_AfterFadeIn()
{
   StartCutscene(eSkipESCOnly);   
   Wait(6 * GetGameSpeed());
   EndCutscene();
   aStart.Stop();
   player.ChangeRoom(1);
}

function room_Load()
{
   gInventory.Visible = false;
   aStart.Play(eAudioPriorityNormal, eOnce);
}

When I cancel the screen with ESC, everything is ok. But when I wait for the cutscene to finish, the aRubberDuck.Play() will stop the music later in the game.

What I intend to do is showing the intro screen and play the sound and only navigate to the main screen when the music has finished. When the user presses ESC, the game should stop the sound and switch to the main screen immediately.

My guess is, that aStart.Stop causes some internal error when the audio is not playing anymore, but I'm not sure.

Is my description clear? I know it sounds very confusing.

Is there a workaround for this problem?

Edit: I'm using AGS 3.3.3
#2862
Critics' Lounge / Re: Font critic in text
Sun 11/01/2015 16:36:10
3 would be best. 1 is pretty but hard to read. 6 is a bit boring. The others look sloppy, as Cassiebsg has pointed out.
#2863
Another Coloring Ball with great entries - you guys don't make this an easy decision!

1st - AprilSkies
2nd - Tabata
3rd - I<3Pindorama
#2864
Captain Disaster, of course (laugh)
#2865
AGS Games in Production / Re: Kanji Gakusei
Tue 06/01/2015 09:00:21
Thanks, we have enough testers now.
#2866
Thanks guys, I'll send you a testbuild soon. Now I need a few brave people who don't know Japanese (yet) :)
#2867
The Rumpus Room / Re: Icey games' thread
Sun 04/01/2015 15:48:42
Hey, Icey, that Maria from the Card Shop art is amazing, especially the hair. I wish you would also make a male character with realistic hair instead of just pointy spikes - I know you can do better ;)
#2868
AGS Games in Production / Kanji Gakusei
Sun 04/01/2015 15:24:21
The game has been released!


Originally created for OROW 8, this is going to be the enhanced version of the game.


Kanji are Chinese characters that are used to write the Japanese language. There are several thousands of them. All Japanese children have to learn about 2000 kanji at school. Gakusei (pronounced "gucksay") means student.

Help our little girl to finish her homework by finding the six required Kanji.



Once you have found the characters, it is YOUR task to write them in her notebook.
An animation shows the correct writing stroke by stroke. Can you write them in the correct order?



The game uses Besh's MOUSE GESTURE SYSTEM script module that I enhanced a bit to support kanji.

06/01/2015 Testers found

04/01/2015 Testers needed!
I'm looking for testers who want to test both, the adventure as well as the drawing part of this game. Ideally, there would be one person who knows Japanese and a few who don't.
#2869
Congrats to the winners, especially Monsieur OUXX and thanks to aikex222 for hosting this great competition. I had a lot of fun participating.
#2870
AGS Engine & Editor Releases / Re: AGS 3.3.3
Fri 02/01/2015 21:39:36
I don't know if this was fixed in this or the previous version, but thanks a lot for fixing the issue with weird scrolling when selecting frames in superlong view loops. This was really annoying :-D

(on a side note, the "Check for updates" feature doesn't seem to work anymore, I get a messagebox with a 404)
#2871
I absolutelty love the Tokugawa idea. I just watched a documentary about him a few weeks ago and Nikko (and especially the nature around it) is so beautiful.
#2872
A quick reminder for game developers: Today is the last chance to add your game to the database to make it eligible for this year's awards!
#2873
Quote from: Lasca on Tue 30/12/2014 15:20:23
Is there anyway you can list and repost all competing entries in a post, so we could see them all together? Will make it a little bit easier to decide!
It's in the first post :)

Now for the voting - this is really hard, because there are so many great backgrounds.

   - Concept That's a close one between Cassiebsg and Mandle, but I'll go with Cassiebsg because this background was finished.
   - Artistic Execution Another close one between Monsieur OUXX and Yakatakatulla. I decide for Monsieur OUXX because of the amazing pixel art with great shading and all the nice little details.
   - Playability This is a clear win for Monsieur OUXX's background with its obvious exits and the cross-thingy in the foreground that looks like it will open one of the doors.
#2874
Thanks for the clarification, I guess I'll use the 3.3.2 installer for now and have the 3.4.0 separately to try the new features.
#2875
Probably not the right place to post it, but I didn't want to start a new thread for this:

I finally have time to work on a game again and wanted to also update AGS to the latest version. But the problem is - which is the latest version? There is AGS 3.3.2, AGS 3.3.3 and AGS 3.4.0.2, all in separate threads. It would be great if there was a sticky topic that links to all current versions and explains, which one should be used.

I know that testing is essential for getting a good software, so I would also use an alpha or beta version, if it is stable enough. It would just be great to provide game developers with a recommendation which build to use.
#2876
Quote from: Mandle on Mon 29/12/2014 01:09:41
Wow Cat! That is heartbreakingly beautiful! Is it going to be part of a game you're working on? Please say yes!
Thanks, but no, not part of a game. Considering how long this single background took to make, I'd only finish such a game when I retire (roll)

Btw, here is some kind of WIP of my background: WIP

Quote from: Mandle on Mon 29/12/2014 08:03:46
In the game I have planned the island will be at the bottom of the ocean but it will also be risen and above the waves at some point so I'm not sure how I'm going to light the scene.
You will probably have to make two different versions, the light and color is totally different under water.
I hope you will finish this great background and game!
#2877
Ok, I think I'm done. Here is the scaled down version of the background, click to see a larger picture (though it seems the image host scales down the full 1700x768):



What I've learned from this BG-Blitz: Painting a picture takes muuuuch longer than expected 8-0
#2878
Congrats to the winners, such great sprites!

@Misj' Do you have that animation in a higher resolution? I know this competition was low res, but this sprite would probably look even better in high res.

@beeblebrox Thanks for resurrecting this competition!
#2879
*bump*

Now that Christmas is over, I'm working on my background again. Don't forget to finish your backgrounds, too!
#2880
The Rumpus Room / Re: Happy Birthday Thread!
Thu 25/12/2014 12:34:20
Quote from: NickyNyce on Thu 25/12/2014 11:52:51
I can now die in peace.
Nooooooo! (At least not before you have finished The Visitor 3 ;) )
SMF spam blocked by CleanTalk