This EASY video will show you object pooling and also make a mini space shooter game! We'll only need one script to get object pooling going - then we'll look at how we can get objects from our pools!
Object pooling greatly improves performance of our games - so is an important pattern to learn!
You can also grab the WHOLE package for this tutorial and mini shooter for only $2.99 on itch:
https://gamecodelibrary.itch.io/mini-...
FREE Sprites: / object-pooling-103986967
FULL Game Package: / object-pooling-103987039
Space Background: https://deep-fold.itch.io/space-backg...
Enemy Generator: https://deep-fold.itch.io/pixel-sprit...
Get a COMPLETE Platformer Template:
https://gamecodelibrary.itch.io/2d-pl...
Be sure to subscribe to see what kind of adventure we can go on together! I'm excited! :-)
If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help me out on this journey ♡
#unity #gamedev #gamedevelopment #unity2d #indiedev
0:00 - Intro
0:37 - Scene Setup
1:28 - Plan
1:43 - ObjectPooler Script
5:05 - ObjectPool GameObjects
5:36 - Enemy Prefab
6:09 - Enemy Spawner
6:37 - EnemySpawner Script
8:09 - Pool + Spawner
8:21 - Test Enemy Pool
8:49 - Spawn Objects as Children (Script Improvement)
9:11 - WORKING OBJECT POOL
9:18 - Bullet Prefab
10:12 - Bullet Script
10:27 - Bullet Pool Setup
10:35 - Bullet Spawner Script (Shoot)
13:06 - Bullet Test
13:21 - Wall Collision
14:07 - BACK TO POOL test
14:12 - Enemy Script
15:08 - FINAL TEST - WORKING
16:16 - Outro
On this page of the site you can watch the video online EASY Object Pooling for an Optimized Game - FULL Unity Game Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Game Code Library 10 May 2024, share the link with friends and acquaintances, this video has already been watched 2,401 times on youtube and it was liked by 133 viewers. Enjoy your viewing!