Discuss Scratch

TheDuns105
Scratcher
23 posts

How To Make A Platformer Game On Scratch.

How Do We Make A Platformer Game On Scratch???
DanTran123
Scratcher
64 posts

How To Make A Platformer Game On Scratch.

Oh its quite easy


whenclickedforeverifkeyup arrowpressed?orkeywpressed?thenchangeyby10ifnottouchingground?thenchangeyby5

this is the jumping and gravity script

whenclickedforeverifkeyapressed?orkeyleft arrowpressed?thenchangexby-5ifkeyright arrowpressed?orkeydpressed?thenchangexby5

left and right script

Last edited by DanTran123 (March 19, 2021 18:00:03)

TheDuns105
Scratcher
23 posts

How To Make A Platformer Game On Scratch.

Thanks!
lightning1999
Scratcher
100+ posts

How To Make A Platformer Game On Scratch.

This script inculdes ceiling, wall, and slope detection

on player

whenclickedsetY VELto0setX VELto0setSLOPEto0gotox:0y:0foreverPLATFORM-11240.79

definePLATFORMGRAVITYJUMPHEIGHTRUNSPEEDFRICTIONSLOPechangeY VELbyGRAVITYchangeybyYVELiftouchinglevel?thenrepeatuntilnottouchinglevel?changeybyabsofYVEL/YVEL*-1ifabsofYVEL/YVEL=-1andkeyup arrowpressed?thensetY VELtoJUMPHEIGHTelsesetY VELto0setX VELtoXVEL+keyright arrowpressed?*RUNSPEED+keyleft arrowpressed?*RUNSPEED*-1*FRICTIONchangexbyXVELsetSLOPEto0repeatuntilSLOPE=SLOPe*0ornottouchinglevel?changeSLOPEby-1changeyby1iftouchinglevel?thenchangeybySLOPErepeatuntilnottouchinglevel?changeybyabsofXVEL/XVEL*-1

Last edited by lightning1999 (March 19, 2021 18:24:16)

TheDuns105
Scratcher
23 posts

How To Make A Platformer Game On Scratch.

Is That Me Or Is That My Imagination ???
VioletCalico
Scratcher
1000+ posts

How To Make A Platformer Game On Scratch.

Hi! This is a great topic, but the name doesn't describe what this is. The name of this topic, “How to make a platformer game on scratch” gives viewers the impression that people are going to learn how to make a platformer. I would recomend putting a question mark after to show that this is not a guide.
Imaamsaalih
Scratcher
50 posts

How To Make A Platformer Game On Scratch.

VioletCalico wrote:

Hi! This is a great topic, but the name doesn't describe what this is. The name of this topic, “How to make a platformer game on scratch” gives viewers the impression that people are going to learn how to make a platformer. I would recomend putting a question mark after to show that this is not a guide.

Correct, but I knew immediately that it was a question.

TheDuns105 wrote:

How Do We Make A Platformer Game On Scratch???

Use a tutorial like this 1: Platformer tutorial Part 1 by TheCactusMaster then Platformer turorial Part 2 by TheCactusMaster, those are what I used for my project Scratch World
TheDuns105
Scratcher
23 posts

How To Make A Platformer Game On Scratch.

The Way I Know It Is Jumping But… It Goes To @Griffpatch.
whenIreceivemessage 1set speed yto12
TheDuns105
Scratcher
23 posts

How To Make A Platformer Game On Scratch.

Powered by DjangoBB