Dark Bit Factory & Gravity

GENERAL => Challenges & Competitions => Topic started by: gooner on August 10, 2008

Title: [Reduced res] Tricolours
Post by: gooner on August 10, 2008
Well heres my latest entry into the low res and four colours competion.
It took a bit of working out to get the timing right so i didn't end up with more the four colours on the screen.I think i succeeded.Hope you like this simple entry.
 :)
Title: Re: [Reduced res] Tricolours
Post by: benny! on August 10, 2008
Nice idea. Maybe you could expand it to show some 4
colored flags in order to have somekind of olympic theme
to it.
Title: Re: [Reduced res] Tricolours
Post by: Pixel_Outlaw on August 11, 2008
A nice little abstract demo.  :skint:

I think you should expand on this a bit. ;)
Title: Re: [Reduced res] Tricolours
Post by: Shockwave on August 11, 2008
You can do better.
Title: Re: [Reduced res] Tricolours
Post by: gooner on August 11, 2008
Thanks for the idea Benny it is definitely in need of improvement and i will include a German flag in it just for you thanks a lot mate.Thanks also PixelOutlaw for your comments to be honest after i submitted i wasn't entirely happy with
 it so over the next few days i will do a bit tinkering on it.Not sure i'll be able to do the stars and stripes though

You can do better.
I'm gad you have confidence in me!!!!!!!

 :telloff:
Title: Re: [Reduced res] Tricolours
Post by: Hotshot on August 11, 2008
have ever try check flag? You know sinus wave flags?
France Sinus Wave Flags would be cool challenge for you :)
Title: Re: [Reduced res] Tricolours
Post by: gooner on August 11, 2008
have ever try check flag? You know sinus wave flags?
France Sinus Wave Flags would be cool challenge for you :)
Thanks for the ideas mate.
Not sure I've covered that one Hotshot can you give me an example there mate.Also has anybody got any National anthem chip tune which would be pretty cool.
 :inspired:
Title: Re: [Reduced res] Tricolours
Post by: Hotshot on August 11, 2008
I have create France Sinus Flags on my sister computer and look like this

(http://www4.picturepush.com/photo/a/979807/220/979807.jpg) (http://www.picturepush.com/public/979807)

Download it
http://www.mediafire.com/download.php?vosjabaksg8

Sorry I havnt put the music in it but showing to gooner what Sinus flags look like :)



Title: Re: [Reduced res] Tricolours
Post by: Shockwave on August 11, 2008
If you can imagine the pic Hotshot posted with the sine wave travelling through the flag you'll get the idea of how to make it look like it's waving in the breeze :)

Title: Re: [Reduced res] Tricolours
Post by: gooner on August 11, 2008
Thanks for posting that Hotshot i now get what you mean.I just now need some help to
get this in my rectangles please.This is my sub

Code: [Select]
DECLARE SUB RECT(BYVAL x1 as integer ,BYVAL Y1 as integer , BYVAL X2 AS INTEGER , BYVAL y2 as integer , BYVAL FILLED, BYVAL COL)
This part of my loop to move the flag and change colour

Code: [Select]
if dx=0 then x2=x2+.5
IF DX=0 THEN COLOUR=ORAN'
IF X2>78 THEN DX=1'
IF DX=1 THEN COLOUR=RED'
IF DX=1 THEN X2=X2-.5'
IF X2<0 THEN DX=0'
Title: Re: [Reduced res] Tricolours
Post by: Shockwave on August 11, 2008
The part of the program you need to change is the actual sub you use to draw the rectangles.

It would work exactly the same in principle as the sine dots and the atom that you posted.

If you have a sub to draw a rectangle out of dots or lines then you need to vary the y position with a nice waveform as you go along it.


Title: Re: [Reduced res] Tricolours
Post by: gooner on August 11, 2008
Thanks for your quick responce Shockwave i think i've got it now

 :whack:
Title: Re: [Reduced res] Tricolours
Post by: Shockwave on August 11, 2008
Post if you get stuck with full source code :)
Title: Re: [Reduced res] Tricolours
Post by: gooner on August 11, 2008
No probs mate i'll post it tomorrow if i get stuck but i have changed it quite a bit from the on i've uploaded and still more modification to do.Thank you Mr Shockwave for your
help.
 O0
Title: Re: [Reduced res] Tricolours
Post by: Hotshot on August 16, 2008
A little bird told me that gooner is doing well with his Sinus wave France Flag and he hoping to release it next week  ;)

 :cheers:
Title: Re: [Reduced res] Tricolours
Post by: benny! on August 17, 2008
Yeah cool!
Title: Re: [Reduced res] Tricolours
Post by: Praecor on August 30, 2008
the olympics theme was good idea