cartoonsmart | Animated Landscapes TutorialE

Score
3.04
Views
206
Faves
0
Votes
68
Genre
Spam

Rating Details

Value: 6.0770553088
Count: 68

Description

Abstract:

After Christmas Eve and the family went home I decided to look up some tutorials to help job my memory on Flash I came across cartoonsmart's tutorial on Animated Landscapes # - Adobe Flash Animation Tutorial. The tutorial goes over the usual timeline and motion tweening with the usage of converting symbols to MovieClips. However what caught my attention was the use of masks and effects for waterfalls, fire, and particles to make the still JPEG more animated. I've completely forgotten how to use masks and a lot of advanced stuff mentioned in this tutorial so this was an excellent refresher. Not only that but the Flash Player this tutorial was made for was v9 so its definitely Ruffle Compatible. If your impressed with the given example I would recommend everyone to checkout cartoonsmart's channel and his newer stuff.


When I went to publish it the Flash Player 11 really struggled to reach the designated 30FPS, for the most part it only reached 14 FPS. The animation looked choppy and rough. Even when I set the FPS to 120 the entire scene just really struggled to render. Flash Player 32 (release ver 32, not 32 bit) had the exact same issues. On the other hand, Ruffle rendered and played the entire scene flawlessly. No matter the framerate I set the stage to Ruffle managed to outperform all of the native Flash Players and run at the desired FPS. With confidence I can say this example runs on Ruffle better than the native Flash Player.


Still not back home yet, merry christmas everyone!


Controls:

  • None


Bugs:

  1. None
  2. EDIT (5:41pm): I think I found a memory leak in Ruffle? After inputting the data for Ruffle (Windows port, Nightly 2023-11-29) the Ram is now 386.8MB and is continuing to rise. Ill leave this running for a while to see what happens to the ram (Please god please let this be an issue with Rust so I can indulge my confirmation biases)
  3. EDIT (6:10pm): 397.1MB Usage, had it minimized and the ram usage never changed, put it to the foreground and it started going back up
  4. EDIT (6:04pm): 398.1 MB
  5. EDIT (6:12pm): 401.2 MB
  6. EDIT (6:24pm): 401.2 MB, looks like its not moving anymore
  7. EDIT (6:24pm): 417.6 MB, I tried replicating by spam minimizing and reopening the window, the ram immediately spiked to where it is now.
  8. EDIT (6:35pm): 422.5 MB, spam minimized the window a few more times (5 more times). The ram has gone up at a higher rate then the last half in barely a minute.


Performance:

Platform: Intel(R) Core(TM) i7-10875H CPU 2.30 GHz (Intel64 Family 6 Model 165 Stepping 2) with NVIDIA GeForce RTX 2080 Super with Max-Q Design


Newgrounds Player:

  • 20.3 ~ 26.0 CPU%
  • 0 GPU% (Note: the Newgrounds Player does not use any GPU, instead opting all 3d graphics to be drawn via software rasterization hence the high CPU percent.)
  • 82.4 MB Ram Usage
  • 11 ~ 14 FPS

Flash 11.8 r800 (32-bit):

  • 26.0 ~ 27.4 CPU%
  • 3.2 ~ 7.4 GPU% (GPU-1) (It mostly stays at 3.2%, does spike occasionally to 7.4)
  • 57.1 MB ~ 66.1 MB Ram Usage
  • 11 ~ 13 FPS, then it looks like it stays at 23~22 FPS after rendering the scene and the player knows what its doing

Flash 32:

  • 24.5 ~ 26.0 CPU%
  • 2.5 ~ 2.9 GPU% (GPU-1) (It mostly stays at 2.7%, does spike occasionally to 6.0)
  • 74.9 MB ~ 71.7 MB Ram Usage
  • 14 ~ 15 FPS, then it looks like it stays at 20~21 FPS after rendering the scene and the player knows what its doing

Ruffle (Windows port, Nightly 2023-11-29):

  • 11.9 ~ 11.2 CPU%
  • 21.0 ~ 23.9 GPU% (GPU-1) (Sometimes spikes to 25.1%)
  • 370.0 ~ 373.4 MB Ram Usage
  • 60 FPS


Credits:

  1. cartoonsmart and his Playlist on Animated Scenery


Source Code and Binaries: