Thats pretty much it
like it get on x line or x scaline and trigger something to change the graphics on the fly.
idc if the fps drops
There are some trick to make transformations on mid frame?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Citizen
- Posts: 67
- Joined: Sat May 08, 2021 9:45 pm
There are some trick to make transformations on mid frame?
Code: Select all
target = boardIndex.getWhosPeekingThisLine()
target:setObey(true)
Re: There are some trick to make transformations on mid frame?
It's not possible to trigger any action in a given scanline, if that's what you're asking.
- zorg
- Party member
- Posts: 3436
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: There are some trick to make transformations on mid frame?
If you don't care about "if the fps drops", then you can simulate this yourself, with drawing stuff to a canvas, and then only drawing a specific area of it to the screen each frame; you will then artificially drop the fps to something stupid like 0.6 FPS in terms of what gets drawn (even if the actual FPS stays at vsync or whatever), but as pgimeno said, you can't truly do detection of the current scanline and stuff like that.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Who is online
Users browsing this forum: Google [Bot] and 53 guests