Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What's faster than RenderStepped?

I'm trying to do something every-so-often but renderstepped and wait() aren't fast enough. How can I get a loop to run faster? PS: Shouting RUN LOOP RUN at it doesn't help.

6 comments

0

what are you trying to do. RenderStep happens every 1/60th of a secound. Visually you have to do something every 1/60 ( or 1/30 using wait) Just increese the value what not. So for i = 1,20,2 do print(i) wait() end

0

What are you trying to do that RenderStepped "isn't fast enough"?

0

I have a drawing board but creating a new pixel every 1/60th of a second is not fast enough, you have to move your mouse slowly to get it to create a line. Mouse.Moved is also slow for what I need. It may not be efficient have a check firing more than 60 times a second but it's what I need :/

0

Nothing is faster than RenderStepped. It's just impossible, as RenderStepped fires at the rate of your camera. I don't know how stickmasterluke did it if Moved doesn't work, although I'd like to know.

0

Hmm. I can also try filling in the pixels between the last point and the newest point to create the illusion of drawing. I think that's how programs like paint.net and paint do it, if you move your mouse fast enough and make a curve it looks like it just fills it in.

0

There's no need to use anything faster than RenderStepped since it fires every frame.

1 answer

oh and btw, there already like 100 other games similar to "pictionary" like draw it.

This discussion is preserved as it was. New answers, comments, and votes are closed.