Code Monkey home page Code Monkey logo

pygamezoom's Introduction

Hi there ~ hi

Top Langs

Zheeeng's github stats

pygamezoom's People

Contributors

grzetan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wosym

pygamezoom's Issues

how to combine pygame_widgets and pygameZoom?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.