Giter Club home page Giter Club logo

pongd2d's People

Contributors

makuke1234 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

pongd2d's Issues

Better scoring system

Make scoring more fun, give points on whole game instead of the number of bounces

Paddle movement speed tied to framerate

Since keyboard operations concerning paddle movement are done in the game loop itself (which speed depends on the frame rate), the paddle movement speed also depends on the frame rate. The higher the frame rate the higher the paddle speed.

BUG report

Start a game, so that the ball is actually moving, and press alt F4.

You might execute d2dwrapper.cpp dxFactoryCreateRectangleGeometry, called from a thread in logic.c,
at the time logic->pong->dx.factory is already cleared.

On WM_CLOSE, you don't first shut down the thread.

Can't compile in C (C++ works)

Hello,

can you tell me which SDK version are you using, where did you get it...

I'm using Visual Studio Community 2022 and can't compile dwrite.h in C mode.

An example line from dwrite.h

interface DWRITE_DECLARE_INTERFACE("739d886a-cef5-47dc-8769-1a8b41bebbb0") IDWriteFontFile : public IUnknown

preprocessed to C++

struct __declspec(uuid("739d886a-cef5-47dc-8769-1a8b41bebbb0")) __declspec(novtable) IDWriteFontFile : public IUnknown

preprocessed to C

struct   IDWriteFontFile : public IUnknown

and the part " : public IUnknown" gets in the way.

I have zero experience with C++, but it looks to me as this is a Microsoft bug, they simply forgot about C.
But then, how do you compile it?

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.