Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jun 03, 2014 at 01:39 AM by meat5000 for the following reason:

Too subjective and argumentative

avatar image
0
Question by sneenlantern · Apr 16, 2012 at 06:24 PM · textureshadersmaterialshighlighttargets

The Best Way to Highlight An Enemy

Hi,

I'm working my way through Burgzergarcade's most excellent "Hack N Slash" tutorials. His game is a 3D game but mine is 2D, but I have been adapting a lot of the scripts and it's working out pretty good. Right now I'm working on targeting. You might say "Why would you need targeting in a 2D BeatEmUp?" Well, it's hard to explain. Anyway -- he changes the material color on his targets which seems to work, but I'm using sprites and looking for something a little different. I've been doing research and there seems to be multiple ways to do this: changing the shader, using a projector, changing the texture, etc.... But I'm not sure how to proceed. It seems as though projectors are more for 3D games and plus I don't really want fancy effects as it's a hand-drawn game. I'm a little unclear about shaders and how they work, though I have been reading -- but I don't know if one will work with the look of my game. I've also considered changing the texture, maybe to a different version of the sprite, or a bigger version, or maybe making it pulse.... I don't know. If you were making a hand-drawn game, which would be a simple but elegant solution I can research that's effective but not loud? With Unity it's like the possibilities are endless, and that's kind of the problem here.

Does anyone have any advice on how I might proceed? My brain can't seem to wrap around the obvious on this one.

Thanks for reading. This is a pretty integral feature of my game.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image meat5000 ♦ · Jun 03, 2014 at 01:32 AM 0
Share

-1 Answers Bug

1 Reply

  • Sort: 
avatar image
0

Answer by Matt-Downey · Apr 16, 2012 at 08:01 PM

I think the best thing for a 2D game would be to add a particle effect to simulate a glowing aura. http://unity3d.com/support/documentation/Manual/Particle%20Systems.html

If you were to use 3D (doesn't seem like it) you could outline your targeted model with this shader: http://www.unifycommunity.com/wiki/index.php?title=Outlined_Diffuse_3 (thanks to AnomylousUnderdog).

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image sneenlantern · Apr 16, 2012 at 08:11 PM 0
Share

hey thanks for replying. Yeah, I was considering a particle effect. Does that really increase the CPU usage, etc.? I wouldn't want to tax the system too much just for this.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

is it possible adding text in realtime using shadergraph? 0 Answers

How do I properly apply a transparent texture to a mesh? 2 Answers

How to make a Diffused Shader on top of a Vertex Shader? For Billboard Sprites to show in front of 3D Meshes. 0 Answers

Is it possible to make an image sequence into an animated normal map? 0 Answers

Best Practice to Combine many textures 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges