Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Camera resets after creating new object in game loop

Author
Message
BoneJarmer
10
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 6th Apr 2014 17:22
Hey guys

I am having a weird camera issue. Whenever I'm creating a new object inside the game loop (like an arrow) the entire camera resets! I have no idea how to solve it and I could not find the problem in my code. Today I made an simple and short test project to see how to recreate the problem. Here is the code:



In case you can provide me with a workaround: My purpose was to let an enemy shoot arrows. That's it.

Nothing to tell, really.

Login to post a reply

Server time is: 2024-04-23 15:31:55
Your offset time is: 2024-04-23 15:31:55