プレイ日記
Cake cakepopsman1
Has anyone played the game color switch? If you havn't, google it. I am new to programming and I only know the print command. Does anyone know code for: when the A button is pressed the ball will go up, but if it isnt pressed it'll fall down. thanks
0そうだね
プレイ済み
返信[1]
親投稿
Cake cakepopsman1
To make it more clear what I'm asking I'll tell you exactly. I'm looking for code that would make a ball move up on the screen when you press A. if A isn't pressed, the ball will fall. I'm trying to make a replica of color switch called color swap.
0そうだね
プレイ済み
返信[2]
親投稿
Cake cakepopsman1
I need lots of help
0そうだね
プレイ済み
返信[3]
親投稿
Hanzo rzsense
Please refer to the following codes. ACLS:SPSET 0,345:SPHOME 0,8,8:Y=120:VY=0 WHILE TRUE VSYNC 1:K=BUTTON(2) IF(K AND #A)!=0 THEN VY=-4 ELSE VY=VY+0.25 Y=Y+VY:SPOFS 0,200,Y,0 IF Y>=240 THEN Y=239:VY=-VY IF Y<=0 THEN Y=1:VY=-VY WEND
0そうだね
未プレイ
返信[4]
親投稿
Lukas dogcutie
Use this (Doesn't have moving code): SPSET 0,number SPSCALE 0,3,3 WHILE 1 A=BUTTON(2) IF A==16 THEN_____ELSE_____ WEND -Fill in the Number to choose the look of the ball -Fill in the THEN to make it go up -Fill in the ELSE to make it go down
0そうだね
プレイ済み
返信[5]
親投稿
Cake cakepopsman1
Thanks so much
0そうだね
プレイ済み
返信[6]
親投稿
Cake cakepopsman1
What would I fill in in the then and else blanks
0そうだね
プレイ済み