| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 189 online users. » 0 Member(s) | 186 Guest(s) Baidu, Bing, Google
|
| Latest Threads |
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
Yesterday, 11:52 AM
» Replies: 7
» Views: 130
|
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 103
|
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 156
|
Hall of Fame - Include fo...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-28, 03:48 PM
» Replies: 0
» Views: 90
|
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 211
|
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 373
|
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: zedex82
2025-10-05, 07:36 PM
» Replies: 2
» Views: 276
|
CLS/Fade out ASM Sub-rout...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-05, 03:39 PM
» Replies: 2
» Views: 269
|
ZX Basic Studio Bugs
Forum: Bug Reports
Last Post: Duefectu
2025-09-23, 04:07 PM
» Replies: 5
» Views: 1,077
|
Printing with FZX
Forum: Help & Support
Last Post: boriel
2025-07-17, 10:08 PM
» Replies: 1
» Views: 1,963
|
|
|
| The Disputed Territories of Ghotto |
|
Posted by: Jbizzel - 2022-03-21, 06:29 PM - Forum: Gallery
- No Replies
|
 |
I made a new game
2 pixel scrolling city bomber type game, with a story built in.
Please let me know what you think.
Credits:
zx basic,
putChar
zx0
zx paint
beepfx
beepola
DamienG fonts
get it here
|
|
|
| The sound effect thread |
|
Posted by: worcestersource - 2022-02-19, 01:03 AM - Forum: How-To & Tutorials
- Replies (3)
|
 |
Hello everyone,
I thought this would be a nifty place to pop some routines to make sound effects without resorting to asm.
Code: sub soundBwop()
dim x, y as uByte
do until x = 255
out 254, (y * 8)
let y = x
do until y > 239
let y = y + 16
loop
let x = x + 1
loop
end sub
Which makes a nice 'bwop' sound. it'll also change your border colour, so add the border value to the out statement to stop it changing colour. For example, for the a blue border:
Code: out 254, (y * 8) + 1
You can play around with this, such as changing the 16 for an 8, or making y count down so the loop duration gets longer each time.
Steve
|
|
|
| Testing a variable within a range |
|
Posted by: worcestersource - 2022-01-27, 09:14 PM - Forum: Help & Support
- Replies (11)
|
 |
Hello!
I was wondering if there was a better way of testing whether a variable was within a range.
So instead of:
Code: IF a > 0 and a < 30 then...
There was a neater and/or more memory efficient method? These sorts of tricks that can help us eke out every last drop out of zxbasic. 
Cheers,
Steve
|
|
|
|