Resource Updates - Advanced Camera and Flash GUI
by Thomas \"Man of Ice\" Lund · 02/02/2005 (7:55 am) · 4 comments
Ahhhh - finally something done that seems to work
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471
The advanced camera resource has been updated and is now better than ever.
There is a new orbit camera mode with mouse movement support when run in single player game, a static camera mode, better collision support and a vertical freedom mode where the 3rd person camera moves up/down with the head of the player.
Thanks to all who contributed ang gave feedback.
It also marks the end of me developing engine technology for my battleship game (except that pesky flash gui - more later). From now on its a matter of implementing the levels and gameplay only. I bet more will surface later, but for now its all done.
The flash gui component I was working on has not been finished. GameSWF compiles, the gui component seems to work and it runs the movie, but there is something wrong with the resolution. For those who didnt see my cry for help, there is a nifty screenshot here below

Its trying to render a 11000 x 8000 pixel movie if you are wondering what is going on.
I have given up for now (my OenGL skills are just not good enough), and pushed the job out on some of the other community member to help. Hopefully soon we have a result. Brian Bzztbomb has gotten it to render in the right size, but that was with lots of hacks.
Hopefully progress soon, and I'll officially buy a lot of beers @ next IGC to the one that gets it running.
Thats it for now. Hopefully the next .plan can have content on my game projects. There should be basis for some nice screenshots and ingame videos soon
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471
The advanced camera resource has been updated and is now better than ever.
There is a new orbit camera mode with mouse movement support when run in single player game, a static camera mode, better collision support and a vertical freedom mode where the 3rd person camera moves up/down with the head of the player.
Thanks to all who contributed ang gave feedback.
It also marks the end of me developing engine technology for my battleship game (except that pesky flash gui - more later). From now on its a matter of implementing the levels and gameplay only. I bet more will surface later, but for now its all done.
The flash gui component I was working on has not been finished. GameSWF compiles, the gui component seems to work and it runs the movie, but there is something wrong with the resolution. For those who didnt see my cry for help, there is a nifty screenshot here below

Its trying to render a 11000 x 8000 pixel movie if you are wondering what is going on.
I have given up for now (my OenGL skills are just not good enough), and pushed the job out on some of the other community member to help. Hopefully soon we have a result. Brian Bzztbomb has gotten it to render in the right size, but that was with lots of hacks.
Hopefully progress soon, and I'll officially buy a lot of beers @ next IGC to the one that gets it running.
Thats it for now. Hopefully the next .plan can have content on my game projects. There should be basis for some nice screenshots and ingame videos soon
#2
02/02/2005 (9:04 am)
oh sure, as soon as you mention beer... ;)
#3
@Peter - the factor is 20. Which incidently is also the factor used internal in GameSWF to transform from resolution independent units to screen pixels. Setting that factor to 1 didnt change anything though in my tests.
There are several weird things. More or less the exact code plays that exact test movie fine stand alone. So there must be something in the GL environment/setup inside TGE that makes GameSWF thing it needs to scale things with 20.
Using glScalef didnt help either in my tests.....
02/02/2005 (10:41 am)
hehe - the global currency. Nice cold beer :-)@Peter - the factor is 20. Which incidently is also the factor used internal in GameSWF to transform from resolution independent units to screen pixels. Setting that factor to 1 didnt change anything though in my tests.
There are several weird things. More or less the exact code plays that exact test movie fine stand alone. So there must be something in the GL environment/setup inside TGE that makes GameSWF thing it needs to scale things with 20.
Using glScalef didnt help either in my tests.....
#4
I think you will need to use a gui that is entirely gameswf. I seem to remember this being the reason I didn't proceed with using it. I would have had to replace the entire tge gui code.
02/02/2005 (2:03 pm)
As I recall the Gameswf code has it's own render routines, so the screen setup used by TGE is probably conflicting with the render code used with Gameswf. I think you will need to use a gui that is entirely gameswf. I seem to remember this being the reason I didn't proceed with using it. I would have had to replace the entire tge gui code.

Torque Owner Peter Dwyer