Search found 3 matches

by AdityaSingh
Fri Mar 01, 2019 11:08 am
Forum: General
Topic: Change resolution according to screen size
Replies: 1
Views: 660

Change resolution according to screen size

How to change my app resolution according to client display size ? For example, if someone have ultra wide or square display the app should fit perfectly according to the resolution of the display.
by AdityaSingh
Thu Feb 14, 2019 4:28 pm
Forum: General
Topic: How to make my pong ball move.
Replies: 4
Views: 1756

Re: How to make my pong ball move.

I stored the position of ball in ballX and ballY. But I don't know how to calculate dx and dy ?
by AdityaSingh
Thu Feb 14, 2019 9:04 am
Forum: General
Topic: How to make my pong ball move.
Replies: 4
Views: 1756

How to make my pong ball move.

Hey! I'm remaking Pong game with LOVE2D and Lua. Can someone tell me how can I make my ball move, give it a random angle and velocity ?
Github : https://github.com/imadityaksingh/Pong