Hey! I pulled some code from this into my game. Would you mind if I sold my game (which uses this code, but not the art)? Also, would you mind if I made that game open source? Thanks in advance.
also, i have a weird bug where my billboarded sprite always shows on top. whether he's in front, behind, he is always on the front. any idea why this is happening?
Hi dev_dwarf. I've bought your advanced tutorial on sprite stacking for 2$=D and I was wondering if it's possible to make a zoom function for the camera? To scroll the view in and out. I realize that it's not real 3D, and this technique has it's limits, but I'm still curious to know if it's possible. I hope it's possible even with Isometric view (and not perspective).
I tried to reach you on discord but you don't accept DM's from strangers =P
Zooming can be accomplished by changing the width and height of the camera. It sounds like you want an easy way to this with a "zoom" variable. The easiest way (if you're working off of this exact code) is to multiply `new_width` and `new_height` by the zoom variable every step, so that changes to the zoom instantly effect the size of the view.
← Return to example project
Comments
Log in with itch.io to leave a comment.
Hey! I pulled some code from this into my game. Would you mind if I sold my game (which uses this code, but not the art)? Also, would you mind if I made that game open source? Thanks in advance.
Go for it! I would not especially recommend using this anymore for performance reasons, but don't worry if you are already far along.
also, i have a weird bug where my billboarded sprite always shows on top. whether he's in front, behind, he is always on the front. any idea why this is happening?
Hi dev_dwarf. I've bought your advanced tutorial on sprite stacking for 2$=D and I was wondering if it's possible to make a zoom function for the camera? To scroll the view in and out. I realize that it's not real 3D, and this technique has it's limits, but I'm still curious to know if it's possible. I hope it's possible even with Isometric view (and not perspective).
I tried to reach you on discord but you don't accept DM's from strangers =P
Hello,
Zooming can be accomplished by changing the width and height of the camera. It sounds like you want an easy way to this with a "zoom" variable. The easiest way (if you're working off of this exact code) is to multiply `new_width` and `new_height` by the zoom variable every step, so that changes to the zoom instantly effect the size of the view.
Hope that helps.
Thank you so much. I'll try that =) and yes, I'm working off your project. I'm thinking about making it into a template.