• Welcome to Dark Bit Factory & Gravity.
 

20 Second Fishies

Started by mike_g, March 12, 2007

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

mike_g

Heres my entry

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 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]

Rbz

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.


Challenge Trophies Won:

mike_g

Yeah, sorry, I'll do that.

mike_g

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 ???

Rbz

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



Challenge Trophies Won:

mike_g

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.

rdc

I am getting a memory access error as well. I am on Win2K.

mike_g

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.

rdc

I ran the exe. I don't have Blitz.

mike_g

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:

rdc

This one worked just fine. Neat little demo. :)

Tetra

Nice little demo you put together :)

I especially like robot fish controlled by the smaller fish  O0
Challenge Trophies Won:

zawran

Nice one, and great to see that you got it working.

Shockwave

Hehe I was expecting to see tropical fish, I like these lumpy ones better :D Nice job Mike!
Shockwave ^ Codigos
Challenge Trophies Won:

mike_g


benny!

Cool. Good entry!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Paul

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
I will bite you - http://s5.bitefight.se/c.php?uid=31059
Challenge Trophies Won:

Clyde

Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

mike_g

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.


GrahamK

Nice one....

Quote from: mike_g on March 13, 2007and I got another little demo in cobra to finish off.

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