beo6 Posted August 10, 2013 Share Posted August 10, 2013 Hello. After some longer break i am back to developing. And here is my first small problem i encountered. I want to draw an image into the background of the map. So i draw the image before i call world->Render(); But currently it draws only Black. i can overwrite the Black with camera->SetClearColor(1,0,0,1); (Alpha seems to do nothing) Thanks in advance for any hint. Quote Link to comment Share on other sites More sharing options...
Rick Posted August 10, 2013 Share Posted August 10, 2013 You mean like a backdrop in a side scroller or something like that? Quote Link to comment Share on other sites More sharing options...
beo6 Posted August 10, 2013 Author Share Posted August 10, 2013 yes. it does not need to move though. I only want a simple background so it does not look so blank. And i want to keep the levels as simple as possible also for performance reasons since it is planned as a mobile game. i tried to put a big box into the background and put the texture on it. It worked but was not very fast. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.