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 sesión o register para postear comentarios
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?
I'm at least gonna give it a try
It's been a while since I did much MSX programming.
Example of an extremely simple (yet awfully stupid) snow effect in text mode (yay!). Spot the bugs!
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
<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-1RINT " ";
120 LOCATE X2,Y2-1RINT " ";
130 LOCATE X3,Y3-1RINT " ";
140 LOCATE X4,Y4-1RINT " ";
150 LOCATE X5,Y5-1RINT " ";
160 LOCATE X6,Y6-1RINT " ";
170 LOCATE X7,Y7-1RINT " ";
180 LOCATE X8,Y8-1RINT " ";
190 LOCATE X1, Y1RINT "*";
200 LOCATE X2, Y2RINT "*";
210 LOCATE X3, Y3RINT "*";
220 LOCATE X4, Y4RINT "*";
230 LOCATE X5, Y5RINT "*";
240 LOCATE X6, Y6RINT "*";
250 LOCATE X7, Y7RINT "*";
260 LOCATE X8, Y8RINT "*";
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,22RINT " ";
360 LOCATE 0,23RINT " ";
370 GOTO 110</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>
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
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!
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
Hey ro, what's going on with thefuzz.nl ?
Still under construction or no construction at all ?
Come on, pple are waiting for it!
I did not use FOR/NEXT and arrays on purpose, because I think almost everybody understands this
Hey ro, what's going on with thefuzz.nl ?
Still under construction or no construction at all ?
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
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...
Hey ro, what's going on with thefuzz.nl ?
Still under construction or no construction at all ?
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
maybe irrelevant to say, but I assume the artwork must be original to compete ?
(so, no rippin' the sd-snatcher viral intro snow scene )
¿Aún no tienes una cuenta? ¡Conviértete en un amigo-MSX y registra tu cuenta!