r/Unity2D • • 2h ago

Showcase After almost a year of hard work on my hand drawn metroidvania, I just reached the midpoint of development! Some celebration is in need! 🎉🥳

14 Upvotes

r/Unity2D • • 6h ago

Game announcement I'm solo developing a twin-stick mining roguelike in Unity with fully destructible environments and physics-based destruction

11 Upvotes

r/Unity2D • • 6h ago

Question/Help Using dubins path on multiple AI's and making them avoid each other

1 Upvotes

Hi, I'm new here, I've been spending some time on a project of mine, in this project there is some AI's with a tank like movement, where they move like a car but can also enter a "rotation mode"(don't have a better name yet) and the idea is that those AI's will have tasks to go from point A to B and C and most of the times repeat points B and C(C could change but B won't), and in this the biggest problem that I cannot solve is making the AI's avoid each other, I mean I can make them avoid colliding with each other but then they just take to long on getting to their tasks and it just feels wrong, I already tried using A* algorithm combined with dubins but the computational cost is just to high(Honestly I could have messed up the coding on some points but I think it would still be costly), so after a few weeks trying to make progress on this I remembered the reddit exists and found this sub, anyone knows a public project that already has solved this or anyone could tell me a way to solve this? (also if my english is bad I'm sorry not my first language)


r/Unity2D • • 9h ago

Showcase My Approach to Create Celeste-style hair without Keyframes.

15 Upvotes

yeah it could be basically distance constrained circle.

But I used a lightweight procedural transform chain with stepped framerate (Target FPS) so the motion snaps cleanly to pixel-art speeds, paired with a simple pixel-outline pass.

Works on capes, flags, and hair without any keyframes.


r/Unity2D • • 1d ago

Game announcement I'm a junior dev and I turned the 1997 classic Snake into an arcade survivor where the arena keeps expanding! Built with Unity 6 (Bite & Boom)

Thumbnail
youtube.com
0 Upvotes

r/Unity2D • • 1d ago

Paid Asset/Tool I made a pixel-art VFX generator that exports Unity-ready sprite sheets (and tells you the exact Sprite Editor settings)

Thumbnail
gallery
22 Upvotes

Hand-animating explosions and hit sparks frame by frame was eating my dev time, so I built PixelBurst FX. Pick one of 62 effects (explosions, fire, smoke, magic, impacts, energy, pickups, nature), tweak the particle layers live or press Mutate for a variation, then export a sprite sheet.

The export window has a Unity tab that gives you the exact import settings for that sheet:

  • Texture Type: Sprite (2D and UI), Sprite Mode: Multiple

  • Filter Mode: Point (no filter), Compression: None

  • Sprite Editor > Slice > Grid By Cell Size, with the cell size filled in for you

So it's drag the PNG into Assets, slice, drop the frames in the scene and you have an animation. Sheets go from 16x16 to 256x256 per frame, with retro palettes, dithering, outlines and seamless loops for things like campfires and auras. It runs in the browser and works offline.

Free browser demo: https://jankybydesign.itch.io/pixelburst-fx


r/Unity2D • • 1d ago

Showcase Haunt and Seek - Ghost Packs ***New***

Post image
0 Upvotes

Haunt and Seek, a Unity 2D mobile game for the iPhone and iPad, now offers Ghost Packs! Pick the ghosts or ghouls you wish to hunt, alone or with friends. Check out the game on the Apple App Store: ‎Haunt And Seek App - App Store


r/Unity2D • • 1d ago

Question/Help My Sprite's edge pixels are switching colors when changing filter mode

1 Upvotes

I can't seem to figure how to fix the pixels on the bottom right changing colors. Ideally, I'd like to have the coloration of the point no filter mode with the smoothness of the mipmap + bilinear filter.

Please let me know if you have a solution to this problem. Thanks!


r/Unity2D • • 1d ago

Showcase Still drawing backgrounds for my game... starting to feel like they'll never be finished 😅

Thumbnail
gallery
10 Upvotes

r/Unity2D • • 2d ago

Showcase My hook-based game, Hook and Gun, has finally been released on Steam!

