Custom 2D Cursors in Unity

  Рет қаралды 7,989

Nitroxin

Nitroxin

Күн бұрын

Пікірлер: 23
@randombutperfect1781
@randombutperfect1781 4 жыл бұрын
I wasn't able to find such tutorial even on brackeys , thank you very much for this tutorial
@lNitroxin
@lNitroxin 4 жыл бұрын
Thank you, glad I could help! :)
@CodingKricket
@CodingKricket 4 жыл бұрын
Great tutorial I subscribed!
@animationsbelike
@animationsbelike Жыл бұрын
thank you so much! You saved my life. :D
@demi9571
@demi9571 4 жыл бұрын
You sir, need more views.
@palanolho82
@palanolho82 10 ай бұрын
Would you mind showing how you made the pointer and trail glow red like that ? Thank you in advance.
@lNitroxin
@lNitroxin 10 ай бұрын
To make it glow red I first just changed the color of the sprites and trail to a red I liked that was decently bright. After that I added post processing to the scene (lots of tutorials out there for how to do that, don’t remember the process off the top of my head), and specifically enabled and played with the bloom effect and its settings on the post processing profile (which is the effect that creates that glow for colors that cross a certain brightness threshold). It’s been a min since I’ve used Unity and I don’t have it installed rn so I can’t give you specifics but shouldn’t be too hard to get it going from there. Hope this helps!
@feelgxxd
@feelgxxd 3 жыл бұрын
Thanks man, pretty neat.
@chrono9503
@chrono9503 Жыл бұрын
This tutorial is amazing. But there is one problem I can't fix. When my game is paused, the rotation and trail stopped. It was easy to fix the rotation, just mutiply it by Time.unscaledDeltaTime instead, but there is not a way to do that for the trail. The trail just never dies, and won't go away until I unpause the game. Is there a way to make the trail update in unscaled time, like you can do in the animator component?
@ntwise_
@ntwise_ 3 жыл бұрын
Hi im using the new input system and for some reason the trail dosent work anymore is there any other way
@GamingZone-fi3wo
@GamingZone-fi3wo 3 жыл бұрын
I am a subscriber of your channel
@demi9571
@demi9571 4 жыл бұрын
I run into a problem. Cursor works perfectly as long as camera set in Orthographic mode, but whenever camera is in perspective mode cursor is glued to the center of the screen. Im not sure how to fix it. I tried substituting Vector2 for Vector3 code but other than that I am out of my league.
@sspyrshlsx3740
@sspyrshlsx3740 4 жыл бұрын
Try changing the Vector2 from "Camera.main.ScreenToWorldPoint(Input.mousePosition)" to just "Input.mousePosition" It should hopefully work since we want the object to act as a mouse rather than being a gameobject
@nestiboy
@nestiboy 2 жыл бұрын
Dammit, i'm using parallax in my 2D game, so i can't use this since i have a perspective cam
@GamingZone-fi3wo
@GamingZone-fi3wo 3 жыл бұрын
Which version is your vs code editor? Plz put the link in the description ✍️✍️✍️🙏🙏🙏🙏🙏🙏
@arcane6763
@arcane6763 4 жыл бұрын
i am here
@hereticstanlyhalo6916
@hereticstanlyhalo6916 2 жыл бұрын
Almost works, if I have my cursor at thr bottom left, my game object is at thr bottom left, but if I put it at the center, my game object is now out if view to thr top right like it's being multiplied by like 5 or 10 or smth, I have my camera set to ortho and it's rendering to a render texture, and I have the camera a public variable so I drag and dropped the camera entity into it. What's wrong?
@hereticstanlyhalo6916
@hereticstanlyhalo6916 2 жыл бұрын
Just found out it's bcus of the render texture... i think i found a temp work around
@Yumenoki99
@Yumenoki99 4 жыл бұрын
this was insanely useful, thank you! For some reason though I can not hide my original cursor, my unity does not seem to know Cursor.visible? it marks "visible" red and when I try to run it it says "'Cursor' does not contain a definition for 'visible'", did I miss something or is there another way around it? Edit: I found the answer! I called my script "Cursor", now that I changed it to CustomCursor it works fine :)
@Hyphen3372
@Hyphen3372 2 жыл бұрын
does this work in 3d?
@lNitroxin
@lNitroxin 2 жыл бұрын
This specific method I don't believe works in 3D, sorry! I have yet to find a way to do that myself haha
@whitahali5035
@whitahali5035 4 жыл бұрын
all unity tutorials here are basically useless to my unity version
@oblo4952
@oblo4952 4 жыл бұрын
this one still works
Animated Cursors in Unity!
16:59
Code Monkey
Рет қаралды 26 М.
HOW TO CUSTOMIZE YOUR MOUSE CURSOR - UNITY TUTORIAL
9:14
Blackthornprod
Рет қаралды 116 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 6 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 116 МЛН
Cutscene in Unity 3D | Timeline in Unity | CG Aura
14:13
CG AURA
Рет қаралды 145 М.
Creating Basic Particle Effects in Unity
28:33
Nitroxin
Рет қаралды 72 М.
Custom Cursor with Input System - Unity Tutorial
10:40
samyam
Рет қаралды 25 М.
Custom Cursors In Unity
3:52
bendux
Рет қаралды 47 М.
PAUSE MENU in Unity
12:13
Brackeys
Рет қаралды 995 М.
SAVE & LOAD SYSTEM in Unity
18:20
Brackeys
Рет қаралды 1,1 МЛН
START MENU in Unity
12:52
Brackeys
Рет қаралды 3,1 МЛН
Creating Basic 3D Blast Effect in Unity
16:50
Nitroxin
Рет қаралды 10 М.
Pro Game Animation Is EASY Now (Try This!)
6:59
Smeaf
Рет қаралды 349 М.