XNA Creators Club Online
Page 1 of 1 (4 items)
Sort Posts: Previous Next

Creating enviroments

Last post 08-26-2008 1:48 PM by jakeL. 3 replies.
  • 08-24-2008 7:24 PM

    Creating enviroments

    Hi

     I've tried looking about the forums but have had no luck in finding what I need. Basically I want to know if I'm limited to what external program I can use to create the required elements to my game.

     I mean can I use UnrealEd to make my map or can I use the paint program that comes with vista to make something for a 2d space sim?

    Your help and advice on this would be great

      Thanks

     

  • 08-25-2008 10:13 AM In reply to

    Re: Creating enviroments

    For 2D you can use a paint program or you can use a 3D modelling application. Most 3D apps let you place cameras, so you can place an object and take pictures of it, its quite a nice technique to use if you want the the images to have lighting effects added to them. The other thing is to know about the app you're using, if there isn't a way to load the data into your game then you'll more than likely have to create your own loader, a raw file from terragen just holds height values but you would know the width and depth of the map so you can use the information to set the height of a vertex at a given position.

    XNA has two default 3D file formats, .X and .fbx, anything else and you're going to have to do some research.

  • 08-26-2008 10:33 AM In reply to

    Re: Creating enviroments

    it's all about the export format.

    not sure what 3d formats xna accepts but presumably it accepts the directX 3D format (is it .X?) and i heard that it natively supports .3ds export format (3ds max export format) most 3d editors. blender included support export scripts and blender ships with a .3ds export script.

    as for unreal editor... i know nothing about it. or what export formats it supports. but i assume that its specifically for Unreal games and games running on the unreal engine. so presumably you cant use it. however there could be converters..

    2D images are easy.. any .bmp (bitmap) or .jpeg (forget the acronym) but I prefer .png (portable network graphics) good compression with an alpha channel. you can use the printscreen button to capture anything on your computer screen and fairly well convert between image formats. be warned about lossy and loss-less conversions. both jpg and png are lossy (they will discard some image data in order to reduce size.. not enough so you'd notice any difference but it can screw up alpha maps) bmp is loss-less it holds the entire image as-is but generally has larger filesize.

    movies are also freely convertable. run-down of movies is you have a container (.avi .divx .mov etc...) then within the container is a video stream (h264 by mpeg is a good favourite) and an audio stream (.wmv .mp3 etc..) you can convert between them with ffmpeg. dunno how good you are with linux. doesnt work on windows because visual studio doesnt conform to international standards. though apparently some people have got it to work. check out sourceforge. anyway ffmpeg pretty much can convert any container format video stream and audio stream so you can use it for video and audio. and its free.

    hope that helps...

    D.R


  • 08-26-2008 1:48 PM In reply to

    Re: Creating enviroments

    If you are going to build a 2d space sim, UnrealEd would not be a good choice to build maps, as it is used to create 3d maps. If you are going to make a 2d game, then you could use any paint program available to you to create your sprites, tiles, background images etc.

     Also, I haven't used Unreal Ed, so I don't know what file format exports to, but like others have said, XNA natively imports .X and .FBX. I'm sure there are converters out there or you can possibly write your own content processor to import Unreal Ed's format if you wish to use 3d maps.

Page 1 of 1 (4 items) Previous Next