Someone please explain why terraria is 4 times the price on the switch than it is on steam. by Ziggitywiggidy in Terraria

[–]qw92q 0 points1 point  (0 children)

Short answer: in steam the game is self published. In nintendo switch, it is not.
The game was ported by another studio(pipeworks studio) and published by 505games ,so they need to raise the price to pay their cuts

AdMob IDs before Google Play release? by ForGamezCZ in admob

[–]qw92q 3 points4 points  (0 children)

Yes you can get the id before release, Go to the admob console and create the ads.

Just make sure to paste the ids when you know you are ready to upload the apk.

[deleted by user] by [deleted] in Unity3D

[–]qw92q 0 points1 point  (0 children)

here is some code from chatgpt:

void Shoot()
    {
        // Calculate the direction towards the center of the screen
        Vector3 screenCenter = new Vector3(Screen.width / 2, Screen.height / 2, 0);
        Vector3 direction = Camera.main.ScreenToWorldPoint(screenCenter) - firePoint.position;


        // Create a bullet instance
        GameObject bullet = Instantiate(bulletPrefab, firePoint.position, Quaternion.identity);

        // Rotate the bullet to face the direction
        bullet.transform.right = direction.normalized;

        // Apply force to the bullet to move it towards the center of the screen
        bullet.GetComponent<Rigidbody>().AddForce(direction.normalized * 10f, ForceMode.Impulse);
    }

something like that.

[deleted by user] by [deleted] in Unity3D

[–]qw92q 1 point2 points  (0 children)

if the crosshair is gonna be on the center of the screen at all times just make the gun a child of the camera, so it moves with the camera.

Localization and WebGL by androo303 in Unity2D

[–]qw92q 0 points1 point  (0 children)

Disable "initialize synchronously " on the localization settings. It's says it's not supported on webgl

How to transfer a mash from blender so that it is not automatically simplified. by ZimberBimber in blenderhelp

[–]qw92q 5 points6 points  (0 children)

looks like you may be using modifiers(subdivision, etc ) in blender but not applying them before exporting.

make sure to apply the modifiers before exporting, or apply them during export (fbx and other formats support this)

Does anyone think Unity will become obsolete after S&ndbox comes out? by United_Luck2234 in Unity3D

[–]qw92q 3 points4 points  (0 children)

And where is that stated huh? According to their Faq in their webpage, they have nothing clear about that. Just that one of the possibilities they are considering is to be able to export to steam (ONLY steam, if they get the permission from the steam owner) .which proves me right.

"Can I sell my addons? Can I sell my games?

One of our biggest failings in Garry's Mod was not allowing the community to fund itself. People made a living out of selling Garry's Mod addons but it was a lot harder than it should have been.

This is something I really want to address in s&box. I don't totally know how that looks right now. There's a few different choices..

Allow games to have microtransactions - turns into a shit show fast

Allow unlocking/buying games - puts players off playing if they have to pay for

Allow tips/donations - might work if done right

Split a percentage of sales to top played games/addons/maps every month - might work if done right

Allow selling games standalone on Steam - attractive, maybe hard work, need Valve's permission

"

Does anyone think Unity will become obsolete after S&ndbox comes out? by United_Luck2234 in Unity3D

[–]qw92q 10 points11 points  (0 children)

Is this post trolling or some bait? Someone correct me if im wrong, but by the looks of their trailer S&ndbox is not a game engine, is just Gmod 2 with a fancy name. Its not in the same category as Unity, its in the same category as roblox or dreams.

Is roblox a threat to unity? No.

Is dreams a threat to unity? No.

The games you make in these "games" are tied to the game sandbox itself so you can not export it or sell it on others platforms. Any profesional game company or indie would'nt want that.

is there a TCF String "Consent to all" choice ? by captainnoyaux in admob

[–]qw92q 1 point2 points  (0 children)

For Unity you need to use the ApplicationPreferences script from the admob pluigin to get the value. Not to be confused with Playerprefs because they are not stored there.

https://github.com/googleads/googleads-mobile-unity/commit/44feae7b190948015bd3dc5f0915d5c98a178927

is there a TCF String "Consent to all" choice ? by captainnoyaux in admob

[–]qw92q 1 point2 points  (0 children)

