XNA MonoGame Tutorial #3 - Object Pool Optimizations

Subscribers:
822
Published on ● Video Link: https://www.youtube.com/watch?v=VKjiuq437t0



Category:
Tutorial
Duration: 3:27
155 views
2


2022.01.27. Another video in my creation of a simple engine from scratch within the MonoGame (XNA) framework. This video showcases the following:

- simple object pool usage for both enemies and player bullets
- basic optimizations in the object pool: be smart about which objects are active, keep this tight, and only check a minimal subsection that is required
- basic optimizations in collision: don't check every bullet against every enemy, every frame, but it's still brute force, and awaits massive optimizations
- new player bullet sprite
- player is firing 2 bullets at 240 Hz
- object pool does not respect ordering, as you can see with bullet rendering artifacts

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







Tags:
gamedev
monogame
indie
development
graphics
engine
xona
firstpixel
pixel
pixelart
retro
coding