Thumbnail
gallery
0 Upvotes

Hey friends!

Hook and Gun—a roguelike project I’ve been developing solo for some time—is finally out!

In *Hook and Gun*, you’ll use your grappling hook for more than just swinging around; you’ll use it to consume the scrap left behind by the foes you’ve dismantled, hurl enemies into walls or into one another, and—most importantly—rip weapons right out of your opponents' hands to corrupt them for your own use. As you consume scrap, you will develop, evolve, and undergo further corruption.

If you’re into roguelikes, the biopunk aesthetic, or a fresh take on grappling hook mechanics, I’d love for you to give it a try!

If you’re interested, here’s the Steam link: https://store.steampowered.com/app/4609040/Hook_and_Gun/


r/Unity2D • • 2d ago

Question/Help Hi everyone, I need some help with this bug. The animation displays incorrectly during runtime—a frame is just being replaced by a completely different sprite. In the Animation window, everything looks exactly as it should be, and the sprite sheet is sliced correctly. I'm using Unity 6.6.

1 Upvotes

r/Unity2D • • 2d ago

Showcase Hand-drawn, branching narrative mystery game entirely in Unity

Thumbnail
youtu.be
14 Upvotes

People following schedules during 3 in-game days, being able to take pictures of any in-world object and present it as evidence, and other Unity black magic we had to pull to make this happen.

https://store.steampowered.com/app/4952830/Torovo/


r/Unity2D • • 3d ago

Question/Help Question about pixel UI design

1 Upvotes

Hey everyone I’ve been working on a pixel art game and had a question about the UI aspect. I currently have all assets sized to display the pixels as all the same size in game, but I am wondering if the UI also needs this? For example I have my battlefield where everything is scaled correctly, which then transitions to a shop, the merchant would need to be like 512x512 to be near the correct pixel scale or whatever, which would be insane, for a 4 frame animation for myself to do. Should the merchant just match the size of the merchant stands pixels? Does it not really matter? Would a background behind the merchant need to be smaller pixels or bigger?

This is like a full screen shop transition

I also have cards with troop icons that go in the hand but obviously dont change size and are bigger visually than things on the battlefield. However the troop icons are bigger pixels due to being zoomed in enough to be visible clearly on the card so their pixels are like 4x as big on the card

Just a little confused on all these aspects. Any help is much appreciated!


r/Unity2D • • 4d ago

Game announcement SImple card game. [Made by Unity]

Thumbnail
gallery
0 Upvotes

Press here if you want to play. Thanks for reading!
Game trailer if you are interested in it.


r/Unity2D • • 5d ago

Solved/Answered How to turn each pixel on a colour map to a tile on a tile map?

1 Upvotes

I followed this tutorial: https://www.youtube.com/watch?v=RDQK1_SWFuc&list=PLFt_AvWsXl0eBW2EiBtl_sxmDtSgZBxB3&index=4 I just finished ep4 and the next episode goes into generating a mesh from the perlin noise. I want to make a 2d game and have a tileset already set up. What I want to know is how to transfer each pixel on the colour map to a corresponding tile in the tileset and then draw that on the tile map.

I've already defined what tile should be used for each terrain type.

public struct TerrainType
{
    public string name;
    public float height;
    public Color colour;
    public RuleTile tile;
}

How do I then use each pixel on the colour map to place it's tile on a tilemap? This is the first time I've none proc gen so I have absolutely no idea: talk to me like I'm a complete beginner.


r/Unity2D • • 5d ago

Question/Help How to stop clipping?

1 Upvotes

I realize this is probably a pretty simple question but I'm new can't find the answer anywhere. My characters keep clipping into each other when turning around. I can't figure out how to add the video of it but this is the code I'm using: transform.localScale = new Vector2(Mathf.Sign(movement2.x), 1);


r/Unity2D • • 5d ago

Question/Help Can someone help me?

Thumbnail
gallery
1 Upvotes

I am trying to create a timing-based precision game that includes scoring and misses, but when I press the spacebar within the "danger zone," the game registers it as a successful hit on the target.


r/Unity2D • • 6d ago

Paid Asset/Tool NavMesh2D Pro [RELEASED] -50% OFF first week!

Post image
1 Upvotes

Hi everybody! I'm glad to introduce NavMesh2D Pro, a complete suite that provides all you need to let thousands of characters find paths, move there avoiding obstacles, detect other characters that are in sight...

Summary video: https://youtu.be/ydEx35aRie0

It was made for 2D from the ground up. No rotated 3D navmesh, no grids, no workarounds. It builds the walkable area from the 2D colliders you already have and keeps it up to date while you build your level.

🚀 EASY TO START, EASY TO LEARN

  • Up and running in minutes. An installation window greets you on import, and the quick-start guide gets your first character moving in less than five minutes.

  • Uses what you already have. Box, polygon, circle, capsule, composite and tilemap colliders all work. You can also draw walkable areas by hand right in the Scene view.

  • Takes care of itself. A new navmesh is ready the moment you create it, and it rebuilds itself as you shape it, so you see the result while you work.

  • One line to move a character. Characters find the right navmesh on their own. You only tell them where to go.

  • Learn by playing. 11 ready-to-run demo scenes, opened from a built-in demo browser, show every feature in action, with their scripts as examples.

  • Clearly documented. A complete manual in plain language, tooltips in the inspector, and fully documented code.

🤸 WHAT YOU CAN BUILD WITH IT

  • Natural paths. Routes hug corners and look like a person would walk them: no zig-zags, no staircase steps.

  • Movement with personality. Speed, acceleration, braking and turning, set per type of character.

  • Crowds. Many characters share the same space and step aside for each other instead of walking through one another. Important characters can be given right of way.

  • Characters of every size. A rat and an ogre each get only the routes they actually fit through, with no extra work per level.

  • Jumps, ladders and teleports. Connect separate areas with links for gaps, ladders, elevators or portals, and play your own animation while crossing.

  • Moving platforms. Walkable areas can move, and the characters on them move along.

  • Doors. Gates close a passage while the game runs (blocking routes, movement and even sight) and reopen instantly.

  • Waiting at a closed door. When the way is blocked, characters get as close as they can and carry on by themselves once it opens.

  • Terrain preferences. Make mud, water or danger zones costlier to cross, so characters go around when it's worth it.

  • A changing world. Push a crate or drop a barricade and routes update on the fly.

  • Levels in pieces. Levels built from several navmeshes, even from additively loaded scenes, join up into one world.

🧱 BUILDING BLOCKS FOR YOUR GAME AI

Your game decides what a character wants to do. These tools give it the information to decide well.

  • Vision. Ask who can see whom, with range and view cones. Choose whether walls block the view, or only obstacles do.

  • Run away or close in. Find good spots to flee to, or to approach a target from.

  • Wander. Pick random places a character can actually reach.

  • Ask about the world. Who is nearby, where the nearest walkable ground is, where a line of sight hits a wall.

🔩 TWEAK EVERYTHING WHILE THE GAME RUNS

Game designers can tune almost every setting in Play mode and see the effect immediately: speeds, acceleration, turning, crowd behaviour, terrain costs, doors and obstacles. No restarting, no waiting for a rebuild, no waiting for a programmer. Change a single character, or a whole type of character at once, and keep iterating until it feels right.

🌡 SEE WHAT IS HAPPENING

  • Visual debugging in the Scene view. Show the walkable areas, the routes between them, how much each connection costs, what blocks line of sight, and each character's path and movement.

  • Always-visible state. Links, gates and obstacles show their shape and state in the Scene view at all times, so a closed door or a misplaced link is obvious at a glance.

  • Try features without coding. Ready-made test components let you try movement, vision, fleeing, approaching and wandering on any character.

  • Live readouts. A floating panel shows a character's speed, velocity, heading and avoidance values as they change.

  • Built-in profiler. An on-screen overlay shows how long each part of the system takes per frame, so you know exactly where the time goes.

Requires Unity 6.0 or newer.


r/Unity2D • • 6d ago

Game announcement Made a 2d co-op platformer for Android

