Should I continue working on this flash game?

Started by Coolboyman, July 9, 2012 06:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rtil

that music engine is pretty damn cool. but i imagine you are still working on it, because it seems to have trouble keeping a constant beat haha. but seriously that's really cool that you coded that. do you feed it some data and it plays the music?

Coolboyman

#21
Quote from: rtil on August 18, 2012 11:11 AM
that music engine is pretty damn cool. but i imagine you are still working on it, because it seems to have trouble keeping a constant beat haha. but seriously that's really cool that you coded that. do you feed it some data and it plays the music?

The reason why it's having trouble keeping a beat sometimes is Flash's memory problem which I'm still trying to resolve.  Sometimes it struggles when you go into a different map.  It's hard for me to test where it really lags because my computer is so great.

It retrieves a hexadecimal song file embedded in the flash (usually only around 200 bytes) and executes sound based on the bytes in the file.  The song only needs one byte to play a note (Each section is divided up into four bits, one is the note and the other is the length).  There's also other commands that control the pitch, tempo, changing octaves, and more. 

Not only does my sound engine allow for the songs to be EXTREMELY small compared to mp3's and wavs, but as far as I know it's also the closest you'll get to producing sound that sounds exactly like an 8-bit game.  Gameboy has four channels: two square wave, one triangle wave and a white noise (which I haven't implemented yet).

I need to look up more commands that can be used with square waves/triangle waves.  There's also a few problems with the code (not all songs play properly and channels dis-align with each other), but I'm workin' on it.

I'll probably get NPCs and signposts (along with a text box) working in a week or two, or less!

I'm wondering what kind of game I can make out of this.  Even though it's going to be 8-bit oriented, I can still "Subtly cheat" for things here and there.  Of course, I'd need a dedicated artist (I've had bad experiences with online artists in the past.  They say they'll do something, two months later nothing gets done and they say "oh im too busy".  If they're too busy then they shouldn't have applied for the position in the first place.  )

rtil

i noticed when i scrolled down and it was outside my screen it started lagging pretty bad. not sure if that means anything.

Coolboyman

Quote from: rtil on August 19, 2012 03:46 AM
i noticed when i scrolled down and it was outside my screen it started lagging pretty bad. not sure if that means anything.

Not really. If any flash is off screen it's gonna slow down.