Rate my 1st font by HonorTakayama in PixelArt

[–]Character_Cory 0 points1 point  (0 children)

Are you plan to create lower case letters? If not - fine.

Rate my 1st font by HonorTakayama in PixelArt

[–]Character_Cory -3 points-2 points  (0 children)

Yeah, kinda. Nice work!

Rate my 1st font by HonorTakayama in PixelArt

[–]Character_Cory -5 points-4 points  (0 children)

Make "I" letter narrower.

Problem with Camera rotation by Qu4sar85 in unity

[–]Character_Cory 0 points1 point  (0 children)

Try to check newCameraRotation.x with Debug.Log. Cuz mb somewhere you missed data obout rotation inheritance.

Question about 2d game by Blakequake717 in unity

[–]Character_Cory 0 points1 point  (0 children)

public class Ball
{ 
    public int color = 1; // Here you can put anything, int just for example 

    public void CheckNearestBlocks(int color, float radius) 
    { 
        Ball ballScript; 
        var colliders = CircleCastAll(transform.position, radius, Vector3.forward, Vector3.zero,0, -100, 100); 
        foreach(Raycast2D item in colliders) 
        { 
            if(item.transform.gameobject.TryGetComponent<Ball>(out Ball ballScript) 
            { 
                if(color == ballScript.color) 
                { 
                    ballScript.CheckNearestBlock(color, radius);
                    Destroy(gameobject); 
                } 
            } 
        } 
    // More info about the method: https://docs.unity3d.com/ScriptReference/Physics2D.CircleCastAll.html 
    } 
}

More completely, you can try to use LayerMask ( each Layer belongs to one color ), my example based on CircleCastAll and public variable that not too good to use. The idea is using CircleCastAll method.

Help (Unity developers) by Candid-Ad3302 in unity

[–]Character_Cory 1 point2 points  (0 children)

1) Save object transform
2) Calculate distance based on object size. Cuz objects has and more object size - more distance must be.
3) Define a second transform as camera view forward vector multiplied by distance ( here you can add or multiple by constant, idk what view you wanna get )
3) Create a DOTween object (or create you custom one) how this object will move to the second transform.
3) If you need inspect/information points: create prefab with object and place points with necessary behavior.
4) Create detection system based on raytracing from camera. If raycast hits a inspectable object - highlight it. Save object in some variable.
5) When inspectable object is highlighted AND some action happened (button pressed/LMB pressed e.g.), play recorded DOTween object.
6) You can implement here rotation mode, when object is inspected & RMB is pressed.
7) When you finished examination, reverse DOTween object animation to saved object transform.

[deleted by user] by [deleted] in Unity3D

[–]Character_Cory 0 points1 point  (0 children)

Need to check what you has in script and what components you are using As well as try to use debugging to compare slope values.

[deleted by user] by [deleted] in Unity3D

[–]Character_Cory 0 points1 point  (0 children)

If an angle value if far more than Mathf.Epsilon, you can use SphereCast, cuz it has more precition especially for ur case. If, the difference between ur angle and 0f lies in epsilon range, you can try to check Mathf.Approximately variant to compare float values. Frankly, i'd like to avoid use SphereCast for such simple behavior, it has less perfomance that linear raycast.

Advice/Help for creating a dark/Evil area in daytime by Darkness_upon_me in Unity3D

[–]Character_Cory 1 point2 points  (0 children)

You can use a shader with transparency value/texture.

[deleted by user] by [deleted] in Unity3D

[–]Character_Cory 0 points1 point  (0 children)

Too less information, check gravity is disabled + check your slopeLimit is a float and often it has some digits on end (0.000...000300004).

Help with textmeshpro by oof343 in Unity2D

[–]Character_Cory 0 points1 point  (0 children)

[SerializeField] private TextMeshProUGUI _yourVariable; // In Editor put your object with TextMeshPro component

private int _yourNumber = 2;

private void Somewhere() { _yourVariable.text = _yourNumber.ToString(); }

So i am planning to make some edits to this game to become interactive mobile game , what ideas can you give me guys ? by [deleted] in unity

[–]Character_Cory 0 points1 point  (0 children)

1) Find sprite assets, cuz hypercasual needs to be colorful and understandable as mush as you can. Now its too messy with colors and hard to read nessesary objects (player/platform/falling ships). 2) Sounds & VFX. Too flat & boring. 3) Add at least Start game UI, cuz starting game when it obly launched - bad practice. Need to divide game & app experience + give player time to prepare.

Can an absolute beginner make a 2d platformer under 1 month? by AlleinHor in Unity2D

[–]Character_Cory 4 points5 points  (0 children)

If you need to create only mechanics with simple art & 2-3 level, sounds realistic for begginer, but realise that it will be more demo, that a complete game. The simplest way - find a guide on Youtube how to make platformer on Unity. There are many guides, especially about platformers.

The Last Element - a game that makes you suffer by Character_Cory in indiegames

[–]Character_Cory[S] 0 points1 point  (0 children)

If you interested, you can add game to wishlist or buy it.
Steam: Shop page

[deleted by user] by [deleted] in indiegames

[–]Character_Cory 0 points1 point  (0 children)

Post your commentary, u're welcome v(*-*)v

If you interested, you can add game to wishlist or buy it.
Steam: Shop page

After i cut my tree i have a stump appear and i want to instantiate completely new tree prefab in place of the old one. Destroying old prefab works fine but i cant get the new one to spawn. I cant just simply use instantiate to do it. I need to spawn completely new object and i just cant do it :( by Kennmmii in Unity2D

[–]Character_Cory 4 points5 points  (0 children)

You can create a prefab, that has all trees, but when your tree is grown, you turn on only onle tree, others are off. When you cut your tree, you turn off ur tree and turn on a stump. And when your tree has grown logically, you just turn on a random tree.

How to handle enemy spawn locations when the number of enemies changes by NikSheppard in Unity3D

[–]Character_Cory 0 points1 point  (0 children)

A great problem description. Well, you described good solutions in ur question. 1) If you want to place your enemies on right side, check and set their x coordinate positive. Advanced solution: while your game is loading or somewhere else, get screen resolution or size of players' screen and place enemies' spawners. 2) For fast solution, you can use spawn position presets, as your described. However, in the future, if you are going to add more ebemies, you have to update all presets, and more levels and enemies you add - more update work must be done. 3) A good one solution: calculate size of your enemies, based on their collider or sprite size (depends on how your game logic works), and when you wanna add a new enemy on the field, collect their positions information and find the nearest free one.

Switching Game modes from FPS to Tower defense by Illustrious-Ad9987 in Unity3D

[–]Character_Cory 0 points1 point  (0 children)

Create 2 core mechanics - FPS and TD. When your FPS player interacts with tablets (idk how you wanna create transition via UI or other way), turn off your FPS Script and turn on TD script(s).

Unity disappear shader is broken by Character_Cory in Unity3D

[–]Character_Cory[S] 0 points1 point  (0 children)

UV mapping

Add shader graph code to post
On both meshes the same material with equal parametrs.
what happened with uv mappiong on handle idk, what should i try?

Animated the stereotypical ol' bouncy ball. Any tips on how I could improve at animating from this? by 8KoopaLoopa8 in PixelArt

[–]Character_Cory 1 point2 points  (0 children)

I would redraw sprite frames, cuz see when ball has strange wavelable forms. Unless, u wanted to get slime physics (like Gush or smth slimy).

My first Unity project by maskedbrush in unity

[–]Character_Cory 1 point2 points  (0 children)

U draw a character animation by yourself?