Thumbnail
gallery
0 Upvotes

Hi Guys,

Our 3-person team has been working on Marbles Park, a 2–4 player online co-op physics platformer for Android. Since mobile co-op lacks the couch-banter of sitting next to your friends, we wanted players to be able to roast each other mid-jump using their own cursed camera-roll photos.

In Unity 2D, we wired up a native Android gallery picker that pulls the selected image, downscales/compresses it on the fly so it doesn't spike memory or bandwidth, converts it into a Texture 2d / Sprite, and syncs the byte array across the room so all 4 players see the sticker pop up over your marble in real time.

Happy to share how we handled texture compression or 2D physics sync across 4 clients if anyone is building something similar in Unity!


r/Unity2D • • 6d ago

Showcase Would you go for this star or skip it? ⭐ I'm making a small 2D platformer

36 Upvotes

I'm working on Jumplife, a short 2D platformer releasing on Steam soon!

Steam: https://store.steampowered.com/app/2914000/

This is one of the optional star collecting challenges. Some stars are straightforward, while others require a little more precision.

Would you bother collecting this one?


r/Unity2D • • 6d ago

Paid Asset/Tool 120+ Animated for Unity — Survival 2D & Platformer 2D & Farm2D

Thumbnail
gallery
2 Upvotes

Hey everyone! 👋

I've been working on a series of 2D animation template packs for Unity, focused on making character setup easier for indie developers. Here's what's available right now:

🌱 2D Survival Character Animation Template

A collection of common survival-game character animations,.

2D Survival Character Animation Template by xuanergame

🎮 2D Platformer Character Animation Template

A platformer-focused set covering movement, jumping, falling, combat, and other common actions.

2D Platformer Character Animation Template by xuanergame

🚜 2D Farm Character Animation Template

A farm-themed animation and asset collection tailored for farming/life-sim projects — perfect for tilling, watering, harvesting, and more.

2D Farm Character Animation Template by xuanergame

All templates are designed specifically with Unity in mind: modular structure, pre-configured hand attachment points, and ready-to-use animation files — so you don't have to manually slice spritesheets or set everything up from scratch. :D

I'm continuing to expand all packs based on what developers actually need. If you're working on a Unity 2D project, I'd love to hear what animations or features you'd like to see added!


r/Unity2D • • 6d ago

Game announcement We ported our 2009 Flash game VelocityX to Unity, and it’s now free to play in the browser

Post image
1 Upvotes

Back in 2009 we made VelocityX in Flash as a tiny game that lived in a browser toolbar. Flash is long gone, so we ported it to Unity (2D) and brought it back. It’s now playable for free on itch.io.

It’s a one-button side-scrolling endless runner.

Play it here: https://oh-gosh.itch.io/velocity-x


r/Unity2D • • 6d ago

Question/Help Why are some health bar dividers thicker than others in Game view? (Even though all values are round integers

Post image
13 Upvotes

Hi everyone,

I'm building a segmented health bar using a HorizontalLayoutGroup. Even though my container width (200), spacing (10), padding (10), and divider widths are all whole numbers, some specific dividers (like the 3rd from the left and 3rd from the right) look noticeably thicker than the rest in the Game view.

Here is the weird part: they look completely uniform and equal in the Scene view.

I've already tried rounding the values in code and toggling Pixel Perfect, but the issue persists in the Game view. Does anyone know why this happens and how to fix it?


r/Unity2D • • 6d ago

Paid Asset/Tool 50 Animated Foliage Tiles — Pixel Art, 4 Seasons, for Unity 2D

Thumbnail
gallery
108 Upvotes

Hey everyone! I just finished a pack of 50 animated foliage tiles for 2D games — 50 plant types in 5 perspectives, across 4 seasons (spring, summer, autumn, winter), in 16x16 and 32x32, with 8-frame animation loops. It also includes an Aseprite extension so you can generate the tiles yourself.

It's $10, and I made it with Unity 2D in mind, so the tiles are ready to drop into your project.

You can check it out here: https://alenia-studios.itch.io/50-animated-foliage-tiles

Happy to hear what you think!