Discuss Scratch

MEMESBRO
Scratcher
66 posts

How do I make a TAS?

For those who don't know, TAS stands for Tool-Assisted Speedrun. A TAS is basically an AI speedrunning a game, using frame perfect inputs to get a near perfect speedrun.

For those who do know what a TAS is, I am trying to make TASes with Scratch projects that don't have a TAS engine. You got that right, I want to make a TAS from nothing. So how do I get started with making a TAS?

It is OK if you don't know either. You are like me in that way.

Also you should check out my profile and take a look at my projects. It is still OK if you don't want to. I get it.
Tetris3DS
Scratcher
500+ posts

How do I make a TAS?

when i do tas i lower the FPS (acually not the fps bc it's not drawing a frame, its the loop rate) using turbowarp

Last edited by Tetris3DS (Aug. 16, 2021 01:58:33)

MEMESBRO
Scratcher
66 posts

How do I make a TAS?

Tetris3DS wrote:

when i do tas i lower the FPS (acually not the fps bc it's not drawing a frame, its the loop rate) using turbowarp
Tell me more.
gaberboo14
Scratcher
12 posts

How do I make a TAS?

say [u just make a tas]
scratcherthing
Scratcher
38 posts

How do I make a TAS?

¯\_(ツ)_/¯ google?
AnUnkownScratcher
Scratcher
16 posts

How do I make a TAS?

I'm not exactly an AI coder, but can you tell me what specific type of scratch game type are you talking about?
Spentine
Scratcher
1000+ posts

How do I make a TAS?

It's a bit difficult. Replace all instances of
<touching [ v] ?>
with
(item ( v) of [TAS keypresses v] :: list)
That way, you can have the TAS press something.
Also replace all instances of
(mouse x)
and
(mouse y)
with
(item (1 v) of [TAS mouse v] :: list)
and
(item (2 v) of [TAS mouse v] :: list)
Also replace
<mouse down?>
with
(item (3 v) of [TAS mouse v] :: list)
Now you can emulate it using your code.

Last edited by Spentine (April 23, 2022 23:16:57)

Powered by DjangoBB