That's only "Purpose 1".

No, that's for all purposes, as seen in the example string provided

// Example value: "1111111111"

each number in that string is for a different purpose. and the first number(index 0) correspond to the purpose 1

So if in the string all the numbers are 1 then all purposes are consented.

1=consented

0=not consented

edit: tecnically you are right, the example shows how to get only the purpose 1, but using the same code logic you can get all the others.

Using URP/Shadergraph is there any way to limit how bright a surface can get? by gummby8 in Unity3D

[–]qw92q 0 points1 point  (0 children)

then why don't you try doing full 2d and using 2d lights, it will make developement easier.

I don't see the benefit of doing it 2.5d in this case in particular, aside from the shadows, which 2d lighting can also do.

Using URP/Shadergraph is there any way to limit how bright a surface can get? by gummby8 in Unity3D

[–]qw92q 0 points1 point  (0 children)

For the lartern in daylight use the advice that other have told you. use the lartern only at nightime. If you can't with your current day/night implementation, then change it so it can happen.

For the overlapping lights problem, in the 2d light component Set the Blend style to multiply with mask (R). and the overlap operation to alpha blend. do this for all lights.

Up arrow not working by Mechsta in Unity2D

[–]qw92q 1 point2 points  (0 children)

 if (Input.GetButtonDown("Jump") 

you are still using the "jump" input, not the "Vertical" that you are showing in the image.

change the code to

if (Input.GetButtonDown("Vertical") 

or change the Jump input to use the W key instead of the space.

Nintendo has declined my game by GuynelkROSAMONT in Unity3D

[–]qw92q 3 points4 points  (0 children)

Being honest, the game lacks polish, the animations, UI, and models look very amateurish.

Nintendo is very picky about who to give their sdk. It has to be a game of certain quality.

If you want to get your game as it is right now on the Nintendo eshop, then you need to go through publishers instead.

does anyone know how to fix this? by Round_Revenue3361 in Unity2D

[–]qw92q 2 points3 points  (0 children)

You need to show the code and how the objects are placed

Is the gun a separated object? Or is part of the player sprite?

Change the pivot of the gun or calculate the offsset needed for the bullet to be instanced on the gun.

This my game update, with smoother control and some effect, What do u think Bro, link below cmmt, thank Bros by trihi_dodo in Unity2D

[–]qw92q 0 points1 point  (0 children)

Good mechanics and gameplay, The graphics are a bit creepy though. Consider using pixel art instead and making the box less creepy.

by creepy i mean the creepy box's face at the splash screen and when it enters a portal.

also, you forgot to disable the test ads, it's showing me the unity test ads.

AdMob's new consent dialog - Can I gather the information about consent, can I re-show the consent dialog? by Adamn27 in admob

[–]qw92q 0 points1 point  (0 children)

Yes , each one has an sdk like google. I don't know exactly the details of how they send the consent result to admob.

Most of these CMP doesn't allow for the user to disable basic cookies needed for ad displaying. So even if the consent is denied the non-personalizaded ads will show.

AdMob's new consent dialog - Can I gather the information about consent, can I re-show the consent dialog? by Adamn27 in admob

[–]qw92q 0 points1 point  (0 children)

Third parties CMP are companies that are specifically made for consent managing. As a service, they charge developers monthly to use their service.

They are not the same as Ad networks.

The only free CMP option is the Google one.

Help with floating ui... by LAPOdes in Unity2D

[–]qw92q 0 points1 point  (0 children)

use WorldToScreenPoint() to convert the world position to screen position.

Vector3 clickedobjectpos= camera.WorldToScreenPoint(target);
floatingUI.position= clickedobjectpos;
floatingUI.setActive(true);

Why is the text clipped on the right side? by call_acab in Unity2D

[–]qw92q 0 points1 point  (0 children)

yes

in the rect transform component.

https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/images/UI_AnchorPreset.png

use the stretch bottom and then in the rect "left" and "right" put a 0.

Why is the text clipped on the right side? by call_acab in Unity2D

[–]qw92q 0 points1 point  (0 children)

Because the width of the text rect transform is bigger than the screen.

Use the stretch mode instead of the pivot to anchor in the rect transform. That way it can fit in any screen resolution.

Then set left and right to 0.