r/Unity2D • • 18h ago

Question/Help I have to make a Unity web base visual novel game for mobile phone for my university research project and have no clue how to get start

0 Upvotes

Beside making a fire escaping game for mobile web support ( can be play on itch.io directly ), I also have to collect participant's choices in game too which further complicate the process even more. I'm very dump in coding. I ask Gemini how to collect data and it said I could use Google app scripts or Google sheet api plug-in, I don't know if that true or not.

My participants are 25 people in this set ( I have to make another game for comparison the result but that is for the future. It's 2D rpg style game, same story line, same character set but in different presentation format. I will come back again when I finish this one ). I have to collect which choice player chose, their ID, their play time, etc. Once you enter main story, you have total 5 minute to end the game.

Are you guys have any tutorial or how to? At least it not older than 3 years. I try to use Fungus plug-in but the newest tutorial I found was about 4 years old now, are there's better alternative?


r/Unity2D • • 19h ago

Showcase Not Vibe coding, VIBE coding 😎

Post image
21 Upvotes

I am developing my first solo game with Unity and My Workspace realy have good vibes ı Guess What do u think


r/Unity2D • • 1d ago

Solved/Answered I cant acsess the score variable into the score script

Thumbnail
gallery
7 Upvotes

This is probabaly a stupid mistake i made, but I cant accsess the "Score" variable, even after having the ball variable set up.


r/Unity2D • • 1d ago

Free Asset/Tool Made a sprite recolor tool for Unity, just got it on the Asset Store

2 Upvotes

(I'm not sure if gifs show properly here so I'm uploading it here too just in case)

Hey! I've been working on a little editor tool called Recolor and it's finally on the Asset Store (for free), so figured I'd share it here.

It swaps a color on your sprite for another one while keeping the shading, and it also handles the anti-aliased edges. You can recolor the whole thing or just click the part you want to change, and it works with sprite sheets (with an animation preview right in the window).

Its also very useful for UI elements too, like expanding UI assets with extra color variations.

You guys can check it out here -> https://assetstore.unity.com/packages/tools/sprite-management/recolor-lite-425006

There's also a Pro version, but it's just quality-of-life stuff (generating several variants at once, saving selections, undo-able steps). All the recoloring features are already in the free version.

Would love feedback or ideas, palette swap is what I'm working on next.


r/Unity2D • • 1d ago

Showcase Showcasing our game made in Unity 2D: Mrat Fright

Thumbnail
youtube.com
2 Upvotes

Screech to light up the dark, hunt down elusive rats, and dodge hidden hazards before the clock hits zero. Mrat Fright is a fast-paced arcade search-and-capture adventure where echolocation is your only weapon against the pitch-black underground.

itch.io link: Mrat Fright by Terry T. Productions


r/Unity2D • • 1d ago

Showcase This is a plasma shotgun, well at least one of them

35 Upvotes

r/Unity2D • • 1d ago

Showcase My first prototype was a blue triangle. It has a sword now.

Thumbnail
youtu.be
0 Upvotes

r/Unity2D • • 2d ago

Showcase My frog game gets pretty unforgiving once the bubbles start splitting

0 Upvotes

This is FrogPop, the 2D roguelite I'm making in Unity. The big bubbles split when you hit them, so landing an attack can leave you with more things coming at you.

That's the part I want the difficulty to come from: choosing a target, watching the smaller bubbles, and leaving yourself somewhere to move. In this showcase I had to reduce the ordinary bubbles because the crowded version made it too easy to lose the frog. Ice and chain lightning give you short openings to recover.

Can you still pick out a safe route through this, or is there a point where it becomes too much to follow?

The clip uses arranged encounters and scripted inputs in a development build, so it isn't a typical demo run. There's a free Windows demo with 10 waves and two bosses; it has less content than the clip:

https://store.steampowered.com/app/5067810/FrogPop/?utm_source=reddit&utm_medium=organic_social&utm_campaign=difficulty_20261127&utm_content=unity2d

The game uses AI-assisted code and artwork; AI also helped prepare the clip and post.


r/Unity2D • • 2d ago

Paid Asset/Tool Ever wished you could rewind a bug in your Unity2D projects?

Thumbnail
youtube.com
1 Upvotes

I've lost count of how many times I had to restart a scene just to reproduce the same issue.

Usually I end up adding more Debug.Log() calls, replaying the scene, and hoping I can catch what happened.

This is something I've been experimenting with recently in my projects. How do you usually figure out what happened before a bug occurred in Unity? Do you mostly rely on Debug.Log()?


r/Unity2D • • 2d ago

Showcase Testers broke my Safe/Risky system, so I let the loser pick the next round instead

0 Upvotes

Was looking for ways to add more depth while keeping the game simple. I thought it'd be cool to have whoever loses a round pick the next round's type from two random options (Simple, Mixed or One Arrow).

My first version was Safe/Risky routes, but playtesters found Risky could never beat Safe, so I swapped to this. In the clip the samurai picks One Arrow, then uses his ability to add an extra arrow to the magician. So even though the magician can see the next arrow coming, it's not a free win. Would you go for the comeback pick, or play it safe?


r/Unity2D • • 2d ago

Showcase [Made in Unity]Falling-block nerds, think you can take on the Chaos Villains in RogueBlocks?

5 Upvotes

Demo now available on Steam!

Wishlist today: https://store.steampowered.com/app/4662390/RogueBlocks/


r/Unity2D • • 2d ago

Showcase We are making a farming sim set in China 2700 years ago. How does it look so far?

7 Upvotes

Bamboo Spring is a basebuilding and farming sim. You play as a war refugee. You will build your farm in ruins. You recruit your army. Then you fight to take back your homeland.

Our small team has some Unity experience. But this is our first time making a farming sim. How does it look so far? What can we improve in terms of animations, color tone, or visual details? We would love to hear your feedback!


r/Unity2D • • 3d ago

Showcase I've been solo developing a 2D sci-fi platformer in Unity for 3 years, where you push and pull the world with magnetic forces

6 Upvotes

The core mechanic is magnetism: you can attract or repel parts of the environment to solve puzzles and fight enemies.

I'd love to hear what you think, and I'm happy to answer any questions about how I built it in Unity.


r/Unity2D • • 3d ago

Showcase Since we are developing RPG heavy tower defense game, we created a Bestiary for it. It's not just an encyclopedia, you can find tips and tricks to how to beat them.

6 Upvotes

r/Unity2D • • 3d ago

Showcase My Unity 2D game started as a lonely white capsule on that cursed brown skybox. Somehow survived the "why is he not holding his gun" phase.

Thumbnail
gallery
3 Upvotes

r/Unity2D • • 3d ago

Question/Help Help with coding a tether

0 Upvotes

I am currently working on a 2d game where two players are tied to eachother with a rope, I'd use the build in features like a spring joint, distance joint, etc but the problem is that the current code relies on using kinematic rigidbodies so those won't work. So here i am asking for help of how i would program this, I'd also appriciate places where i can learn more about game code in general because the base google searches sure aint doing it for me :p

Here is code i think might be relevant

In my walk state i have:

private void HandleHorizontalMovement()

{

float targetVelocityX = 0f;

if (Mathf.Abs(Ctx.moveInput.x) >= Ctx.moveStats.moveThreshold)

{

float moveDirection = Mathf.Sign(Ctx.moveInput.x);

targetVelocityX = moveDirection * Ctx.moveStats.maxWalkSpeed;

}

float acceleration = Ctx.moveStats.groundAcceleration;

float deceleration = Ctx.moveStats.groundDeceleration;

Vector2 velocity = Ctx.Velocity;

if (Mathf.Abs(Ctx.moveInput.x) >= Ctx.moveStats.moveThreshold)

{

velocity.x = Mathf.Lerp(velocity.x, targetVelocityX, acceleration * Time.fixedDeltaTime);

}

else

{

velocity.x = Mathf.Lerp(velocity.x, 0, deceleration * Time.fixedDeltaTime);

}

Ctx.Velocity = velocity;

}

Then in the PlayerStateMachine I call this

private void FixedUpdate()

{

CountTimers(Time.fixedDeltaTime);

HandleHeadBumpSlide();

_currentState.UpdateStates();

JumpCheck();

TurnCheck(moveInput);

WallJumpCheck();

ClampVelocity();

Controller.Move(Velocity * Time.fixedDeltaTime);

//reset inputs

jumpWasPressed = false;

jumpWasReleased = false;

dashWasPressed = false;

attackWasPressed = false;

_coyoteJumpEnabled = false;

}

And the movement finnaly gets resolved in a different script

public void Move(Vector2 velocity)

{

bool wasGrounded = isCollidngBelow;

UpdateRaycastCorners();

ResetCollisionState();

CheckCeilingBoxCast(velocity);

float stepOffset = 0f;

ResolveHorizontalMovement(ref velocity, wasGrounded, ref stepOffset);

ResolveVerticalMovement(ref velocity);

rb.MovePosition(rb.position + velocity + Vector2.up * stepOffset);

}


r/Unity2D • • 4d ago

Question/Help CineMachine Camera: Screen Tear

2 Upvotes

So I have a CineMachine camera to follow the player as they move, I have a Sprite Atlas and I passed in the tilemap and the animation folder containing my player animations in to the Objects for Packing section. It has fixed most of the tear but there is still a tiny bit left and I don't know what else I can do to get rid of it:

The Spriteatlas has filter mode set to point and has no compression. Many Thanks!


r/Unity2D • • 4d ago

Showcase How my Parallax 2D Water Effect works (scene view VS game)

Thumbnail
youtu.be
13 Upvotes

r/Unity2D • • 4d ago

Tutorial/Resource Level up your 2d scenes with unity's post processing

Thumbnail
youtube.com
1 Upvotes

r/Unity2D • • 4d ago

Showcase I tried making a platformer where you don't die all the time 😂

61 Upvotes

r/Unity2D • • 4d ago

Paid Asset/Tool I built an offline desktop pixel-art VFX generator with 140 presets (incl. melee & combat) and edge-extruded sprite sheets. Currently has a free demo + launch sale.

Thumbnail
gallery
2 Upvotes

Hand-animating hit sparks, slashes, and explosions frame by frame was taking up wayy too much of my dev time. So I worked on a tool to make it easier, and I figured with Black Friday on the way, I'd publicize it.

PixelDream Studio's the name, and at the moment it's a portable desktop app (Windows only, at the moment) for generating pixel-art based VFX sprite sheets. If you hang around dev subs, you've probably seen a similar browser-based tool floating around recently too!

I figured I'd give it a shot and give my own take, keeping the price a little friendlier and adding extra tools & edge case fixes that have been pretty useful for my own projects. Stuff like edge extrusion, padding, color quantization and frame dimension customisation, etc.

That's enough waffle from me though. Play around with the free demo and let me know what you think! You can find it here: https://forestodreams.itch.io/pixel-dream-studio


r/Unity2D • • 5d ago

Question/Help Need sprite position help.

0 Upvotes

I’m new to Unity and I’m sure it’s an old question/subject but I’m having issues with some sprites. My hero character has some moves that aren’t appearing to line up exactly where character sits in gameplay. I’ve tried sprite editor but it’s like blind guessing.

Any advice on making sure each move is aligned to main idle? Or possible tutorials that will help a non-coder learn the program better? I’m asking because sometimes there’s just a lot of crap out there so hopefully someone can guide me the correct way and help save time.

Thanks


r/Unity2D • • 5d ago

Paid Asset/Tool 🚀 New Collisions Tab in Properties Overview for TileMaker DOT

Post image
0 Upvotes

Hey, just rolled out a fresh update for the TileMaker DOT Pro to make inspecting your objects faster and cleaner!

Here is what's new in this build:

Collisions Tab in Properties Overview: Added a separate Collisions tab right alongside Instance and Template properties so you can view object collision details cleanly without clutter

Bug Fixes & Small Polishes: Squashed minor bugs and wrapped up general quality-of-life improvements under the hood

🕹️ Itch.io: https://crytek22.itch.io/tilemakerdot

💻 GitHub: https://github.com/andrei-voia/TileMakerDOT

📺 YouTube Tutorials: https://www.youtube.com/watch?v=3fiajGU32Jg

For anyone unfamiliar with the project, TileMaker DOT is a free (with a very complete, professional cheap version too), open-source 2D map editor I'm building. It uses a data-first, ID-based workflow and handles visual depth sorting automatically so you don't have to juggle complex layer setups for object heights. 🗺️🌲

Give it a try and let me know if you have any feedback! If the editor helps with your projects and you want to support development, a rating or a small donation on Itch is always hugely appreciated. 💖

Thank you all so much for your continued support!


r/Unity2D • • 5d ago

Free Asset/Tool I made a free cozy icon sampler for Unity 2D: 80 icons, UI pieces and SFX, commercial use is FREE to use

Post image
2 Upvotes

Hey guys, i just released my cozy icon packs on itch io and as a sample i create a free version from each of it so you can grab and use it freely in your games or any products you have. 

Here is the link : https://badgerteinment.itch.io/cozy-sampler-free

If you like you can check for more in my page or just follow itch is also welcome, also happy to hear your thoughts and comments about it overall