Page 1 of 1

Re: circles improved version

Posted: Mon Jun 25, 2018 7:01 pm
by PeterJ
[mention]MrPixel[/mention], please find enclosed an example from the ZX Spectrum+ User Guide. Note the use of the RND command to add some interest, the BEEP command to add a bit of sound, and some For / Next Loops. Flash adds a bit of fun too.

Also note the inclusion of the code within the CODE Tags, rather than a screenshot of your listing.

Code: Select all

  10 BORDER 0: PAPER 0: CLS
  20 CIRCLE INK RND*6; FLASH RND;120+RND*8,80+RND*6,RND*80
  30 BEEP 0.1,RND*60
  40 IF RND>0.9 THEN GO TO 60
  50 GO TO 20
  60 FOR y=-2 TO 4
  70 FOR x=0 TO 6
  80 BORDER x
  90 BEEP .05,x*y
 100 NEXT x
 110 NEXT y
Image

I can't remember who told me, but thanks to the user who showed me how to create animated GIFs with Spin.

Re: circles improved version

Posted: Mon Jun 25, 2018 7:43 pm
by PeteProdge
I'm still baffled at what purpose the program is meant to be serving.

Re: circles improved version

Posted: Mon Jun 25, 2018 7:55 pm
by PeterJ
PeteProdge wrote: Mon Jun 25, 2018 7:43 pm I'm still baffled at what purpose the program is meant to be serving.
You are not the only one....

Re: circles improved version

Posted: Mon Jun 25, 2018 9:47 pm
by Spud
PeterJ wrote: Mon Jun 25, 2018 7:01 pm Image
That would be a cracking CGC entry.

Re: circles improved version

Posted: Mon Jun 25, 2018 10:35 pm
by Evil Genius
Spud wrote: Mon Jun 25, 2018 9:47 pm
PeterJ wrote: Mon Jun 25, 2018 7:01 pm Image
That would be a cracking CGC entry.
Advanced Crap Square Generator

Re: circles improved version

Posted: Mon Jun 25, 2018 11:20 pm
by bob_fossil
Bit unfair of you Peter to use the extended capabilities of the 128k machine. :)

Re: circles improved version

Posted: Mon Jun 25, 2018 11:59 pm
by djnzx48
Looks like a good starting point for an archery/darts game.

Re: circles improved version

Posted: Tue Jun 26, 2018 12:56 am
by MrPixel
can you clarify that last bit? about the CODE tags

Re: circles improved version

Posted: Tue Jun 26, 2018 6:15 am
by PeterJ
[mention]MrPixel[/mention] , On the toolbar when you create or edit a post is an icon with '<\>' on it. Select your text then press this button, and when you click preview or post it gets displayed as formatted code. You will see CODE tags either side of the selected text. Much nicer than a fuzzy screenshot.