grzetan / pygamezoom Goto Github PK
View Code? Open in Web Editor NEWZoom into pygame figures without quality loss
License: GNU General Public License v3.0
Zoom into pygame figures without quality loss
License: GNU General Public License v3.0
hi,
i am trying to integrate your pygameZoom script into a game, because this zoom script is the best i could find on the net so far ! Great work.
my button-objects are based on pygame_widget.widget WidgetBase wich needs: (x,y,width,height,**kwargs) to construct.
i already tried to adapt your code, with no success---
i actually tried to append the objects to the shape list... it worked but the performance was really bad---
then i tried it with a dummy game_object class, wich stores the values inside the shape list--- but this didnt work aswell ..
Could you explain me, where to get out the calculated (x,y,width,height) from your script? Or where i should start imiplementing this into your code?
i think it would be great, to have a function like:
pygameZoom.calculate_new_position_and_scale(x,y,width,height)
wich returns a tuple of these values. like this, we could use it for al many different objects.
Thanks for reading
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.