Share My Creation Not another dot game! BETA

JordiCP

Expert
Licensed User
Longtime User
Looks like this on my HTC One (1080x1920)
 

Attachments

  • Screenshot_2014-05-05-10-10-59.png
    Screenshot_2014-05-05-10-10-59.png
    362.2 KB · Views: 254

hookshy

Well-Known Member
Licensed User
Longtime User
Hey guys I realy do not understand what is happening .Picture that JordiCP has attached it looks odd.
My table is a square of activity.width ...
1.png

https://www.dropbox.com/s/rsglc3zb03qqnoz/1.png
This is how it looks on some other devices . I have some pictures on app page .. I really do now now what to say
Can you tell me about your device density ??
 

freedom2000

Well-Known Member
Licensed User
Longtime User
Hey guys I realy do not understand what is happening .Picture that JordiCP has attached it looks odd.
My table is a square of activity.width ...
1.png

https://www.dropbox.com/s/rsglc3zb03qqnoz/1.png
This is how it looks on some other devices . I have some pictures on app page .. I really do now now what to say
Can you tell me about your device density ??

Hi

My phone is a Nexus 5 pixel density is here : http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density#LG

BTW the game seems to be interesting... but yet no idea how it works !
 

JordiCP

Expert
Licensed User
Longtime User
How do you set the text size? It seems as if you put "dip" when it is already in dip units so it becomes bigger with high density devices

I mean

lbl.TextSize = 14 (or whatever) is already in dips
lbl.textSize = 14dip (or whatever) will be different on each device
 

hookshy

Well-Known Member
Licensed User
Longtime User
B4X:
If File.Exists(File.DirDefaultExternal,"table.txt") Then
table=File.ReadString(File.DirDefaultExternal,"table.txt")
Else
table=DipToCurrent(0.08*Activity.Width)
End If
lat=table

scaunw=0.8*lat
inscaun=DipToCurrent(0.2*scaunw)

lat - means is the height of Margenta panel and bar pannel with refresh control
lat - means the tile width
Table is on uper stages a square with dimensions
x=activity.width
y=activity.width
panel table is positioned botom of screen
Everything is scaled whith this lat calculation
button width =lat
button height =lat

scaunw is the diameter of a button in the sewing table
 

JordiCP

Expert
Licensed User
Longtime User
Perhaps I'm wrong, but I think you are transforming from dip to pixels something that is already measured in pixels (Activity.Width). This will make these measures get bigger in devices with higher densities

if your panel width is for instance "W" (pixels), I would try to define the rest of measures as a function of it.
 

hookshy

Well-Known Member
Licensed User
Longtime User
I guess you are right Jordi I have new version released v1.1 It should be available in about an hour or so. Thanks I will update status when new version is visible .
In setting I have option for table size that increase number of buttons on table and ajust the hole view to fit the screen of the device . with all that I guess I have made a mistache by using diptocurrent(0.08*activity.width)
Just hope that v1.1 that I have replaced diptocurrent will solve the issue .. I let you tell me if the problem is solved I do not have high density device
 
Last edited:

freedom2000

Well-Known Member
Licensed User
Longtime User
I have just installed the app and tested it on my Nexus.

It works now very well.

Not an easy game :) --> 5 stars

The display is now clean, perhaps a little small, but perfectly playable

JP
 

JordiCP

Expert
Licensed User
Longtime User
Now it looks like this, text is yet too large

ss.png


It would be better to use the emulator with some different screen resolutions
 
Top