• Welcome to Dark Bit Factory & Gravity.
 

SPECCY Source

Started by Xalthorn, September 02, 2008

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xalthorn

This time I've attached a zip file with a fully compilable source folder with images, the music, a .bat to compile it and an exe of it compiled.  I've posted the source here for browsing as well.

I've just noticed that the comment for the masked picture drawing hasn't changed since I first wrote it.  In this demo, it wouldn't matter so much if things left the drawing area slightly, as the drawing area is in the centre of a canvas and any excess is removed (ignored) by the scaling routine.  Ah well.

EDIT: Oh dear, the source is too long to post.... you'll have to get it from the zip
Challenge Trophies Won:

Jim

Thanks for all the great source code!

Jim
Challenge Trophies Won:

Xalthorn

No worries, I figure that's the whole point of these forums.  See what other people are doing, show people what you're doing, and above all, share experience and source so that we can all improve ourselves.

If someone can understand my code and learn something from it, brilliant :D

I was shocked to see how large my .bas file was for this and Xalboy, it's amazing how quickly these things grow when you just jump in and start coding ;)
Challenge Trophies Won:

Shockwave

It's really nice of you to post these things Xal, so I want to echo Jims comments.

I'm really happy that you joined!  :) I'm happier still that you are posting these really nicely commented examples.
Shockwave ^ Codigos
Challenge Trophies Won:

Xalthorn

Quote from: Shockwave on September 03, 2008
It's really nice of you to post these things Xal, so I want to echo Jims comments.

I'm really happy that you joined!  :) I'm happier still that you are posting these really nicely commented examples.

Aww thanks.

I'm just pleased I found this place (well, was reminded that it existed by Jim), I've not had so much fun in ages.
Challenge Trophies Won:

gooner

Cheers Xalthorn  for the source code.I will have agood look at it later and see if i can work out whats going on.k++
:cheers:

Xalthorn

Quote from: Gooner on September 03, 2008
Cheers Xalthorn  for the source code.I will have agood look at it later and see if i can work out whats going on.k++
:cheers:

You're welcome, don't hesitate to ask questions about it on here if you want.  Throughout the challenge I did some rather bizarre stuff.  For example, if you look at the source for bluegold and look at how I did the shadows for the balls, it might look odd.

This one does something my others didn't, it actually messes around with the window that the demo is running in, shaking it about for the earthquake bit.  There's so much we can do with the windows now that we can grab the window handle :D
Challenge Trophies Won:

DrewPee

Xalthorn,
I just LOVE that! wicked wicked stuff - it is something that I would love to have done, especially in the correct resolution! wicked stuff!
Thanks for the code!

DrewPee
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

Xalthorn

Quote from: DrewPee on September 04, 2008
Xalthorn,
I just LOVE that! wicked wicked stuff - it is something that I would love to have done, especially in the correct resolution! wicked stuff!
Thanks for the code!

DrewPee

Aww thanks, and you could always grab the source and mess around with it...
Challenge Trophies Won: