Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Dude27th

How can I store the resolution width in a variable ??

Question

First of all is this possible?

And second , how this can be done ? I have a screen effect that make some cartoony blood falling from the top of the screen and it works perfectly but just for 640x480 because the graphics are 640 pixels width and I have variations for 720 ,800, 1024 , 1280, 1400, and 1600 or something , but how can I detect in which width resolution the player is playing ?

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0
On 3/19/2018 at 4:05 PM, Dude27th said:

I have variations for 720 ,800, 1024 , 1280, 1400, and 1600

Don't forget the popular 1920x1080.

Share this post


Link to post
  • 0
On 20/3/2018 at 6:31 PM, Empyre said:

Don't forget the popular 1920x1080.

Added ! The height resolution is irrelevant tho 

Share this post


Link to post

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
×