How to make a player control the movement of his ui player (2d ui character game)

:happy2: Hello there :wave: ,
Can you pls help me :question:

  1. What do you want to achieve? Make a player control his ui character

EXAMPLE:

As you can see, im the red ui cube moving, this is what i am trying to do.

:warning: Pls include that i can’t depass obstacles. As you can see in the beginning of the video i can’t depass the black wall.

  1. What is the issue? idk how

  2. What solutions have you tried so far? Developer Hub and Youtube (i keep finding 2d but not 2d ui)

Thank You for your help :happy1: .

2 Likes

You could try to make it 3d but let it look like a 2d UI, that’s possible,otherwise you would have to calculate the boundaries or use the function to get the color of a pixel to check if there’s a wall and if I you’d move there. If u can because there es no go slowly to the mouse pointer. If there’s a wall stop there.

2 Likes

Not what you mean? What do you need help with then?

I searched for posts with no reply.

1 Like

The Example in the video… i want to be able to be a ui character (the red cube) and not the 3d lego roblox player.

1 Like

You could set the player to be a red part. When you deactivate shadows and make the camera so you can view it from top and remove the texture you shouldn’t be able to see if it’s a GUI or not. If you want it to be a GUI you could use this.

1 Like

Just found this:

3 Likes

use this @thereal_gamerboy123 its very good and efficient, there is doccumentation on it and a video showcasing it

Alr imma try it, nice game btw.

bro wrote "Make sure to download this virus! " at the end :skull:

XD (ik its a joke)

I will put Misterx113 as solution because he is the one that answer me, but i will like your topic

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.