MRC Snowfall challenge [general topic]

Page 1/5
| 2 | 3 | 4 | 5

By snout

Ascended (15184)

snout's picture

22-11-2003, 21:57

I think our new competition deserves its own forum topic. What do you think of our initiative? Are you going to send in a snowfall demo? What are your ideas, what is your approach?

Login or register to post comments

By nftaDaedalus

Resident (44)

nftaDaedalus's picture

22-11-2003, 22:49

I'm at least gonna give it a try Big smile
It's been a while since I did much MSX programming.

By snout

Ascended (15184)

snout's picture

22-11-2003, 23:13

Example of an extremely simple (yet awfully stupid) snow effect in text mode (yay!). Spot the bugs! Tongue

By the way... I even had to ask on #msxdev how the RND(-TIME) thing worked. My coding skills are a lot rustier than I thought Wink

<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="mrc-small">Code:</font><HR></TD></TR><TR><TD><FONT class="mrc-small"><PRE>10 SCREEN 0: WIDTH 40
20 ' Randomize snow position
25 X=RND(-TIME)
30 X1=1+RND(1)*38:Y1=RND(1)*22
40 X2=1+RND(1)*38:Y2=RND(1)*22
50 X3=1+RND(1)*38:Y3=RND(1)*22
60 X4=1+RND(1)*38:Y4=RND(1)*22
70 X5=1+RND(1)*38:Y5=RND(1)*22
80 X6=1+RND(1)*38:Y6=RND(1)*22
90 X7=1+RND(1)*38:Y7=RND(1)*22
100 X8=1+RND(1)*38:Y8=RND(1)*22
110 LOCATE X1,Y1-1TongueRINT " ";
120 LOCATE X2,Y2-1TongueRINT " ";
130 LOCATE X3,Y3-1TongueRINT " ";
140 LOCATE X4,Y4-1TongueRINT " ";
150 LOCATE X5,Y5-1TongueRINT " ";
160 LOCATE X6,Y6-1TongueRINT " ";
170 LOCATE X7,Y7-1TongueRINT " ";
180 LOCATE X8,Y8-1TongueRINT " ";
190 LOCATE X1, Y1TongueRINT "*";
200 LOCATE X2, Y2TongueRINT "*";
210 LOCATE X3, Y3TongueRINT "*";
220 LOCATE X4, Y4TongueRINT "*";
230 LOCATE X5, Y5TongueRINT "*";
240 LOCATE X6, Y6TongueRINT "*";
250 LOCATE X7, Y7TongueRINT "*";
260 LOCATE X8, Y8TongueRINT "*";
270 Y1=Y1+1:IF Y1>23 THEN Y1=1:X1=RND(1)*38
280 Y2=Y2+1:IF Y2>23 THEN Y2=1:X2=RND(1)*38
290 Y3=Y3+1:IF Y3>23 THEN Y3=1:X3=RND(1)*38
300 Y4=Y4+1:IF Y4>23 THEN Y4=1:X4=RND(1)*38
310 Y5=Y5+1:IF Y5>23 THEN Y5=1:X5=RND(1)*38
320 Y6=Y6+1:IF Y6>23 THEN Y6=1:X6=RND(1)*38
330 Y7=Y7+1:IF Y7>23 THEN Y7=1:X7=RND(1)*38
340 Y8=Y8+1:IF Y8>23 THEN Y8=1:X8=RND(1)*38
350 LOCATE 0,22TongueRINT " ";
360 LOCATE 0,23TongueRINT " ";
370 GOTO 110</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>

By Maggoo

Paragon (1212)

Maggoo's picture

22-11-2003, 23:42

I think our new competition deserves its own forum topic. What do you think of our initiative? Are you going to send in a snowfall demo? What are your ideas, what is your approach?

Sounds like a great idea. Won't be able to submit anything this time tho.

/me too busy with other projects Smile

Plus I already made one simple snow routine, long long time ago:

ftp://ftp.funet.fi/pub/msx/demos/xmas.pma

I hope a lot of people will contribute!

By ro

Scribe (4389)

ro's picture

22-11-2003, 23:48

gee snout, never got in to FOR NEXT loops and ARRAYs I quess..

a snow mobile eh..

"press spacabar to shake/rock the mobile"

look it's snowing mamma!
oh well

By Maggoo

Paragon (1212)

Maggoo's picture

22-11-2003, 23:51

Hey ro, what's going on with thefuzz.nl ?

Still under construction or no construction at all ? Tongue

Come on, pple are waiting for it!

By snout

Ascended (15184)

snout's picture

22-11-2003, 23:51

I did not use FOR/NEXT and arrays on purpose, because I think almost everybody understands this Tongue

By Bart

Paragon (1422)

Bart's picture

23-11-2003, 01:07

Hey ro, what's going on with thefuzz.nl ?

Still under construction or no construction at all ? Tongue

Come on, pple are waiting for it!

It'll be under contruction for a while, Ro has to sent in his entry for the Snowfall challenge first Big smile

By DarQ

Paragon (1038)

DarQ's picture

23-11-2003, 17:42

ok, im getting interested again. just coded a very basic snowfall thing. but before improving it, i need some gfx! against every experience i have, im asking again for someone to draw (or send) me a SCREEN5 drawing. it should be something like a room with a window.

you draw, i'll make it snow..

is there ANYONE who can help me out here??

plssssss...

By ro

Scribe (4389)

ro's picture

23-11-2003, 20:59

Hey ro, what's going on with thefuzz.nl ?

Still under construction or no construction at all ? Tongue

Come on, pple are waiting for it!

yeah, yeah.. some old story. I had other things to finish too, and did not receive stuff from Savage yet (the bastard!) well, think I'll throw it online soon, WITHOUT saffie's stuf.. whooaha.

Also had to do some serious restyling since some routines were kinda crummy. Next thing is to test on all browsers... come to think of it, some of ya'll out there using some exotic browers could do the job. (I mean any one without IE that is) Guyver, didn't you complain about not be able to see the javascript in the site intro thaz online right now??

ah, well. First things first, some snow... lemme think about it a night or two Tongue

By wolf_

Ambassador_ (9866)

wolf_'s picture

23-11-2003, 21:12

maybe irrelevant to say, but I assume the artwork must be original to compete ?

(so, no rippin' the sd-snatcher viral intro snow scene Smile )

Page 1/5
| 2 | 3 | 4 | 5