Subscribe to GameFromScratch on YouTube Support GameFromScratch on Patreon

2. October 2011

 

This is a pretty common gotcha when working with Unity, but it’s so damned annoying it’s worth bringing attention to it.very-small-baby

 

If you export an FBX model, in this case from Blender, into Unity it might be really really really really tiny, even though you set it’s size up appropriately in Blender before exporting.

 

This is caused by the FBX importer in Unity, which for some reason imports at a scale of 0.01.  Why?  I’m not sure anyone knows, but if you encounter this problem be sure to check this first.

 

Click your imported model in the project panel.

In the Inspector, scroll down to the (FBXImporter) section.

Locate Scale Factor and change it to 1.

 

image

 

 

Now your model should appear… normal sized.  Remember by default 1 == 1 meter.

Programming, Art , ,

1. October 2011

 

 

I love Blender, but one of the hands down most irritating things is the default hotkey for switching between Vertex,Edge and Face editing modes.  CTRL + TAB + 1/2/3 is just too many keys for something common.  Fortunately Blender 2.5x adds the ability to define hotkeys, but it isn’t as easy as you might expect.

 

 

The steps:

 

Press CTRL + ALT + U to bring up user preferences.

 

Select the Input Tab

 

Scroll down and expand 3D View –> Mesh, like such:

image

 

Click the Add New button:

image

 

 

Add the following three entries:

 

image

 

 

In my case I am using a Mac keyboard, which has an F16, F17 and F18 key above the numberpad.  You can use whatever value you want ( that aren’t used in Mesh mode already). 

 

The value entered in Context Attrib is “tool_settings.mesh_select_mode”.  The Value: fields represent what modes to enable, vertices, edges and faces in that order.  So True, False, False says to enable Vertices, but not Faces or Edges.

 

 

Now, voila.  I click “Save as Default” and now I have a single hotkey for toggling between the editing modes.  I really should have done this ages ago.  In the meanwhile I learned the Blender customization is downright amazing.

Art

26. September 2011

Alright, so it happened 6 days ago, but today is the first time I noticed.

 

 

Blender's document has had a serious facelift.  The new version is much nicer and addresses one of the worst aspects of Blender, the so-so documentation.  The content is the same but now it is actually accessible. 

 

 

 

 

Art

25. September 2011

 

Ok, it actually has been live for a couple days and I forgot to post an update here, oops.

 

 

In this chapter we add animation to our PlayerPaddle class, including player keyboard input.  We cover off topics such as running at the same speed on multiple machines, dealing with protected member variables and using asserts.  Now, I’m off to write part 7.  I swear this is going to make the Guinness world record for the longest Pong tutorial ever!  I hope it’s been useful, please let me know any questions, recommendations or comments you have.

 

 

I proudly present Game From Scratch C++ Edition Part 6.

, ,

22. September 2011

 

 

Good news today for Mac users that were interested in developing with the Unreal Unreal Development KitDevelopment Kit (UDK, also known as the game engine used by people who didn’t select Unity ), there is now Mac OS support for UDK developed games.  For UDK developers that is pretty cool news, as it increases your customer base by an easy 5 – 10%.  That said, in Steam surveys, the average Mac GPU is still pretty lousy, but should be getting better with the more recent Mac releases.

 

As for other features in this update:

  • A new foliage editor
  • Dual Monitor support for iPad games via HDMI or Airplay
  • Decals now scale correctly when placed
  • Added texture import option for inverting green channel
  • Slightly increased the size limit of files when importing to 4096x4096x32
  • New button can remove all notifies from an anim set
  • Added editor comments for AnimNotifies
  • UnrealConsole now has text color coding for warnings and errors
  • New ambient sound spline actors emit sounds along paths for adding noise to rivers, roadways, etc. with a single actor

But the big news is easily the addition of Mac support.

 

Full release notes here or jump right in and download here.  Granted, its 1.5GB download and their servers must be taking a bit of a kicking as it is coming down extremely slowly for me.

 

So, if you didn’t choose Unity, this is all good news for you.  If you, like myself, did choose Unity, well…  yeah, nothing to see here.

General

Month List

Popular Comments