Skip to main content

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

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 ?