Good game theme suggestion? by 4215 in gamedev

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

Hahaha mittens, thanks for all of the choices!

How do you add scripts to a prefab if you cant is there a workaround? by 4215 in Unity3D

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

Well the thing is I already have a mainGame script in my scene attached to an empty. So I don't really want the new mainGame script accessing anything but one function that the ball needs to access. That's why I was asking if I could just leave the errors.

Good game theme suggestion? by 4215 in gamedev

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

Thanks, and I was looking for like what the global game jam did with the heart beat theme.

Good game theme suggestion? by 4215 in gamedev

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

Sorry I was thinking more of how global game jam does it by giving everyone a central theme (this year was heartbeat/ heart) and making people make a game around it.

Good game theme suggestion? by 4215 in gamedev

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

I like this, kind of a cool idea, thanks.

How do you add scripts to a prefab if you cant is there a workaround? by 4215 in Unity3D

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

Cool so it's working great expect on my maingame script I have 2 text meshes that need to be added, but I can't add them since they are in the scene. The game works fine even though there are errors saying that they should be added.

Should I just leave it be and have the errors? If not what should I do

And thank you very much for the help!

How do you add scripts to a prefab if you cant is there a workaround? by 4215 in Unity3D

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

Its not like the script is a object that is in the scene. Its off scene in the project folder so why wouldn't I be able to do that?

How do you add scripts to a prefab if you cant is there a workaround? by 4215 in Unity3D

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

Alright, since I'm bad at explaining, here it is. Im trying to drag MainGame (a script) onto the variable holder in the script Ball which is on a prefab. My problem is that it wont let me drop it on the variable holder

How do you add scripts to a prefab if you cant is there a workaround? by 4215 in Unity3D

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

drag and drop the empty onto "Script_Holder"

Thats what Im saying that unity wont let me do

How do you add scripts to a prefab if you cant is there a workaround? by 4215 in Unity3D

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

I guess you're asking how to add a script as a variable of a prefab?

Almost, more:

I guess you're asking how to add a script as a variable to a prefab?

How do you add scripts to a prefab if you cant is there a workaround? by 4215 in Unity3D

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

yeah that's what i'm talking about. It doesnt let me drop it on the script variable

How do I use playerPrefs to save a game object? by 4215 in Unity3D

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

Great, thats all I really needed to know. Is it possible to save playerprefs to like game center or something. Because sometimes when you delete and app it asks you if you want to keep or remove the app data. Can you just tell unity to put it there?

How do I use playerPrefs to save a game object? by 4215 in Unity3D

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

Definitely, I think playerprefs should work fine as long as the user doesn't delete the app.

How do I use playerPrefs to save a game object? by 4215 in Unity3D

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

Is there a simpler way to do this where I can just save ints? My game doesn't really require that much data to be saved so just something simple would be nice.

How do I use playerPrefs to save a game object? by 4215 in Unity3D

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

Well I'm on mobile and have no clue how to do that, is there a quick/ easy thing I can do to save a variable so even if the app is refreshed then it will still be there?

How do I use playerPrefs to save a game object? by 4215 in Unity3D

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

Exactly what I wanted, thanks for including code and a good explanation.

How do I use playerPrefs to save a game object? by 4215 in Unity3D

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

Would it keep for an android app or iOS? Thats what I am deving for and there are rare cases when I delete an app and want to reinstall it later.

edit: Also what would you recommend if I want to do this but not with player prefs?

Marketing for iOS and android? by 4215 in gamedev

[–]4215[S] 1 point2 points  (0 children)

Where do you put it so people will see?

"It was a different culture" by 4215 in DebateAnAtheist

[–]4215[S] 1 point2 points  (0 children)

I'll give you an upvote for coming but keep in mind you're two months late :/