Live data from Hacker News

BBC Basic Editor

bbcmic.ro

41–50 of 52 posts

Re: BBC Basic Editor

#41

Earlier quoted context omitted.

How's that going? I learned on BASIC around 1990 but it was cool then because you could do things that were in-line with the fun/game state of the art. Today what you can do in BASIC is "boring" compared to the most "basic" fun the kid can have on the iPad. Are you finding traction? Asking for my son who's currently 4 months :)

You've maybe (probably?) heard of it but Scratch ( https://scratch.mit.edu ) is a good "code-like" system for when kids are really young. You still have a way to go from 4 months of course, but I imagine it might be a bit easier to gain traction with something graphical (and colorful, and animated, etc.) than with what amounts to text editing.

Yeah we tried that.

Re: BBC Basic Editor

#43

I got an old game from a magazine and pasted into the editor, didn't like for some reason. edit:it was leading spaces before the line numbers that had broken it - got rid of them and it works. OK so take this code below, strip off the leading spaces (thats important) and paste it into the box. Its a helicopter game, controls are Z,X,M,K for left, right, up and down. You have to collect the asterixes. The controls won…

Thanks! I'll note the leading spaces bug!

...and it should now be fixed!

Re: BBC Basic Editor

#45

Earlier quoted context omitted.

Thanks! I'll note the leading spaces bug!

...and it should now be fixed!

Hey, this is awesome. Such a throwback! I noticed that some of the characters aren't what I'd expect, any reason?

PRINT ASC("\") " " CHR$(92) : PRINT ASC("/") " " CHR$(47)

47 prints fine, but 92 reveals a symbol "12" in super/subscript.

Some of the others are also off, e.g. the arrow sequence revealed by 10 FOR A= 1 TO 255 STEP 1 : PRINT CHR$(A) ;: NEXT

shows down arrow suffering the same.

Thanks, can't wait to see where this goes next!

Re: BBC Basic Editor

#46

Is there any modern development system/language/whatever that lets us directly draw pixels and play notes with single commands/calls without any setup or preparation?

Check out Processing! https://processing.org

Processing seems to use a draw() event, unlike Basic where you can just issue graphic commands anywhere as you go.

Re: BBC Basic Editor

#47
I was going to comment on how can I finally code the games whose source code was listed in the books published by Usborne (or Editorial Plesa for Spanish-speaking folks). Urborne had this books hosted in their website, but the links have expired and no mention of the books is anywhere in their website. Internet Archive comes to the rescue: https://archive.org/details/vgmuseum_usborne-hayes_weirdgame...

Anyway, as someone who had a PC and GWBASIC or Microsoft QBASIC it was weird for me that these books mentioned all these platforms which I couldn't find anywhere around my small place in the world. Maybe now I can now run these as the author intended.

Re: BBC Basic Editor

#49
Is my browser bad or is there a reason whitespace is missing even from Expanded view?

Is it because the programs are supposed to fit into tweets? (Yet another way good ideas get crippled by Twitter?)

Re: BBC Basic Editor

#50

Earlier quoted context omitted.

Check out Processing! https://processing.org

Processing seems to use a draw() event, unlike Basic where you can just issue graphic commands anywhere as you go.

If you write your code only within the draw() function (which is pretty common), it's the same as an infinite loop around your code. If you want it to execute just once, just call noLoop() at the end of your setup.

Elsethread there's also links to tweets involving a "golfified" version of Processing if that's what you're looking for.

Post reply on HN