Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Code for a fps camera

edited May 2012 in General Posts: 6

Im new to codea and lua ( and processing) but i am an experienced c++ programmer (and now I'm porting my games to the iPad:)). Im rewriting one of the games (it allows the user to become familiarized with programming through the use of a c++ shell who's code is then integrated into the games code(actually a compiler which inserts it into the gamecode compiles and executing while resuming the screen) I already have the game made( programmed it many years ago) and I am using Codea (from c++ to lua) to port it to the iPad. So far I have the fps camera, it has 2 files, the level and the game mechanics. By the way, it works by moving/rotating the world around a statanary camera. Anyway hear is the code:

MAIN: http://pastebin.com/py8Ckt3Z
TEST2:http://pastebin.com/1mUTVjgA

-Nicholas
P.s.it may lag If you have an iPad 1
P.p.s. I will probably post up source for shell in a few days
P.p.p.s Any reccomendations would be appreciated
P.p.p.p.s sorry if I posted this in the wrong location

Comments

  • Posts: 179

    I am very interested in seeing how you create the shell interface. I have been working on a shell myself lately with limited success.

    Nice start to a FPS, by the way.

Sign In or Register to comment.