EXPLOSI2.BAS - GW-BASIC, colored particle explosion #2

EXPLOSI2.BAS - GW-BASIC, colored particle explosion #2

Subscribers:
831
Published on ● Video Link: https://www.youtube.com/watch?v=SAiQ-HhsjdU



Duration: 2:05
161 views
2


PC-BASIC emulator is running 3 or 4x the speed of normal GW-BASIC on my Tandy 1000 SX. You could run this at .25x speed to give an indication of just how slow and long this animation/simulation is. I used to dream about being able to run graphics engines at full framerate, which I envisioned was at least 10 frames per second. That may sound slow, but many games in the 1980s on home computers only went 10 fps. Just consider how all of these dreams are trivially doable today.

This program is using GW-BASIC's double buffering of 320x200 4-color with a PCOPY that copies the memory from one page to the other. It's not clear if simply erasing the page and swapping would be faster. Tandy GW-BASIC apparently had a page erase option, which I don't believe I knew about. I use the PALETTE command to change the 3 non-black colors to reds and yellow.

It's interesting these days to read on forums that people are shocked to hear Doom 1993 "only" ran at 35 fps and how could we have dealt with that, when 35 fps was the maximum framerate if you had a super fast computer with your face stuck into a corner. Normal framerates for Doom on a 486 in low resolution mode were about 15-20 fps. Doom 2 was even slower. Quake on a Pentium had an icon when the framerate dropped below 10 fps (which means this happened to people).

My playlists:
--------------------
- Voxel: https://youtu.be/watch?v=XCVWEuhCCDM&list=PLjnbT4UISq0bQF1g85tE9jTrKfEtdRYlY
- Road: https://youtu.be/watch?v=ck5ALX11YU4&list=PLjnbT4UISq0bnfd1RC3M4PgTgkmhlkikV
- Ray Casting 3D: https://youtu.be/watch?v=zjswXUTMP2o&list=PLjnbT4UISq0YcFtRFjFQqK0g6ONNCtrvY
- Side-Scroll Shmup: https://youtu.be/watch?v=fF4X8zN-Raw&list=PLjnbT4UISq0Y_7IAN_zUzxgZnfhXxo_0Q
- MonoGame Tutorial: https://youtube.com/watch?v=WW1dJnfXWb0&list=PLjnbT4UISq0adw__Y9B2eXA0LL35TyORU

My websites:
---------------------
- my GitHub: https://github.com/JDoucette
- my company: http://xona.com
- my Blog: http://thefirstpixel.com