#Whiteboard

12 messages · Page 1 of 1 (latest)

drifting mulch
#

I'm trying to make a whiteboard for my drawing game.
I've finished making it but the game gets so laggy if I draw for 3 seconds or so. The Whiteboard works like so:
Every time the user is on the board and is holding their mouse down, a Frame named point spawns at their mouse location. This makes it so there are a lot of frames on the screen and makes the game really laggy. Is there another way to make a whiteboard that isn't laggy?

drifting mulch
#

Please try to help me :)

drifting mulch
#

again saying because people skip this :(

hardy quiver
#

the only thing I can initially think of is make everything larger, so that you need less frames to achieve the same result.

The lag is caused by many copies being created in a short amount of time, so the less copies the better.

That being said if there is something that has a method or modifiable property that works much better than creating frame copies, I haven't found it yet.

drifting mulch
hardy quiver
drifting mulch
#

it gets made every renderStepped

#

is there a way to make a lower delay?

hardy quiver
#

honestly, not really. if you're using renderStepped it should be more than close enough to not have gaps

drifting mulch
#

ive thought of that but then there are popular games that make it smooth

acoustic topazBOT
#

studio** You are now Level 4! **studio

drifting mulch
#

maybe ill ask their team or smthing