Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Not So Impossible Challenge: Screen Saver Contest!
#11
Sorry Rattra that was a hindsight....So is this one:

You MAY use BLOAD and what your BLOADing (from the file) does not count against you.

As for the colors....I taken your arguement and decided that you can have as many colors as you want, otherwise it would be unconsitutional to my challenge.

I like your program, I've also noticed the lack of others.
-Issues:
--Rattra's:
----1. After about 10 sec. of running time, the program slows A LOT down. This error will count against you in the final judging. (Hint: Something to do with INKEY$).

This Challenge will end Next Sat. at 11:59 GMT -5 (That's Standard Eastern Time [you and me Rattra and Pete]). If no other entries are provided then the compition will end with the first entry to be passed in. Big Grin
i]"But...it was so beautifully done"[/i]
Reply
#12
Quote:Just wondering:
1. when is the next 7 line screensaver contest starting up?
2. Will Jelly be taking part again? Wink

Jelly sucks!!!!

He sucks big time!!!!
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#13
:o *Is very scared, ^^^ Rel's does brillant screens in just 7lines Cry Big Grin

Oh well... Hmm, slow? It changes speed randomly, or is suppose to. :wink: ,.. It does 1 stroke to set a back round, then speeds up, slows down,. hope you played it long enough to get all that... :roll:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#14
It's not really a program thing, it's a windows thing. I'm not completely sure, but I think that if running a dos program, if there is no user input after like 5 seconds, the program slows down to conserve the cpu. User input speeds it back up again.
Jumping Jahoolipers!
Reply
#15
Quote:1. After about 10 sec. of running time, the program slows A LOT down. This error will count against you in the final judging.
Oh, right... So, we suffer because you have a crappy system configuration? Real nice judging, really nice...

Rattr, same thing, fix your system. It's windows XP changing the priority for DOS programs.

RTFM.
Reply
#16
My entry: Electricity

[syntax="QBASIC"]
declare sub setpal(c%, r%, g%, b%)
randomize timer
screen 13
for i% = 0 to 31
setpal(i%, 0, 0, i% * 2)
next i%
do
x% = abs(x% + int(rnd * 2) + (-1 * int(rnd * 2))) mod 319
y% = abs(y% + int(rnd * 2) + (-1 * int(rnd * 2))) mod 199
pset(x%, y%), int(rnd * 30) + 1
pset((159 + (x% + int(rnd * 2) + (-1 * int(rnd * 2)))) mod 319, (99 + (y% + int(rnd * 2) + (-1 * int(rnd * 2)))) mod 199), int(rnd * 30) + 1
pset((319 - (x% + int(rnd * 2) + (-1 * int(rnd * 2)))) mod 319, (199 - (y% + int(rnd * 2) + (-1 * int(rnd * 2)))) mod 199), int(rnd * 30) + 1
wait &H3DA, 8
if int(bg!) > 0 then
bg! = bg! - 0.5
setpal(0, 0, 0, int(bg!))
end if
if int(rnd * 500) = 1 then bg! = 25
loop while inkey$ = ""
sub setpal(c%, r%, g%, b%)
out &H3C8, c%
out &H3C9, r%
out &H3C9, g%
out &H3C9, b%
end sub
[/syntax]

-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Reply
#17
Yes but you have an error. QB want's setpal(i%, 0, 0, i% *2) to be equal to something. So it wouldn't run.

Ummm just to be clear, this contest is NOT to make an accual screen saver for windows. But to make a program that is like a screen saver in its abilities.

BTW Z!re and all. INKEY$ is responsable for the slow down somewhere in the program. If that wasn't in there then it would be fine except for the lack of keyboard input.
i]"But...it was so beautifully done"[/i]
Reply
#18
Rattra I fixed your porblem. Get rid of line 19 and it will work fine.
i]"But...it was so beautifully done"[/i]
Reply
#19
:???: Do I have to resubmit then? heh heh? Smile

EDIT: take the ( ) of of the setpal, or put CALL b4 setpal... see. if like this:

setpal i%, i, i, i% ' What ever you had, its done like that

CALL setpal(i%, i, i%) 'is done like that,. see?

Good luck, great screen svr Shift! :wink:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#20
ya.

... :normal: .... Smile .... Big Grin ... :lol:

Of course not! Big Grin Tongue
i]"But...it was so beautifully done"[/i]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)