3 Replies - 851 Views - Last Post: 13 September 2013 - 04:08 PM Rate Topic: -----

#1 bboyzeez   User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 143
  • Joined: 16-December 12

Unity4 - GUI problem - castle defence game

Posted 12 September 2013 - 04:10 PM

hi all , so im playing around with unity to make a pretty simple castle defence game...atm i am doing everything basic to make sure i know what needs to be done then go through improving each section as i go...


i am talking this through as i am at work right now and theoretically speaking so when i get home i can try this but by then hopefully if something has a better method for doing something then ill read replies by time i finish work (7 hours from now)

the first problem is i have an empty gameObject which is the GUI which ye... holds the GUI for the game i have so far a button now in castle defence games you would select the weapon then a copy of the weapon will follow where the mouse goes until the mouse is clicked in a available space for the weapon....

i will try on the click to instantiate a cube for now(weapon) and trying to update its position to where the mouse is on screen. through the weapons own script using some sort of buymode

are there any good tutorials for good GUI as i imagine the basic unity gui isnt the most impressive?

Is This A Good Question/Topic? 1
  • +

Replies To: Unity4 - GUI problem - castle defence game

#2 aaron1178   User is offline

  • Dovakiin, Dragonborn
  • member icon

Reputation: 170
  • View blog
  • Posts: 1,310
  • Joined: 22-October 08

Re: Unity4 - GUI problem - castle defence game

Posted 13 September 2013 - 12:50 AM

Do you mean designing GUIs or implementing a GUI into unity?

http://docs.unity3d....gui-Basics.html - Scripting a GUI and Controls

http://docs.unity3d....ss-GUISkin.html - GUI Skins

http://www.youtube.c...h?v=H4Tpaq6D5cI - Creating a GUI in Photoshop and Unity3D

This post has been edited by aaron1178: 13 September 2013 - 12:54 AM

Was This Post Helpful? 3
  • +
  • -

#3 bboyzeez   User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 143
  • Joined: 16-December 12

Re: Unity4 - GUI problem - castle defence game

Posted 13 September 2013 - 07:26 AM

well ideally id like to have a go at creating one which i see your link so happens to show :) thank you very much
Was This Post Helpful? 0
  • +
  • -

#4 aaron1178   User is offline

  • Dovakiin, Dragonborn
  • member icon

Reputation: 170
  • View blog
  • Posts: 1,310
  • Joined: 22-October 08

Re: Unity4 - GUI problem - castle defence game

Posted 13 September 2013 - 04:08 PM

Not a problem at all, remember, GUIs are a wonderful thing in a game, so make it creative and unique :)
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1