Game Development Community

Rendering messed up

by Andreas Lybo · in Torque X 2D · 02/27/2011 (11:46 am) · 5 replies

So I am really new to the Torque X 2D, and do not have alot of experience. I Made myself a scene, but end up different when I debug the game. Anyone got a quick tip what to do :) ?

About the author

Recent Threads

  • Achievements
  • Newbie

  • #1
    02/28/2011 (12:44 am)
    Are you just getting a white image? If so you need to make sure that in Visual Studios you have added it to your project. Inside GameContent is an "Image" folder, right click and add existing item, select your image then try to debug again. Also you may want to check on some tutorials to make sure you have all your settings correct. A quick and easy tutorial that will show you how to add a background,characters, and movement is "So You Want To Make an Arena Shooter" https://sites.google.com/site/soyouwanttomakeanarenashooter/home

    This tutorial helped me in the right path. You may find some bugs or may need to update a few things if you are using the TX2D cev4.0 version and VS2010. I hope this helps.
    #2
    02/28/2011 (12:24 pm)
    Thanks for the reply, unfortunately it did not solve my problem. Previously stated I am fairly new to the language and the engine - Provided a picture of the error. Hope this is something that can be fixed easily! All help appreciated!

    http://postimage.org/image/1e6oh9umc/
    #3
    02/28/2011 (3:16 pm)
    Are you working in visual studios 2008 and in torque x 2d 3.15?
    #4
    02/28/2011 (10:27 pm)
    Got both Visual C# 2008 and VS 2010. And TX 3.1.5 yeah
    #5
    03/01/2011 (12:10 pm)
    with the TX 3.1.5 you will want to work only with VS 2008. Start a new project in VS2008 using the TX2D simple game template given with the game. Then after that is done build game. It should create a folder in your projects Folder within vs2008 folder. Open up the torque game from there, then load scene from the same folder. You will want to have TX2D builder open and VS2008 at the same time to speed up work flow. Once you have your scene loaded add the background to your scene, (save scene and project). Go into VS2008 and down to GameContent then to the images folder, right click add existing item, click on your background then add. You should be able to run it with no problems. The best backgrounds I have used have been .png and .jpg. I never messed with the tile maps at all. I simply create a background in photoshop or gimp image size 512x512 or for big images with a lot of detail 1024x1024. If i do not want stretching create 1 with the same aspect ratio as your camera. ex. 1080x720. Hope this helps.