ScratchData LogoScratchData
Back to SteveSapuko's profile

Sapkol 64 (programing language) v0.5.0

STSteveSapuko•Created August 23, 2015
Sapkol 64 (programing language) v0.5.0
45
35
1033 views
View on Scratch

Instructions

---------------------------------------------------------------------------------------------------- When you start it you'll need to wait a few seconds like in the real Commodore 64. ---------------------------------------------------------------------------------------------------- This is a basic themed programming language, that looks like the Commodore 64 ---------------------------------------------------------------------------------------------------- Youtube tutorial: https://www.youtube.com/watch?v=kDJi1NHyBXQ ---------------------------------------------------------------------------------------------------- Program commands: print /What you want to print/ or: print ?the variable name? (answer is a variable) sprc /spr number of sprite (1-3)/ /x position in grid to add color y position in grid what colour to add in position that you entered/ vc ?the variable name/the variable value/ ask /what you want to ask/ Sleep /How many seconds you want it to wait (only 1 digit numbers)/ sprd /name of sprite to display/ /x position of where to render sprite y position of where to render sprite/ clsP (clears the screen) goto /the line that you want to run/ if ?kp-what key is pressed /the line that the if statement code ends in/ create-snd /name of sound/ /note,beats of note/.../(can go forever) play-snd /name of sound/ ---------------------------------------------------------------------------------------------------- Console commands: cls if you're running a program that has a goto loop press: 'e', 's' and 'c' it will stop running the program. print /what you want to print out on the screen/ ---------------------------------------------------------------------------------------------------- If you want to make certain scripts into a program: You need to put the number of that line before you write the command. use 'run' to run the program that you just wrote. Examples: Example number 1: 1 clsP 2 print /hello my name is.../ 3 sleep /2/ 4 clsP 5 print /steve/ Example number 2: 1 print /hello world/ 2 goto /1/ Example number 3: 1 clsP 2 ask /Whats your name?/ 3 print /hello/ 4 print ?answer? 5 sleep /3/ 6 goto /1/ Example number 3: 1 clsP 2 ask /Whats your favorite football team?/ 3 vc ?ft/answer/ 4 ask /Whats you favorite football teams rivals?/ 5 vc ?r/answer/ 6 print ?ft? 7 print /vs/ 8 print ?r? 9 sleep /3/ 10 goto /1/ Example number 4: Enter the command: load "1 sprc /spr 1/ /0 0 c35/@2 sprc /spr 1/ /1 0 c35/@3 sprc /spr 1/ /1 1 c35/@4 sprc /spr 1/ /0 1 c35/@5 sprc /spr 1/ /1 2 c35/@6 sprc /spr 1/ /2 2 c0/@7 vc ?x/-220/@8 vc ?y/-160/@9 sprd /spr 1/ ?x? ?y?@10 vu ?x/+1/@11 vu ?y/+1/@12 sleep /0.1/@13 goto /9/@" and if you want to see the scripts for that just enter the command list. Example number 5: just enter the command: load "5 vc ?x/0/@10 vc ?y/0/@20 sprc /spr 1/ /0 0 c35/@30 sprc /spr 1/ /1 0 c35/@40 sprc /spr 1/ /0 1 c35/@50 sprc /spr 1/ /1 1 c35/@51 sprc /spr 1/ /1 2 c35/@52 sprc /spr 1/ /2 2 c0/@60 @65 if /up arrow/ /67/@66 vu ?y/+3/@70 if /down arrow/ /72/@71 vu ?y/-3/@80 if /right arrow/ /82/@81 vu ?x/+3/@85 if /left arrow/ /87/@86 vu ?x/-3/@90 sprd /spr 1/ ?x? ?y?@100 goto /65/@" and if you want to see the code for it just enter the command 'list' ---------------------------------------------------------------------------------------------------- Commands that I'm working on: Infinite sprites ☐ Functions ☐ loop ☑ loop until ☑ ---------------------------------------------------------------------------------------------------- When you are making a sprite and you don't know what the value of a colour that you want to is is then you can use something that I made that shows you the number for each colour in the pen. link: https://scratch.mit.edu/projects/80043346/ -----------------------------------------------------------------------------

Description

Note: I'm still working on this so if you find bugs please report them in the comments. ---------------------------------------------------------------------------------------------------- I made the text printer into something that sort of looks like a Commodore 64, only I named it Sapkol 64. Big thanks to @BigDaddyDMR for helping me on a lot of stuff in this. ---------------------------------------------------------------------------------------------------- New Features: 1) Added an easter egg inside the scripts of the project. ---------------------------------------------------------------------------------------------------- I used Gimp 2.8 to make the thumbnail ----------------------------------------------------------------------------------------------------

Project Details

Project ID73877174
CreatedAugust 23, 2015
Last ModifiedOctober 21, 2020
SharedSeptember 12, 2015
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root