LoginLogin

Summer Programming Contest 2017

Root / Site Discussion / [.]

LacksCreated:
[x] just means that that's a unknown character. To type the source code, they probably used KEYs, the CLIPBOARD command, or the PRG commands.

@snail_ The way RGB(I MOD 2<<8,(2AND I)<<7,I>>2<<8) works is by converting 3 bit RGB into 24 bit RGB it's basically the same as RGB((I AND 1)*255,(I AND 2)/2*255,(I AND 4)/4*255) Oh, and I found a bug with the fill tool it instantly fills the entire undo buffer; you should call D before or after the GPAINT Maybe use a short function that won't do anything, like D"CLS" Also, you can shorten the color/tool selection code if you do something like:
C=C+(8AND B)/8-(4AND B)/4AND 7
T=T+(8AND B&&T<5)-(4AND B&&T>0)
Rather than using GOSUB/RETURN, your tool subroutines can be something like
GOTO"@"+STR$(T)
@0
 TOUCH OUT A,U,V
 GLINE X/2,Y/2,U/2,V/2
 X=U
 Y=V
 WAIT
ON A GOTO @E,@0 'rather than using a WHILE loop
@1
 D"L"
 GLINE X/2,Y/2,U/2,V/2
GOTO @E
...
@E
Printing spaces is shorter than LOCATE:
LOCATE C,?"^" 'displaying the selected color
?" "*C;"^"
Here's some more changes I made: Q5SEX3, I think there's enough room to add another tool (I think a larger brush would be nice, or maybe a way to save/load drawings)

Updated Frog Guy after some optimization advice (thanks @12Me21), which freed up enough space to improve the drowning animation.

[x] just means that that's a unknown character. To type the source code, they probably used KEYs, the CLIPBOARD command, or the PRG commands.
Thanks for the info. I'll have to look up the help for that later this evening

i was gonna tweak my post but i really dont want 12me to have rewritten half of it because that would make me look stupid I was aware of the FILL bug and decided I needed to add input debouncing but then I ran out of space for otger stuff and aaaaa

My OSP contest entry: Thing-OSP (It never got a name) You multitask as you defend yourself from your husband, the king, using your magic wand, but watch out! To power the wand, you need to tap hearts on the bottom screen, AS you fend off your husband at the same time! Key: RERXNK8E How to play * Press A for easy mode, and B for hard mode * (Upper screen) Press left and right on the d-pad to change the fire direction, and A to fire a spell. * (Lower screen) Use the stylus to tap on the heart to power up your wand! * If your husband or his clone gets you, you will die, if you don't tap on the heart fast enough, your wand will jam and you'll die.

Idk if someone has already pointed this trick out or not, but it's really useful.
IF B==1 && R==2 THEN PRINT "GGG is so cool" 'DON'T DO THIS.
IF B==1&&R==2THEN PRINT "GGG is so cool" 'DO THIS.
(Even though the contest is over a few hours) @12me21 oops, I forgot the space.

In case I was not clear before. ROC6 is my final submission. No changes have been made (even though I have spotted a few things to squeeze from the program). I know I uploaded a folder with 7 programs so I just wanted to clarify before the official deadline.

My OSP contest entry: Thing-OSP (It never got a name) You multitask as you defend yourself from your husband, the king, using your magic wand, but watch out! To power the wand, you need to tap hearts on the bottom screen, AS you fend off your husband at the same time! How to play * Press A for easy mode, and B for hard mode * (Upper screen) Press left and right on the d-pad to change the fire direction, and A to fire a spell. * (Lower screen) Use the stylus to tap on the heart to power up your wand! * If your husband or his clone gets you, you will die, if you don't tap on the heart fast enough, your wand will jam and you'll die.
Key? Key? Got a key? Where's key? Don't be the one guy making me copy by hand :p Nvm, thanks Lumage

Contest is now closed to submissions. See you monday morning with a folder full of goodies and a poll.

https://miiverse.nintendo.net/posts/AYMHAAADAAADV44MJOQUHQ sorry again good luck to all EDIT: I uploaded my thing anyway (N3SNNPHF). For those who wanted to try my entry, and for those who think they could somehow compress it enough.

Omg I forgot to literally put the key in there, wtf. Good thing I posted to miiverse too.

Please be respectful of the amount of votes.
You probably don't want to vote for yourself then, people who were going to vote for themselves.

bleh so many things more impressive than mine a-and even my rival has an impressive e-entry

Thank you everyone who voted! The winner is Calc84maniac's game FrogGuy, while in second place we have 12Me21's Asteroids. Congratulations, and thank you for your entries! [poll=p184][/poll]

Eh I didn't make it time, but it doesn't matter since I suck at trying to create one-screen programs 😆

>7 votes 1 user Somebody's playing fast and loose with the voting huh.

the 3 votes thing isn't supposed to be a hard limit (unless Lacks really wants it to be), and comes from the last contest, where we had a lot fewer entries. Perhaps up to 5 would be fine...

(time to revote notice)