maandag 18 februari 2013

Designing and building an interface

Hi guys,

Today I'm going to show you some tips and tricks on how we design and build our interfaces here at Xform.
Always start with a good game and interface design document before starting the interface design in Photoshop. You need to have a good idea of all the elements that need to be displayed on screen and also when an interface element is displayed.

When I setup a file I always start by creating layer folders and sub folders in Photoshop. As you can see in the right column in the image below, I've created an Interface folder which contains all the elements of the interface in sub folders. This makes it easy to turn separate or unique interface elements on and off. This also prevents me from cloning a lot of graphic elements which are used in multiple screens, like the speedometer.

When all screens are done I setup layer compositions (left column of the image below) to make it even easier to switch between all the possible interface screens. Setting a layer compositions doesn't actually change anything in your Photoshop file, it only remembers which layers have to be turned on or off when it's selected. Don't forget to use this tool, it can save you a lot of time!

Interface mock-up in Photoshop 

When the mock-up is approved it's time to turn the interface elements into a compact texture. Here I've chosen to work with an 512x512px texture. All the elements I need are placed in a grid of 16x16 pixels. It's very important for me to work inside this grid since we'll use the same mesh grid in 3ds Max.

512x512 px texture. Photoshop grid size 16x16px
 
The final textures will be imported in 3ds Max and placed on a plane of the same dimensions: 512x512 units. To "recreate" the Photoshop grid we set the length and width segments to 32x32, which creates squares of 16x16 units. This makes it easy for me to cut-up the plane into separate interface elements.

512x512 px texture on a 512x512 units 3D plane divided in 32x32 segments

The elements are set into place in an orthographic view using the original Photoshop image as a template. Although the interface is created in a 3D software program it'll still be displayed as an 2D interface. Therefore we use an orthographic view instead of an perspective view.
As you can see in the lower part of the image below the elements are ordered in 3D space, but will be rendered in game as seen in the top area of the image below. The white boxes on top of the interface are used to display dynamic text, like weapon and enemy names.

Interface in 3ds Max. Top orthographic view. Bottom Perspective view.
 
When the max file is done our programmers will have to make the interface work in game. And there you have it... a working interface!
 
Final in-game interface

Cheers,
Matt

