VirusGame icon indicating copy to clipboard operation
VirusGame copied to clipboard

part of the UI is cut off

Open RafaelDee opened this issue 5 years ago • 4 comments

hey Carykh! your UI is too big image

i tried using the scale(0.5) int the draw method but it didnt work

tried chanding the window resolution in the setup() to size(1280,720);

tried changing the drawUI scale to scale(0.75) it work but the buttons click is still on the original scale

image

i think this means you need to import this to unity or something hahaha makes it easier for rendering stuff

RafaelDee avatar Aug 16 '20 08:08 RafaelDee

FINALLY I SOLVED IT this compiler is not friendly to other types of resolutions you need to CHANGE THE: -text size -X&Y coords -Width&Height -ScreenResolution

image

if the changes still not make it change this variables double[] genomeListDims = {70,330,260,350}; double[] editListDims = {350,330,180,250}; X Y W H heres the source code for those people that have 18" screens virus.zip replace the virus.pde with that file Compare the 2 files on https://text-compare.com/ to check what i changed

RafaelDee avatar Aug 16 '20 08:08 RafaelDee

take a look at my fix in issue #4 and if you think your solution is better so be it but then you should have closed the issue ;)

Conando025 avatar Sep 05 '20 16:09 Conando025

its too short for my screen plz help

captainretro01 avatar Mar 14 '21 21:03 captainretro01