DynaLight (alpha ver) for punk.fx


(azrafe7) #21

Hey… sorry, but I think I remember you NastySprite! It’s nice to have you back!

You were trying to implement a zoom in/out feature in your game and I promised to post something about it.

I came up with this (but never posted it, as the forums went down - a bit old but… use SPACE to zoom in/out | ZX to fire/change weapon | P to pause).

The code is somewhat messy, but if anyone needs it I can make it available.

PS: Any chance to test your game?


(no-jo) #22

Yeah that’s it!.

Pleased you remembered.

I think the source for a zoom in/out feature would be really useful to have in the forum. Especially one that takes a HUD into consideration.

I’d certainly like to have another stab at integrating it into my game.

I’d be really interested to know what you think of it. I’m trying to keep it on the quiet until released (getting close though) but when i’m ready i’ll post a link in the forum for general scrutiny and overall ego crushing.


Punk.fx - zooming game independently from HUD
(Kevin Graham) #23

Wow this looks awesome! I was amazed by the speed change after turning of the pepperflash plugin! Why is that?


(David Williams) #24

I’m also getting a solid 60 fps (Intel i7 3.4ghz, 8gb RAM, GeForce GTX 570).


ShapeBlaster (very alpha) + Vec2 class