Any Camera Class?

Monkey Forums/Monkey Programming/Any Camera Class?

nachiketaom(Posted 2016) [#1]
Most of the Engines have a Camera class. However, I did NOT find anything like that in Monkey X. How to get the utility of camera?


Jesse(Posted 2016) [#2]
No, no camera class. Monkey x is not an engine it's a computer language designed toward game creation. . There are engines for MX that may or may not have a camera class. Piro, ignition x, MiniB3D, Diddy and Phantom Engine are some of the more popular Frameworks to help in the creation of games that are Available for Monkey X.


RedGTurtlepa(Posted 2016) [#3]
Do those cameras use OpenGL implementation or are they using the built in renderer (not sure the graphics renderer I will research it of course, just noticing BlitzMax uses one built with a driver in mind)


Pakz(Posted 2016) [#4]
You asked on the tutorial example thread for this right?

I made this just a hour or two ago. It showns how to align a big map around the player. Like a camera. It has a player class and a tilemap class.

https://github.com/Pakz001/MonkeyXExamples/blob/master/Monkey-X%20-%202d%20Scrolling%20map%20and%20player.monkey


RedGTurtlepa(Posted 2016) [#5]
Sheesh man, thats straight up coded from scratch stuff. Thanks.


Pakz(Posted 2016) [#6]
Here another thing I just made. Shows basics off scrolling. Beginner example:
https://github.com/Pakz001/MonkeyXExamples/blob/master/Monkey-X%20-%20Beginners%20-%20Camera%20%20movement%20horizontally.monkey

Here a more complete smooth scrolling map using camerax and y.
https://github.com/Pakz001/MonkeyXExamples/blob/master/Monkey-X%20-%20Beginners%20-%20Camera%20Smooth%202d%20movement.monkey


nachiketaom(Posted 2016) [#7]
Thanks a lot guys... these are nice...