CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Unity Live 2D touch system

ajja

New Member
Aug 1, 2018
7
2
Hey there! I'm working on a simulation game. It's a 2D game. I'm trying to achieve a 2D live animations for undressing/groping. Do anyone of you achieved this effect in your games? Any tips/suggestions are more then welcome!
 
  • Like
Reactions: allintine

60Points

Dev
Game Developer
Nov 1, 2019
120
177
Touching can be achieved without problems using a graph shader I would believe. You can also modify the vertices of the mesh/sprite but it would be less precise.

For clothes, the ideal would be two sprites, one for the body and one just for the clothes, you can modify the position of one on the other.

Or the most used option, "fake it". Have the movement sprites already created and change one for the other depending on the position of the touch
 

ajja

New Member
Aug 1, 2018
7
2
Touching can be achieved without problems using a graph shader I would believe. You can also modify the vertices of the mesh/sprite but it would be less precise.

For clothes, the ideal would be two sprites, one for the body and one just for the clothes, you can modify the position of one on the other.

Or the most used option, "fake it". Have the movement sprites already created and change one for the other depending on the position of the touch
Hey there! What do you mean with graph shader?

Also, I was thinking about using Spine2D, rigging the sprite and creating animations driven by the user input
 

60Points

Dev
Game Developer
Nov 1, 2019
120
177
Hey there! What do you mean with graph shader?

Also, I was thinking about using Spine2D, rigging the sprite and creating animations driven by the user input
Yes, that's a good idea too! (Im more familiar with 3d that's why it didn't occur to me). Regarding the shader graph, you can search on Youtube for something like: "vertex displacement sprite shader unity".

Basically you can deform a texture or a model based on a position or texture.

That would help you to be able to put your hand under your clothes for example, etc. It is much more complex, but if you are interested in learning it is a good topic.

But spine 2d you can definitely do good things without much effort
 

ajja

New Member
Aug 1, 2018
7
2
Yes, that's a good idea too! (Im more familiar with 3d that's why it didn't occur to me). Regarding the shader graph, you can search on Youtube for something like: "vertex displacement sprite shader unity".

Basically you can deform a texture or a model based on a position or texture.

That would help you to be able to put your hand under your clothes for example, etc. It is much more complex, but if you are interested in learning it is a good topic.

But spine 2d you can definitely do good things without much effort
I’m quite familiar with shaders in general, but what it concerns me is that deforming a 2D object with a vertex shaders could lead to a less realistic deformation, or simply it could be a more trivial approach. I’ve never tried tho, so, could you provide me some examples of games that used this approach?
Ps: I’m aware that spine is for literally deforming 2D objects, but having vertex weight painting lets you have more precision on deformations