Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Sound effects!

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
Onlyoneinall
Bug finder




Joined: 16 Jul 2005
Posts: 746

PostPosted: Tue Jun 27, 2006 7:45 pm    Post subject: Sound effects! Reply with quote

Just wanted to say thank you for implementing sound effects into the editor Happy However, I tried to open it in custom-fb2-sdl and it crashed immediately Raspberry!

EDIT: I might've spoke too soon. It doesn't seem you can do anything with them yet, aside from importing and exporting.
_________________
http://www.castleparadox.com/gamelist-display.php?game=750 Bloodlust Demo 1.00

Back to top
View user's profile Send private message Send e-mail
Ysoft_Entertainment
VB Programmer




Joined: 23 Sep 2003
Posts: 810
Location: Wherever There is a good game.

PostPosted: Tue Jun 27, 2006 8:15 pm    Post subject: Reply with quote

from what I understood it works only with plotscripts now.
_________________
Try my OHR exporter/importer.
OHRGFX
Striving to become better pixel artist then Fenrir Lunaris. Unfortunately the laziness gets in the way of my goals.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Tue Jun 27, 2006 8:32 pm    Post subject: Reply with quote

SDL is pure evil. I highly unrecommend it, and ++recommend native.

And, yes. As of now, you can only use sound effects via plotscripting.
_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Onlyoneinall
Bug finder




Joined: 16 Jul 2005
Posts: 746

PostPosted: Tue Jun 27, 2006 8:40 pm    Post subject: Reply with quote

Oh... so is the plotscript command you use, play sound effect (sound effect: SOUND) ?
_________________
http://www.castleparadox.com/gamelist-display.php?game=750 Bloodlust Demo 1.00

Back to top
View user's profile Send private message Send e-mail
Valigarmander
Bye-Bye




Joined: 04 Mar 2006
Posts: 750
Location: Nowhere

PostPosted: Tue Jun 27, 2006 11:46 pm    Post subject: Reply with quote

duh, wait, whuts sdl
Back to top
View user's profile Send private message Send e-mail
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Wed Jun 28, 2006 7:18 am    Post subject: Reply with quote

Onlyoneinall wrote:
Oh... so is the plotscript command you use, play sound effect (sound effect: SOUND) ?


No, it's a little bit more complicated than that. My advice is to read the plotscripting dictionary, although I'll probably write a quick tutorial on the wiki soon...

Edit: http://gilgamesh.hamsterrepublic.com/wiki/ohrrpgce/index.php/How_do_I_use_Sound_Effects%3F
_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Wed Jun 28, 2006 8:25 am    Post subject: Reply with quote

Valigarmander wrote:
duh, wait, whuts sdl


SDL stands for Simple Directmedia Layer. it is a game library that I love and that Mike hates. The OHRRPGCE can optionally use it as a backend. It is not used by default on windows, but it is the only reliable sound backend for Linux.

Sound effect support with the SDL backend will not be working properly until I or someone else other than Mike finds time to fix it up :)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Onlyoneinall
Bug finder




Joined: 16 Jul 2005
Posts: 746

PostPosted: Wed Jun 28, 2006 9:44 am    Post subject: Reply with quote

Thanks Mike. I didn't realize there was an entry posted up explaining sound effect usage.

I guess that explains why the SDL versions tend to play music more fluidly without problems eh?
_________________
http://www.castleparadox.com/gamelist-display.php?game=750 Bloodlust Demo 1.00

Back to top
View user's profile Send private message Send e-mail
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Wed Jun 28, 2006 10:44 am    Post subject: Reply with quote

Onlyoneinall wrote:
Thanks Mike. I didn't realize there was an entry posted up explaining sound effect usage.


When you posted, there wasn't. I wrote that article right after I posted.

Onlyoneinall wrote:
I guess that explains why the SDL versions tend to play music more fluidly without problems eh?


I don't hate SDL per se. I hate the way it does things. It hides every little detail about everything, leaving us, the programmers, with very little control.

That said, the sound effects in SDL *should* work. I just looked over the code again, and it looks ok. However, why it doesn't work, I have no idea.
_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group