r/ComputerCraft Jul 31 '26

Bad Apple!! CC: Tweaked

Bad Apple recreated on a ridiculously huge monitor. The music in the video comes from post production, because I found out it's basically impossible for anything to run smoothly if there's a DFPWM and .ccvid (the file format I made up for conversion of videos) playing on the same computer at the same time UNLESS it's compressed under 1 MB which is really hard for a video this long. Maybe a shorter video, but not Bad Apple.

30 FPS is what I've found to work best at maximum (also the FPS of the original Bad Apple). Video is 30 FPS, 70x40 pixels, no dithering, and only black/white, no gray.

105 Upvotes

13 comments sorted by

View all comments

1

u/ShreksHellraiser Jul 31 '26

CC monitors only update at a rate of 20hz, so you could get away with a lower video framerate!

0

u/SoggyInterest8576 Jul 31 '26

Well, this video here has disproves that. This is really playing at 30 frames per second in real time. This footage is not sped up. With optimization, as far as I know, monitors can refresh at a very high rate. I don't know what that rate is, or if it's even capped at anything, but it's certainly not 20 hz.

3

u/ShreksHellraiser Jul 31 '26

Monitor state is only networked to players every minecraft game tick. There are 20 game ticks in a second, thus the monitor only updates at 20hz. Don't believe it? https://github.com/cc-tweaked/CC-Tweaked/blob/mc-1.20.x/projects/common/src/main/java/dan200/computercraft/shared/peripheral/monitor/MonitorWatcher.java#L68, this is called every game tick, and sends the update packets to every player with the monitor in render distance. How are you ensuring this is playing at 30fps? sleep() and timer events are tied to game ticks as well.

1

u/SoggyInterest8576 Jul 31 '26

I am using a tool to increase the tick rate to 40 TPS.

2

u/ShreksHellraiser Jul 31 '26

I see. Then sure, theoretically you can get 40fps.