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
Auf dieser Seite können Sie das Online-Video EASY Object Pooling for an Optimized Game - FULL Unity Game Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Game Code Library 10 Mai 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,401 Mal angesehen und es wurde von 133 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!