Dark Bit Factory & Gravity

GENERAL => Challenges & Competitions => Topic started by: mike_g on March 13, 2007

Title: 20 Second Fishies
Post by: mike_g on March 13, 2007
Heres my entry (http://mike_g.sitesled.com/20 Sec Fishy.zip)

Its my first demo so I added some pixel art to try and make up for what I lack in programming abilities.

Thanks to zawran and shockwave for help with the coding :)

I havent got any music making software, so I ripped some of the music from the first level of Gaiares (http://en.wikipedia.org/wiki/Gaiares) cos its old school, cheesy, & cool :) Dont know who made it tho so I cant credit em for it :(

Also I'm sorry for the large download size, its mainly to do with the music. Ironic when its originally about 50k but ends up 1.7MB when zipped as a wav. I guess I got to get something to convert file formats. Anyway hope you guys like it :)

[edit]Oh yeah and the seaweed and Crack effect might come out looking weird sometimes because they are randomised.[/edit]
Title: Re: 20 Second Fishies
Post by: Rbz on March 13, 2007
Sorry mike, but it isn't working here, I got a MAV (memory access violation), check your WritePixelFast command, maybe you are drawing out of the max screen resolutions.


Title: Re: 20 Second Fishies
Post by: mike_g on March 13, 2007
Yeah, sorry, I'll do that.
Title: Re: 20 Second Fishies
Post by: mike_g on March 13, 2007
Hmm.. I dont think I am. I just replaced the one instance where I use GraphicsWidth() because that caused problems for someone once in the past.

Are you running the .bb code from the zip file? I think that would give you a MAV. If its not one of these then I guess I got a bit of a problem :(  It seems to run fine for me though ???
Title: Re: 20 Second Fishies
Post by: Rbz on March 13, 2007
Take a look into the  "F_CIRCLE" function, when I remove it everything works fine...

Did you forgot to display a timer counter ?  :)  See the rules added by Shockwave

Btw, It's a nice entry, welldone



Title: Re: 20 Second Fishies
Post by: mike_g on March 13, 2007
Sorry I dident check that at first I must have presumed that that wouldent be a problem. Its strange that it wouldent work for you, i got some other people to test it and for them it ran fine. Still I just updated it again replacing writepixelfasts with writepixel so I hope it will work for everyone now. I added a timer in the corner well, cheers.
Title: Re: 20 Second Fishies
Post by: rdc on March 13, 2007
I am getting a memory access error as well. I am on Win2K.
Title: Re: 20 Second Fishies
Post by: mike_g on March 13, 2007
I had someone say that they got a MAV when one of the functions returned an integer. I never thought that was possible in blitz until a while ago when I treid it and it worked. Did you use the .exe or the .bb version? I guess I'll have to change the variable returned to a global instead. Lol, i'll upload a new version in a sec as soon as its done.
Title: Re: 20 Second Fishies
Post by: rdc on March 13, 2007
I ran the exe. I don't have Blitz.
Title: Re: 20 Second Fishies
Post by: mike_g on March 13, 2007
I uploaded a new version, another answer could be that my new files i uploaded wernt overwriting the files already uploaded.  I hope this works for you rdc :)

I'm starting to get a headache  now :whack:
Title: Re: 20 Second Fishies
Post by: rdc on March 13, 2007
This one worked just fine. Neat little demo. :)
Title: Re: 20 Second Fishies
Post by: Tetra on March 13, 2007
Nice little demo you put together :)

I especially like robot fish controlled by the smaller fish  O0
Title: Re: 20 Second Fishies
Post by: zawran on March 13, 2007
Nice one, and great to see that you got it working.
Title: Re: 20 Second Fishies
Post by: Shockwave on March 13, 2007
Hehe I was expecting to see tropical fish, I like these lumpy ones better :D Nice job Mike!
Title: Re: 20 Second Fishies
Post by: mike_g on March 13, 2007
Thanks guys :)
Title: Re: 20 Second Fishies
Post by: benny! on March 13, 2007
Cool. Good entry!
Title: Re: 20 Second Fishies
Post by: Paul on March 13, 2007
Here is an example,

graphics 800,600
lockbuffer()
writepixelfast(800,600); wont work for most people actually that's outside of the screen

writepixelfast(799,599) should work for everybody.

unlockbuffer()

Edit: download finished, nice demo like the designs of the fish and the bubbles
Title: Re: 20 Second Fishies
Post by: Clyde on March 13, 2007
Great Job dude :)
Title: Re: 20 Second Fishies
Post by: mike_g on March 13, 2007
Glad you guys like it :)

I am starting to think that maybe I should have put some work into the timer. Have it like a bomb or something that goes off after 19 seconds. Oh well its done now, and I got another little demo in cobra to finish off.

Title: Re: 20 Second Fishies
Post by: GrahamK on March 14, 2007
Nice one....

and I got another little demo in cobra to finish off.

Now that I like the sound of  :clap:
he he

Title: Re: 20 Second Fishies
Post by: ekoli on March 14, 2007
Always remember that there is always a larger fish... :D
Nice entry!
Title: Re: 20 Second Fishies
Post by: mike_g on March 14, 2007
Thanks Graham and ekoli :)
Title: Re: 20 Second Fishies
Post by: rain_storm on March 16, 2007
Haha I like this one its really funny clever idea mike_g
Title: Re: 20 Second Fishies
Post by: mike_g on March 16, 2007
Hey rain_storm, glad you liked  :cheers:
Title: Re: 20 Second Fishies
Post by: Hotshot on March 16, 2007
that was good oringal entry!
welldone
Title: Re: 20 Second Fishies
Post by: mike_g on March 16, 2007
Cheers hotshot  :cheers: