You are a time traveling pigeon sent to stop a nefarious goose from wrecking reality. Poop on everyone. Destroy everything. Save the world!
[b]Destruction and DNA System refinements, traffic AI, crowd simulations, and Hoomans 2.0. [/b]
[h1]Destruction Updates[/h1]
[previewyoutube=DLgPrrgPwGo;full][/previewyoutube]
Pigeons fear nothing.
[b]This month we wrapped up some work on our destruction system.[/b] Fragments are now more natural looking, with jagged edges and junk sticking out of them. They still have roughly box-like shapes for physics optimization, but once we add in the particle VFX it should be quite convincing.
[previewyoutube=sSOQqsLBar0;full][/previewyoutube]
We use explosive balls of hot garbage to test the destruction engine… cuz why not?
Even at this early stage of development, it’s already a lot of fun to just fly around and destroy things randomly! I can only imagine how awesome it will all be once we finish it.
[previewyoutube=i3fFIHBVaTw;full][/previewyoutube]
Nanobots repairing partially damaged buildings (timeframe is shortened for preview)
On the programming side of things, we made some important updates for performance, such as building repairs. After a damaged building is out-of-sight, or far enough away for a time, it will eventually get repaired by the city’s nanobots. (Hey, if Marvel can make silly excuses for inexplicable things, then so can we!)
[h1]DNA System[/h1]
[previewyoutube=WjM9JrPNhyo;full][/previewyoutube]
Our “DNA System” in action…
[b]We wrapped up work on something we call the “DNA System.” [/b] In a nutshell, this allows us to build super flexible gameplay mechanics—like granting the player fire breath and explosive turds when they eat a spicy burrito, making NPCs gain acid-spitting abilities and moo like cows, or suddenly giving the gift of flight to a garbage can, as seen here.
This is super important because in [u]Pigeon Simulator[/u] we plan on having a very wide variety of wacky abilities for you to experiment with, and we needed a way to ensure that all this madness could interact properly. Exploring and discovering new abilities to experiment with may be a big part of the game.
Eventually we’ll put all this power into the hands of an “AI Storyteller” and there’s no telling [u]what [/u]might happen then!
[h1]Roads & Traffic[/h1] [img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617306754412-GBC4SWVZKA6H1MKE41Q1/ke17ZwdGBToddI8pDm48kERckt8rwltEcFwFzQfoo85Zw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZamWLI2zvYWH8K3-s_4yszcp2ryTI0HqTOaaUohrI8PIkeoXc4BNAXrBusvXUZULdN_jJv45qcqpo-kNxxktwi0/drunk+driver.PNG[/img]
[b]We made major progress on our road and traffic systems this month! [/b] Roads are the first thing generated for each level, and then we spawn everything else based off of that, so getting the roads right is important.
We swapped all of the placeholder meshes with a nice-looking, modular set of tiles that includes proper sidewalks, intersections, and end caps. Getting randomly generated, curvy roads to play nice together was no easy task, but we eventually accomplished our goal and have a nice foundation for expansion.
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617307487715-I6YKIT0LH8ETY3TOU7TL/ke17ZwdGBToddI8pDm48kPTrHXgsMrSIMwe6YW3w1AZ7gQa3H78H3Y0txjaiv_0fDoOvxcdMmMKkDsyUqMSsMWxHk725yiiHCCLfrh8O1z4YTzHvnKhyp6Da-NYroOW3ZGjoBKy3azqku80C789l0p52bY8kZn6Mpkp9xtPUVLhvLurswpbKwwoDWqBh58NLxQZMhB36LmtxTXHHtLwR3w/Intersection-4k-2021-03-09-15-15-13.png[/img]
[b]Once the roads were in place, we built an AI Traffic System[/b] to push vehicles around the city. Since everything is physics-based, [url=http://www.hakjak.com/blog/2021/3/26/ai-dev-blog]this proved to be far more challenging than we anticipated! [/url]
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617309659768-10LDQARRKCHTO2DOH9UT/ke17ZwdGBToddI8pDm48kNCmsbDBQFsDMsavwfYV2P9Zw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZUJFbgE-7XRK3dMEBRBhUpyCQtQqpOGNUd1aQRMy8N1yVm1qAKaX4bX0-7uaVvpuCJBJ-RAlmf56jU1FRamvikU/Tokyo+Drift.gif[/img]
Our initial traffic AI was full of dangerous drivers. There were crashes and pile-ups all the time. Nobody wanted to stay in their lane… you know, a little [u]too[/u] much like real life? As the number of vehicles spawned increased, so did the casualties.
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617307818315-VRVY9O6PGJUC2KHT7BY3/ke17ZwdGBToddI8pDm48kIMXvV4KRQMnUERR78b64NBZw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZUJFbgE-7XRK3dMEBRBhUpx752AXPtBDWlc9Qy7sosGNAtzmxtrM-qa7qaZiLfX5brq_B9Ofqz0JTjqlpZgFR7g/WIP+procgen+roads+and+traffic.png[/img]
But eventually we got everything under control and they all drive about like good little citizens. We even added in some logic to manage traffic lights, and avoiding random obstacles like debris falling in the streets from massive pigeon mayhem.
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617309873814-K08EYB8RUWOMM2GO79G9/ke17ZwdGBToddI8pDm48kNCmsbDBQFsDMsavwfYV2P9Zw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZUJFbgE-7XRK3dMEBRBhUpyCQtQqpOGNUd1aQRMy8N1yVm1qAKaX4bX0-7uaVvpuCJBJ-RAlmf56jU1FRamvikU/Good+Little+Minions.gif[/img] [h1]Crowds[/h1] [img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617310581525-TOM7H8ZLOUZO9SUFW986/ke17ZwdGBToddI8pDm48kJ1oJoOIxBAgRD2ClXVCmKFZw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZUJFbgE-7XRK3dMEBRBhUpxBw7VlGKDQO2xTcc51Yv6DahHgScLwHgvMZoEtbzk_9vMJY_JknNFgVzVQ2g0FD_s/PP+Crowd.gif[/img]
[b]Work has begun on crowd simulations! [/b] After all, you can’t make a city feel truly alive without plenty of pedestrians hustling and bustling about.
This is no easy task though. Each pedestrian requires special things, like point-to-point navigation, collision detection, and realtime obstacle avoidance—not to mention more advanced AI features like running away scared or attacking the pigeon that just pooped on them!
[previewyoutube=dqKqgEuuvdc;full][/previewyoutube]
Lots more work to be done here, but we’ve already made great strides in being able to render a large amount of characters on screen at once, and give them some basic behaviors.
[h1]Hoomans 2.0[/h1] [img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617310934032-EPGYM4A1LE0S2LYB481V/ke17ZwdGBToddI8pDm48kIsC3DJ_hBUOpfZM8Odbll4UqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYxCRW4BPu10St3TBAUQYVKcR7fVUx27a7dNzVWPsxV_HAMsR9Tbpw8g236DvSFM-wfXtbhNmmHT1A1rJLaX29lK/Hoomans+v2.PNG[/img]
[b]We gave the human models a nice facelift this month[/b]. We scaled back some of the over-exaggerations, while still maintaining some of the stylized elements we wanted. Most notably the eyes and face. Overall they’ve got much less “creep factor”… but they’re still just asking to be pooped on by a pigeon.
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617311293411-ZPFTXH8RL0OCTRSJQVBD/ke17ZwdGBToddI8pDm48kAktg2Oi1cZ-TWHuK2L5hGAUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYxCRW4BPu10St3TBAUQYVKc5Nw2H_ZWxhEN8NUaNH1mQ-6HOb5kbju77YC04Q_nv0bTX0Fw5rtyyL00NknVWm3Z/skin+materials.jpg[/img]
Additionally, we updated their materials to handle any color range and ensure each location feels like it has a diverse population. And we do mean [u]any [/u]color, as seen below….
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617311401537-TZ3UDASCQQGR09CVCFJK/ke17ZwdGBToddI8pDm48kMasSTh3vbARn1PEBCrht_5Zw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZUJFbgE-7XRK3dMEBRBhUpy55u0ZQmVtngCaR2FZBpCrnstDWhmQuosqG0wdvTbYoqLcI6izQJg4Wr2nSDTVRSg/Blue+man.gif[/img] [h1]Drones[/h1] [img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617311522468-DIR4TH3JHS8J8ELPONV9/ke17ZwdGBToddI8pDm48kKdhIZ8Tr-IwI_vDWFNTIMB7gQa3H78H3Y0txjaiv_0fDoOvxcdMmMKkDsyUqMSsMWxHk725yiiHCCLfrh8O1z5QPOohDIaIeljMHgDF5CVlOqpeNLcJ80NK65_fV7S1UUROqc1iGUhpt_ElijM5_Tf-608X8gnZfdnk5g6XbEFSNtOdhUU1hOx5CbfNRG0RmA/drone_proto.jpg[/img]
[b]We prototyped some cool drone concepts this month, and began building some basic AI for flying NPCs.[/b] We’re toying with the idea of randomly generating some NPCs like this, or “leveling them up” to be more and more menacing as the game progresses.
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617311983685-Z9UTYXLMJJBBZL26XHLA/ke17ZwdGBToddI8pDm48kEAGERFR22RBtF5eF1IgWmUUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8PaoYXhp6HxIwZIk7-Mi3Tsic-L2IOPH3Dwrhl-Ne3Z23jWePP5nNJUFltR62EnsbfU8oheTX949k7Fhh07weE4KMshLAGzx4R3EDFOm1kBS/crazy+drone.jpg[/img]
[b]Then we worked on giving these little drones some brains. [/b] Our old flying NPCs would just move directly towards a target, driving right into buildings like idiots. Now they have [u]some [/u]brains… though we still have a lot of work to do to make them actually attack the player, flee, etc.
3D AI navigation is a complex task, but we’re off to a good start!
[previewyoutube=z5m1ENb0oVY;full][/previewyoutube]
Some day the flying enemies will be quite menacing… right now the pigeon just watches and laughs.
[h1]Interior Props[/h1] [img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617312548383-7AXM35HGL0ZAR5YOUO6K/ke17ZwdGBToddI8pDm48kHr_cgZumMM0k7KkkXGCqrtZw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZamWLI2zvYWH8K3-s_4yszcp2ryTI0HqTOaaUohrI8PI2K_BGKFf51kYVIaMM6wjD1Mw7JG-N32nMxmtOFWE_ws/couch.png[/img]
Right now all of our buildings are full of empty floors, but we aim to change that soon! [b]We’ve started building up a collection of interior props[/b], centered around various themes, such as: office, residential, industrial, etc. These will be spawned into various sets to fill out the building interiors and make them feel full of life.
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617312769169-C9CCA76644Q8L7QGI6Q8/ke17ZwdGBToddI8pDm48kJG4XURdsqfrmggqCTiHWDoUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYxCRW4BPu10St3TBAUQYVKc9TvfPlDHVhnWjtpkJu1zcD4mxCqaG-arh_-pKmFMa4AjJj4nr54jrN2d9cGSvcjt/break+room.png[/img]
Most of the props in Pigeon Simulator share a common set of shaders and materials, and have simple collision geometry. This means we can have lots of them in a scene and it can still run fast!
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617313015326-A7TZ57K2DG96L7SPR62D/ke17ZwdGBToddI8pDm48kHFdn5X0WIlx2_J8LUC2mI5Zw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZamWLI2zvYWH8K3-s_4yszcp2ryTI0HqTOaaUohrI8PIhzBcBnT_PWIORgtp4FDwCs6tujedHDmYLBq1C32t0gU/mechanic+rigging+learning.png[/img]
Though some of our industrial props are a little more advanced—and maybe even scary—like this industrial robot arm.
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617369324000-8VGR7H0KRTRVLOTE33ES/ke17ZwdGBToddI8pDm48kGRgxhvQackVIMhkWKjsXxEUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYy7Mythp_T-mtop-vrsUOmeInPi9iDjx9w8K4ZfjXt2dueYbHkZFKfDZLb61WR_1xBYqjgg6dx5qrqybFH21FW7CjLISwBs8eEdxAxTptZAUg/more+indoor+props.png[/img] [h1]What Else?[/h1]
Well.. I don’t want to give [u]everything [/u]away!
[b]We’ve built a unique HUD for the game, with some fun game mechanics around that.[/b] I’d show some screenshots, but I feel like even that shows too much right now. We’ve started working on our nature assets as well, to bring a little more green into the urban jungle… and we’ve started designing our storytelling system….
[u]…[/u]
[u]Okay, fine… one more thing… here’s a little snip of some funny ability icons we made.[/u]
[img]https://images.squarespace-cdn.com/content/v1/56bb6890e32140b75de0e6ca/1617313781213-GSLWR1XVBIPU7V5C1HS5/ke17ZwdGBToddI8pDm48kLLh-yZLRN-_xYdzutxHLSRZw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZUJFbgE-7XRK3dMEBRBhUpypXjHn0T-k2Tnj-q-ihMdd5eZE3QV2Csrc2RJud42MJUuZAdgPbj6ViReSVV4kZDk/player+cluster+doodles+2.png[/img]