Sunday, July 24, 2011

Sound

It's surprising how hard to add sound to a game can be. I was hoping to have this done by the end of the weekend(it is now the end of the weekend.) Given i only spent an accumulated 3-4 hours on it within the past 3 days..Things come up.. mostly drinking with friends and family so i can't really complain.. I haven't made a sketch yet so i should probably get one done within the next few days.. Forcing yourself to draw is really the only way to get any better.. so it's 1 step a time.

Anyway i hope to fix my sound tomorrow.. Just 1 sound.. that's all i'm asking for, then i'd be happy :) Then i'll build a class to handle said sounds and expand upon it. Afterwards i can get into particle effects and menu's and stuff. should be fun.. well kinda.. sort of.. It will be for me.. i want this game to be fun.. but right now it's kind of lame. and exceedingly difficult.. i could just make the pictures larger but i was hoping to do an affine transformation.. because it kind of made sense.. And i should probably learn how to do them anyway. Making bigger pictures is just be running away from the problem, i still wouldn't understand them and i probably should take the time to learn them.

Was also looking through notch's Breaking the Tower code hoping it would impart onto me some cool coding wisdom.. and i was hoping he'd have a good example of how to do sound.. which he might. I don't know, his code is still pretty difficult for me to grasp. But i feel i'm better now.. i might be able to decode it to some level if i spent some time on it. But the way he handles sound is still a bit above my head, i think he's streaming it.. he said it's generated on the fly somewhere so i just can't manage that.

So apparently Slick2d has an easy way of managing sound.. or it's OpenAL or something like that which is accessible by lwjgl which is accessible through Slick2d and there we go :) Once i get sound done i'll work on fixing the gameplay to be more entertaining and i will try to add some cooler effects. Right now it's rocking the Classic Asteroids graphics.. which i have no intention of changing mind you. But some cool explosions and particles effects should make things cooler.

Anyway, till tomorrow. Hopefully i'll get a sketch done and put something up.. since that's why i made this blog..

No comments:

Post a Comment