The quest for the golden squirrel

Published September 19, 2007
Advertisement
Over the past view days I have been making a scriptable front-end for my engine which, if you have had read my pervious post, you will already know. As I have done this is before it's been preatty easy going.

I got all the -basic- graphical functions done so you can load, draw, rotate and generally have fun with images. I have allso just finsihed doing the input part so you can read input from the user.

Last night I started working on getting the audio part done, which kind of works now, but I'm having a few troubles with the library interface I'm using because irrKlang has a funny way of doing things. Basically I have been using ISoundSource but it has become appernt that I should be using ISound, unfortunally there is no Load function for sounds - it is done via engine->Play2D - which is OK because you can play them paused.

Unforntually I'm lost at how it should work with my engine. Play2D loads and plays a sound , which can be looped of not, but I dont really want a function like LoadSound(file, looped) that just seems retarted to me. I want it to load a sound and the you should be able to play it ethier looped or not.

Basically irrKlang is being a giant thorn in my side D:

Anyway - I was thinking of how to expose the scripts i.e. do I do the engine setup in c++ and then the rest in script by reading a config file, or do I just do the whole thing in script and then only code the loading of the script.

--
I have no freetime atm which suxs so the going is slow, fortunally I have two whole weekends free from work at the coop so I hope to pick things up soon (that is two weekends starting from next week D)

Well hopefull I might post a screenshot of somthing or other next time.
Previous Entry Squirrel -again-
Next Entry .: Time :.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Well...

994 views

Updgrade

1019 views

giff (t)

1087 views

Also

1129 views

...

557 views

Is this thing on?

864 views

Rewrite Done

964 views

R

1006 views

Codename

877 views

Playground

835 views
Advertisement