16 opmerkingen:

  1. I have been surfing on-line more than 3 hours these days, yet I never discovered any attention-grabbing
    article like yours. It is pretty worth enough for me.
    In my view, if all webmasters and bloggers made just right content material as you did, the
    net will likely be much more helpful than ever before.


    My webpage: Lift and glow Pro

    BeantwoordenVerwijderen
  2. Thank you for another informative web site. The place else
    may just I am getting that kind of info written in such a perfect manner?
    I have a undertaking that I'm just now operating on, and I've
    been at the glance out for such info.

    Feel free to surf to my web-site :: online pay day loans

    BeantwoordenVerwijderen
  3. Your style is very unique compared to other people I have read stuff from.
    Thank you for posting when you've got the opportunity, Guess I will just bookmark this page.

    Money from home

    BeantwoordenVerwijderen
  4. Very good info. Lucky me I recently found your website by accident (stumbleupon).
    I've bookmarked it for later!

    Feel free to visit my page Saffron X Supplement

    BeantwoordenVerwijderen
  5. Hi, I think your site might be having browser compatibility issues.
    When I look at your blog site in Ie, it looks fine
    but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up!
    Other then that, wonderful blog!

    My site Muscle Core X

    BeantwoordenVerwijderen
  6. Heya i am for the first time here. I came across this
    board and I find It truly useful & it helped me out a
    lot. I hope to give something back and aid others like you
    helped me.

    Feel free to surf to my blog - Slim Lipo Plus

    BeantwoordenVerwijderen
  7. Hi there, I enjoy reading through your post. I like to write a little comment to support you.


    Have a look at my webpage: Buy green coffee

    BeantwoordenVerwijderen
  8. Hi to every one, the contents existing at this site are truly awesome for people
    knowledge, well, keep up the nice work fellows.

    my weblog :: Raspberry Ketones Max

    BeantwoordenVerwijderen
  9. Hi just wanted to give you a quick heads up and let you know a few of the images aren't loading correctly. I'm not sure why
    but I think its a linking issue. I've tried it in two different web browsers and both show the same results.

    Look into my site ... Green Coffee Diet

    BeantwoordenVerwijderen
  10. I do not even know how I ended up here, but I thought this post was good.
    I don't know who you are but definitely you are going to a famous blogger if you are not already ;) Cheers!

    my page: garcinia cambogia reviews

    BeantwoordenVerwijderen
  11. Amazing issues here. I'm very happy to peer your article. Thanks so much and I am having a look forward to contact you. Will you kindly drop me a e-mail?

    Stop by my web-site ... Xength X1 Free Trial

    BeantwoordenVerwijderen
  12. Hello there! I could have sworn I've visited this site before but after browsing through a few of the posts I realized it's new to me.
    Nonetheless, I'm certainly happy I came across it and I'll be bookmarking it and checking back regularly!




    http://worlddominationcommittee.org/MyWiki/MitchellM

    Take a look at my page buy Garcinia Cambogia

    BeantwoordenVerwijderen
  13. a week and also transform your physique very quickly. During your resistance training workouts, you should practice fascial stretching.
    How to build muscle fast for men is through training in the
    gym or field.

    Also visit my website; Power Pump XL Reviews

    BeantwoordenVerwijderen
  14. Very soon this website will be famous amid all blogging and
    site-building visitors, due to it's good articles or reviews

    my webpage; aladdin bail bond

    BeantwoordenVerwijderen
  15. Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading.
    obat aborsi balikpapan , samarinda , bontang , tarakan , berau tanjung redep , bulungan tanjungselor , kutai barat sendawar , kutai kartanegara tenggarong , timur sangatta , malinau , nunukan , paser tanah grogot , penajam paser utara penajam , tanah tidung tideng pale
    obat aborsi boalemo marisa / tilamuta , bone bolango suwawa , gorontalo utara kwandang , pohuwato marisa
    obat aborsi makasar , palopo , parepare , bantaeng , barru , bone watampone , bulukumba , enrekang , gowa sunggu minasa , jeneponto , kepulauan selayar benteng , luwu palopo , luwu timur malili , luwu utara masamba , maros , pangkajene , pinrang , sidenreng , rappang sidereng , sinjai , watan soppeng , takalar , tana toraja makale , toraja utara rantepao , wajo sengkang
    obat aborsi bombana rumbia , buton bau-bau , buton utara buranga , kolaka , kolaka utara lasusua , konawe unaaha , konawe selatan andolo , konawe utara wanggudu , muna raha , wakotobi wangi-wangi , kendari
    obat aborsi kota palu , banggai luwuk , banggai kepulauan banggai , buol , donggala , morowali bungku , parigi moutong parigi , poso , tojo una-una ampana , toli-toli , sigi biromaru
    obat aborsi manado , kabupaten bulaang mongondow katamobagu , bolaang mongondow selatan bolaang uki , bolaang mongondow timur tutuyan , bolaang mongondow utara boroko , kepulauan sangihe tahuna , kepulauan siau tagulandang biaro ondong siau , kepulauan talaud melonguane , kabupaten minahasa tondano , minahasa selatan amurang , minahasa tenggara ratahan , minahasa utara airmadidi , bitung , kotamobagu , tomohon
    obat aborsi kabupaten majene , mamasa mamasa , mamuju , mamuju utara , pasangkayu , polewali mandar
    obat aborsi ambon , kabupaten buru namlea , buru selatan namrole , kepulauan aru obo , maluku barat daya tiakur , maluku tengah masohi , maluku tenggara tual , maluku tenggara barat saumlaki , seram bagian barat dataran hunipopu , seram bagian timur dataran hunimoa
    obat aborsi kabupaten halmahera barat jailolo , halmahera tengah weda , halmahera utara tobelo , halmahera selatan labuha , kepulauan sula sanana , halmahera timur maba , pulau moratai , ternate , tidore kepulauan soasiu
    obat aborsi kota jayapura , asmat agats , biak numfor biak , boven digoel tanah merah , deiyai tigi , dogiyai kigamani , intan jaya sugapa , jayapura sentani , jayawijaya wamena , keerom waris , kepulauan yapen serui , lanny jaya tiom , mamberamo raya burmeso , mamberamo tengah kobakma , mappi kepi , merauke , mimika timika , nabire , nduga keyam , paniai enarotali , pegunungan bintang oksibil , puncak ilaga , puncak jaya kotamulia , sarmi , supiori sorendiweri , tolikara karubaga , waropen botawa , yahukimo sumohai , yalimo elelim
    obat aborsi kota sorong , fakfak , kaimana , manokwari , maybrat kumurkek , raja ampat waisai , sorong selatan teminabuan , tambrauw fef , teluk bintuni , teluk wondama rasiei

    BeantwoordenVerwijderen