landgreen / n-gon

2-d physics rogue-lite platformer shooter
https://landgreen.github.io/n-gon/
GNU General Public License v3.0
162 stars 234 forks source link

[mod help] zoom for a gun #351

Closed c-rxxp-y closed 3 weeks ago

c-rxxp-y commented 3 weeks ago

anyone got any idea how I could implement the simulation.setZoom() function into a gun tech? I've tried adding the code for the zoom feature into a const inside one of my new guns code, but it hasn't worked. I don't know where I should implement it, any thoughts?

c-rxxp-y commented 3 weeks ago

nvm I fixed it