|
Hello, friend.How to create a camera? |
keprast
Member #16,794
January 2018
|
I tried to create the camera with a single screen, but according to the wiki I was creating something weird. --------------------------------- The example on the wiki is really a headache for me. Who can help me and patted... |
Neil Roy
Member #2,229
April 2002
|
People will be able to help you better if you perhaps showed some of your source code of what you tried already. Which example did you look at? The more details, the better people on here can help. --- |
Niunio
Member #1,975
March 2002
|
Also, what kind of game are you doing? 2D, 3D? And what kind of camera, first person, 3th person...? And what programming language: C, Python, Pascal, C++...? ----------------- |
Chris Katko
Member #1,881
January 2002
|
camera_x = 0; //have keyboard controls increase or decrease these. camera_y = 0; void draw_my_stuff_at(object_x - camera_x, object_y - camera_y)
-----sig: |
|