Hey everyone. I’ve been making games for a while using other frameworks that were designed for non programmers. I’ve jumped head first into Unity and I’ve been watching tons of videos, reading the forum posts etc. and just learning as much as I can over the last 2 weeks. One of my main goals is learning how to program. I’m working on it as much as possible and making good progress. (Haven’t done any since BASIC and obviously, that was a while ago.)
I could really some help getting pointed in the right direction. There’s a few pretty basic concepts that I’m having trouble wrapping my head around.
So I’m basically making a simple game that uses text and pixel art.
What I’m struggling with is how to display my text and images on a plane and have them change when certain variables change.
The flow would be like this.
The player starts the game and selects a destination from the map. This changes the location variable to, let’s say, “X”.
When my location variable is “X”, my displayed text is “X” and my displayed image is “X”.
When the player clicks a different location on the map, we change the location variable to “Y”.
When location variable is “Y”, my displayed text is “Y” and my displayed image is “Y”.
Logically very simple stuff, but I’m struggling with the implementation in Unity.
So how do I display text in a plane (if that’s indeed what I would use) and have it change depending on the players location.
logic wise, if location=x, print “blah,blah,blah” and have it wrapped in the plane/box?
Sorry if that was too much info, or not enough. lol and thanks in advance. At this point, the text part is really what I most want to learn.