Discuss Scratch

SolingJester44
Scratcher
18 posts

Helping you code

If you want to learn how to code more, then come on up to my coding lessons.




when green flag clicked

Last edited by SolingJester44 (Feb. 26, 2021 14:57:20)

SolingJester44
Scratcher
18 posts

Helping you code

So come on up if you want to code more 
SmartCoolGuy
Scratcher
100+ posts

Helping you code

ok how do i fix this glitch
when green flag clicked
forever
if <key up pressed> then
change (y variable) by (9)
set [Scroll Y] to (round (((y variable)) - ((Scroll Y))))
end
when green flag clicked
forever
position
end
define position
go to x: ((x variable))- ((Scroll X)) y: ((y variable)) - ((ScrollY))

Last edited by SmartCoolGuy (Feb. 26, 2021 16:47:47)


ignore this: asiuhdaisudhiaushdiuahsdiashdiuasdh you didnt ignore it
SmartCoolGuy
Scratcher
100+ posts

Helping you code

please help i am trying to make a scrolling platformer

ignore this: asiuhdaisudhiaushdiuahsdiashdiuasdh you didnt ignore it
SolingJester44
Scratcher
18 posts

Helping you code


SmartCoolGuy wrote:

please help i am trying to make a scrolling platformer
Gimme some time to investigate
SolingJester44
Scratcher
18 posts

Helping you code

SmartCoolGuy wrote:

please help i am trying to make a scrolling platformer
But first, tell me what project you used to learn this.

Last edited by SolingJester44 (March 1, 2021 18:12:09)

SolingJester44
Scratcher
18 posts

Helping you code

SolingJester44
Scratcher
18 posts

Helping you code

SmartCoolGuy wrote:

ok how do i fix this glitch
when green flag clicked
forever
if <key up pressed> then
change (y variable) by (9)
set [Scroll Y] to (round (((y variable)) - ((Scroll Y))))
end
when green flag clicked
forever
position
end
define position
go to x: ((x variable))- ((Scroll X)) y: ((y variable)) - ((ScrollY))
I can help you make a platformer if you want.
SolingJester44
Scratcher
18 posts

Helping you code

SmartCoolGuy wrote:

ok how do i fix this glitch
when green flag clicked
forever
if <key up pressed> then
change (y variable) by (9)
set [Scroll Y] to (round (((y variable)) - ((Scroll Y))))
end
when green flag clicked
forever
position
end
define position
go to x: ((x variable))- ((Scroll X)) y: ((y variable)) - ((ScrollY))
Or a stop detector.
SmartCoolGuy
Scratcher
100+ posts

Helping you code

SolingJester44 wrote:

SmartCoolGuy wrote:

ok how do i fix this glitch
when green flag clicked
forever
if <key up pressed> then
change (y variable) by (9)
set [Scroll Y] to (round (((y variable)) - ((Scroll Y))))
end
when green flag clicked
forever
position
end
define position
go to x: ((x variable))- ((Scroll X)) y: ((y variable)) - ((ScrollY))
Or a stop detector.
Thanks

ignore this: asiuhdaisudhiaushdiuahsdiashdiuasdh you didnt ignore it
SmartCoolGuy
Scratcher
100+ posts

Helping you code

SolingJester44 wrote:

SmartCoolGuy wrote:

please help i am trying to make a scrolling platformer
But first, tell me what project you used to learn this.
Ummm, i kinda used Youtube

ignore this: asiuhdaisudhiaushdiuahsdiashdiuasdh you didnt ignore it
SolingJester44
Scratcher
18 posts

Helping you code

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

please help i am trying to make a scrolling platformer
But first, tell me what project you used to learn this.
Ummm, i kinda used Youtube
Use a project not youtube it works more
SolingJester44
Scratcher
18 posts

Helping you code

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

ok how do i fix this glitch
when green flag clicked
forever
if <key up pressed> then
change (y variable) by (9)
set [Scroll Y] to (round (((y variable)) - ((Scroll Y))))
end
when green flag clicked
forever
position
end
define position
go to x: ((x variable))- ((Scroll X)) y: ((y variable)) - ((ScrollY))
Or a stop detector.
Thanks
Here is how to make a stop detector:




when green flag clicked
forever
reset timer
end
when [timer] > (0.1)
Then do what you want here when the stop pressed as long as it doesn't involve a forever and
add a stop all block at the end
of this script

Last edited by SolingJester44 (March 2, 2021 14:22:30)

SmartCoolGuy
Scratcher
100+ posts

Helping you code

SolingJester44 wrote:

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

ok how do i fix this glitch
when green flag clicked
forever
if <key up pressed> then
change (y variable) by (9)
set [Scroll Y] to (round (((y variable)) - ((Scroll Y))))
end
when green flag clicked
forever
position
end
define position
go to x: ((x variable))- ((Scroll X)) y: ((y variable)) - ((ScrollY))
Or a stop detector.
Thanks
Here is how to make a stop detector:




when green flag clicked
forever
reset timer
end
when [timer] > (0.1)
Then do what you want here when the stop pressed as long as it doesn't involve a forever and
add a stop all block at the end
of this script
Ok thanks

ignore this: asiuhdaisudhiaushdiuahsdiashdiuasdh you didnt ignore it
SmartCoolGuy
Scratcher
100+ posts

Helping you code

SolingJester44 wrote:

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

please help i am trying to make a scrolling platformer
But first, tell me what project you used to learn this.
Ummm, i kinda used Youtube
Use a project not youtube it works more
why? is it because you want to backpack code?

ignore this: asiuhdaisudhiaushdiuahsdiashdiuasdh you didnt ignore it
SolingJester44
Scratcher
18 posts

Helping you code

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

please help i am trying to make a scrolling platformer
But first, tell me what project you used to learn this.
Ummm, i kinda used Youtube
Use a project not youtube it works more
why? is it because you want to backpack code?
Yea to test it out
SmartCoolGuy
Scratcher
100+ posts

Helping you code

Ok

SolingJester44 wrote:

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

please help i am trying to make a scrolling platformer
But first, tell me what project you used to learn this.
Ummm, i kinda used Youtube
Use a project not youtube it works more
why? is it because you want to backpack code?
Yea to test it out
But sorry I didnt have a project

ignore this: asiuhdaisudhiaushdiuahsdiashdiuasdh you didnt ignore it
SmartCoolGuy
Scratcher
100+ posts

Helping you code

SolingJester44 wrote:

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

please help i am trying to make a scrolling platformer
But first, tell me what project you used to learn this.
Ummm, i kinda used Youtube
Use a project not youtube it works more
why? is it because you want to backpack code?
Yea to test it out
But i said the code in the chat so you could still test it out and see whats wrong

ignore this: asiuhdaisudhiaushdiuahsdiashdiuasdh you didnt ignore it
SolingJester44
Scratcher
18 posts

Helping you code

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

SolingJester44 wrote:

SmartCoolGuy wrote:

please help i am trying to make a scrolling platformer
But first, tell me what project you used to learn this.
Ummm, i kinda used Youtube
Use a project not youtube it works more
why? is it because you want to backpack code?
Yea to test it out
But i said the code in the chat so you could still test it out and see whats wrong
Making this disscussion was a bad idea.

Powered by DjangoBB