First off I am making a game aid for a table top RPG called HARP (High Adventure Role Playing). I plan to use Unity for a few different game aid projects.
A few things about me and my limited coding experience.
First I am completely new to Unity and somewhat new to Javascript. I guess you could say I started many many years ago in the late 90’s with developing a full fledged character for the game Rolemaster in MS excel. The sheet was pretty expansive with a hundreds (if not thousands) of formulas and look ups. A few years ago I developed a HARP character sheet also in excel. In the last two years I discovered a program called Maptools and was able (with help from the forums) to develop the frame work for the game HARP along with a few tweaks like combat using my (a little more complex) combat tables. I then discovered a program called Hero Lab and was excited to possibly be able to develop a character generator in that system. I seriously tried. But the terms they use in that program are far from easy to figure out the references for. Then I turned to a PDF. At first I was just looking for something that would help with character creation. but the project grew into a full fledged character sheet. The only problem is the interface on a PDF is not very good for the end user and in many cases (like Acrobat) the PDF runs so poorly that it is not even worth it to try (which is why I recommend Foxit). Either way this brings me to my current project of developing a program that is particularly designed to create characters.
That’s about it. I know it is not much but it helps.
I also tend to pick up on things as I am doing them vice watching a lot of tutorials. It is just the way I learn better. I am going through the tutorials though they tend to be more focused on the 3d aspect of Unity than anything else.
Now about my projects. I have a few different projects I’d like to make. They are:
A character generator. I need to start with the layout first. I will need a tabbed interface to represent the various sections of character design. I also have a specific format and layout that I need for the print sheet. Please note that I already have this character sheet made in PDF format. I will basically have to convert some of the Javascript to work in the format that Unity uses.
An action and damage tracker that will work on my player’s phones, tablets, and laptops. I would like these to connect to my laptop or tablet to help keep better track of things and to also possibly have automated combat. This project will obviously need to work over various platforms, i.e. WIndows, Android, and Apple.
So starting with project one my first step is the layout and interface. I need to know how to develop the layout, in particular the tabbed interface and creating the input boxes and the graphical interface.
Could someone point me at a specific tutorial that could help me at least get an understanding of what I need to do in creating the tabbed interface? After the tutorial I will of course have some questions.
Maybe that was to long…
Can someone please help me to create the layout for my project?
A good tutorial will help and I’ll have some questions afterwards.
I need to know how to make a tabbed interface where the different tabs are the different aspects of character creation.
Thanks ChuanXin! I started with the actual video you posted but got lost because I can’t find how to add the UI textures like he did early in the video. My interface is different than his and I do not have the same things showing up he does to do the what he does.
I may start with the UI tutorials tomorrow (in order) as I think that might help better.
Thanks vakabaka!
I am in the process of creating my first test panel. I will be setting up the layout first and then getting into the scripts which is always fun. But the first issue I have run into is fonts. Do I need to download the fonts from the Unity asset store or can I load them up from my PC? I have specific fonts that I need to use for this project and would like to use those fonts. In particular Korigan ITC light and Warnock Pro. I believe one of these is a licensed font but I don’t remember which one…lol.
Bruce
EDIT: Also, how do I change the color and effects of the UI components like text and input boxes. I would like to add a color to the text box and make the input box look recessed and change the color of the inside of the box along with maybe adding a border…
Instead of adding another edit…
I found the GUI texture to add to the text box. But for some reason I can’t get the color to show up.
While I am at it, is there a way to load a texture into Unity from my PC? If so what formats does it take?
Here I was wondering why I have not received any replies. I posted a reply days ago and it did not show up for some reason. I will respond with what I remember that I put down.
So far I have not been able to get the .jpg to show up. I imported the image and created a GUI texture for the canvas and then loaded up the image into the texture spot but it does not change anything visually (either in the game or scene tab). I am not sure why this is not working.
I also can’t figure out how to change the color of the text boxes I put in the scene. They are currently clear though the text does show up if any is placed in the box.
How do I change the font size and type in the input boxes? I have not been able to find anything on that. Currently the text for the input boxes is really small.
try set position x and y to 0.5 (middle of the screen) in “transform” of gui texture object (all variables in “GUI Texture” should be 0. As said, you can see it only in game tab (i dont know why ). And do you realy need gui texture ? Try it with ui-image.
if you will box for text, so just add gui image, and set it the same size as text objext. Maybe make text child of this image (for order in layer you can move ui objects up or down in hierarchy). Then you can change color of this image.
maybe has input field children, where you can adjust it text ? Sorry, i have never used input fields.