Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

FAQ - Game Jam or Sinclair BASIC questions

A topic by Gazzapper created May 06, 2017 Views: 1,067 Replies: 20
Viewing posts 1 to 8
HostSubmitted

Any questions - I on one of the community will respond to help you :)

Where do I upload my game? Never done this before.

Alan

HostSubmitted

Hi Alan,

You can create a project for it on itch.io and and upload the .tap to it.

Still have 20+ days before it officially starts so plenty of time.

I may, if preferred, arrange a method to use the .tap files with an online emulator to play directly in the browser if people would like that.

Gary

HostSubmitted

Click "Dashboard" in Itch.io then click "create new project"

:)

hello. Can i LOAD "" CODE with graphics into a memory or direct to screen? Or I need to store it in DATA and manually PUSH it into memory to print some graphics with redefined font?

Is any tricks allowed as the tricks with system variables in SINCLAIR BASIC?

HostSubmitted(+1)

See reply thks :)

HostSubmitted (1 edit)

Diver4d, Yes! You can use tricks with system variables and loading code is fine for purpose of convenience.

As long as no USR ###### statements are used to run machine code routines. :)

2 simple question:
-By "arcade game" do you mean die and retry scoring game or anything who standed on arcade ? (shut them all, gunners, soccers game, etc)
- I've tried to make some ascii game but i had the feel the screen is to small, can we change it or must we use sprite?

Btw: really cool game jam theme, i've never eared about classic and 30 year old stuff so i'm discovering so many things in a so little time! :) 
Thanks you! o/

HostSubmitted

Thanks Shizu - Yes, Arcade is generate term for action game moving about etc. can be shooting or moving with score goal or end goal in mind.

If you look into it - you find an easy way to create Sprites (UDGs in BASIC) using BIN numbers. 

BIN 00011000 (8 pixels wide with only two middle pixels turned on)

A standard speccy sprite is 8x8 pixels in size.

Hum thanks for your anwser. 
So now i'm trying to make a sprite with a code i found on youtube but i always got this error, is it normal ?
The udg editor can read it but i can play the game :/
And when i try to use the udg it doesn't save my draws the next time i load the file >.<
http://prntscr.com/fe5vo0

(+1)

Hi, change the for to "FOR C=0 TO 7" . I think you counted one too many there.

Mmmh, it say the same, even for 2, it just take a bit more time to say it ><

(1 edit)

I can only see part of your code. Do you have a larger for loop, not seen, around the whole thing? It looks like you have a game loop and you recreate the udg every time?  You only need to create the udg once and then you can start your game loop.  Move the code in lines 62 to 75 to the beginning and make sure it is only run once.

and if you move the code to the beginning, skip the RETURN line, I forgot that one.   

Here is a code that could give you hints. Use W,A,S,D to move the character.   This one uses the return, see how the GOSUB calls line 1000 at the beginning, the RETURN returns to the line after the GOSUB. So you can break up your code in tidier modules using that method.  

https://pastebin.com/pth8acLU

(1 edit)

If you use Facebook then Simon Ferre is now running tutorial lessons for beginners in the group "BASIC on the ZX Spectrum".  If you are not a member of the group there should be a button there somewhere to apply.

https://www.facebook.com/group...

(1 edit)

Nice I've asked to join =)
Do you think there is a code to make multiple inkey ?

HostSubmitted

Also for easy printing on screen you can use PRINT CHR$ 144 :)

http://prntscr.com/fecv9f
This way ? :)
What does it do ?

(+2)

No, CHR$ 144 is the first udg character. Next udg character is CHR$ 145 ("b") and so on until the last udg "u" which is CHR$ 164. You have 21 udg characters which you can change as you want (a,b,c,d,e, f, g, ... u).  In the code you posted earlier you changed udg character "n" which is CHR$ 157.

HostSubmitted

Good spot - I assumed everyone started from USR "a" lol! :)