XNA MonoGame Tutorial #2 - Rapid Fire Weapon
2022.01.26. This series showcases the creation of a simple engine from scratch within the MonoGame (XNA) framework. This video showcases the following:
- basic enemy behaviours
- extreme rapid-fire weapon = 240 fires per second, 5 shots per fire
- object pooling system to handle bullets without slowdown
- variable frame rate
- all enemy, player, and bullet motion respect variable frame rates
- weapon firing respects variable frame rate
- weapon firing location processes sub-frame invoke to fire
- weapon rapid-fire respects sub-frames.
- this as you rotate the game-pad to fire, at 240 Hz firing, even if the game only runs at 45 frames per second, you'll get accurate position and all otherwise-missed fires.
- does not showcase optimized collision detection; it's still pure brute force for now :)
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