Sign in to follow this  

2D - Circles at high velocity become elliptical to the eye. How to workaround?

This topic is 467 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello!

I am currently testing some game mechanics with flying projectiles.

And the issue is that circle, at the high speed, becomes elliptical.

 

Its hard to reproduce this view, because it mainly happens on phone devices.

 

If projectile consists of 5 circle shapes, all of them seem to travel differently, not to mention the biggest one looks as if its ahead of others.

 

When taking screenshot, everything looks okay.

 

problemado.png

 

The ones in the middle seem to be separated, when going at high speed.

 

Are there any tips or techniques how to solve this?

I was thinking about leaving some trail behind, but in the final version, there will be more than just circles.

Edited by Sollum

Share this post


Link to post
Share on other sites

It could be an artifact of display latency where the response time to change a pixel is slow enough that you start to notice it. If so, you might improve the problem by reducing the contrast so that the pixels have less 'luminance distance' to travel when the sprite enters or leaves their zone.

Share this post


Link to post
Share on other sites

By that I just mean how different 2 colours are, when measured in terms of brightness. Black and white have 100% distance because the 2 colours can't be more different. It takes a while for a pixel to change from black to full white. Whereas black and mid-grey has 50% distance, and you might expect the time taken to change from black to mid grey to be roughly half as long as to change to white.

Share this post


Link to post
Share on other sites

assuming you're not doing full screen scaling that may introduce slight rounding errors (on the order of 1 pixel), odds are Kylotan is right. Display latency. a shorter "color distance" (luminescence distance) may or may not help with latency times. try it and find out. slowing down the particles is about the only other option - besides just "living with it".

 

while phones are semi-decent basic gaming devices - they still have limitations compared to a full-tilt PC game rig, and one must always be mindful of - and work within - those limitations.

Edited by Norman Barrows

Share this post


Link to post
Share on other sites

Hello,

 

Tried changing from pure black to one of 50 shades of gray and it worked out.

Tho my dream of black and white fast action game has been crushed.

 

One thing i am wondering tho.

 

When black object moves really fast, it leaves red trail behind. I wonder why the colour red is the slowest? (On mobile device)

Share this post


Link to post
Share on other sites

This topic is 467 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this