circles improved version

Show us what you're working on, (preferably with screenshots).
Post Reply
User avatar
PeterJ
Site Admin
Posts: 6858
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: circles improved version

Post 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.
User avatar
PeteProdge
Bugaboo
Posts: 3521
Joined: Mon Nov 13, 2017 9:03 am

Re: circles improved version

Post by PeteProdge »

I'm still baffled at what purpose the program is meant to be serving.
Reheated Pixels - a combination of retrogaming, comedy and factual musing, is here!
New video: Nine ZX Spectrum magazine controversies - How Crash, Your Sinclair and Sinclair User managed to offend the world!
User avatar
PeterJ
Site Admin
Posts: 6858
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: circles improved version

Post 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....
User avatar
Spud
Manic Miner
Posts: 372
Joined: Sun Nov 12, 2017 8:50 pm
Contact:

Re: circles improved version

Post by Spud »

PeterJ wrote: Mon Jun 25, 2018 7:01 pm Image
That would be a cracking CGC entry.
User avatar
Evil Genius
Manic Miner
Posts: 360
Joined: Sun Nov 12, 2017 9:45 pm

Re: circles improved version

Post 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
User avatar
bob_fossil
Manic Miner
Posts: 654
Joined: Mon Nov 13, 2017 6:09 pm

Re: circles improved version

Post by bob_fossil »

Bit unfair of you Peter to use the extended capabilities of the 128k machine. :)
User avatar
djnzx48
Manic Miner
Posts: 729
Joined: Wed Dec 06, 2017 2:13 am
Location: New Zealand

Re: circles improved version

Post by djnzx48 »

Looks like a good starting point for an archery/darts game.
MrPixel
Microbot
Posts: 170
Joined: Sat Mar 24, 2018 7:42 pm

Re: circles improved version

Post by MrPixel »

can you clarify that last bit? about the CODE tags
User avatar
PeterJ
Site Admin
Posts: 6858
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: circles improved version

Post 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.
Post Reply