![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Open Source Projects The place to discuss Basic4ppc open source applications. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Noooo,
We want it 2 work for all resolutions, landscape or portrait. So everything on the top or the left can stay hardcoded on the form Things to the left and bottom need to be moved RELATIVE to the sreen dimensions SO as I said, as MaxX is always set at 30 less that the screen width Rpanel.left=MaxX will put the right panel 30 before the edge whatever Res is on water.left = MaxX+5 will always put the icon 5 pixels right of the Rborder sand.left=MaxX+5 Res.Top=MaxY+10 Draw.Top=MaXY+10 Draw.Left=MaxX/2 (if u want it halfway along) Add this code, stop the program, change ur pda to landscape or landscape and rerun it to check it looks right either way! Sub ScreenSet water.left = MaxX+5 sand.left=MaxX+5 Res.Top=MaxY+10 Draw.Top=MaXY+10 Draw.Left=MaxX/2 Rpanel.left=MaxX toppanel.width =(MaxX-MinX) lowerpanel.width=(MaX-MinY) bottomline.width=burningsands.width 'full length for the bar at bottom of screen etc Last edited by colin9876 : 12-18-2007 at 07:15 PM. |
|
|||
|
ok just change everything above, make sure it looks right in portrait mode & post it
You will have to adjust the amount u add to MaxX (Ive put +5) to get the pixels exactly where u want I'll test it on a few different resolutions. If uve got it looking right in one mode it should look right on all screens because all the positions are relative to MaxX and MaxY |
|
|||
|
OK, looking at it today Iget it... am doing it now.
What I am doing to test it is setting the screensize on the compiler to landscape then previewing it and then changing it. Sorry I didn't get it till now. I'm still pretty new to these languages... the only language i ever really learned well was QBASIC and it has changed a lot since then. |
|
|||
|
Neil, most of it good, few issues
1) playing area is minX to maxX set rline.left=MaxX (not maxX-2) u will have then to set bottomline.width=(MaxX-MinX)+4 topline.width=(MaxX-MinX)+4 2) whats that variable WAT=0 uve added? 3) set the sources x coordinates of sources to 0.25*burningsands.width 0.42* 0.58* 0.75* etc 4) Can u put the letters FPS in a static label as I mentioned before, and just add the number. We should have every speed advantage we can! Anyway there may be a way of making everything loads faster, but Ill let u know more about that when u get v6... Last edited by colin9876 : 12-20-2007 at 07:38 AM. |
|
|||
|
OK... here it is! Done everthing youjust said. I am getting a licence on Xmas Day so isn't long until I might be allowed to get Beta.
EDIT: I just found a glitch in the FPS thing... forogt to add one of the lefts, will repost it in a couple of minutes. EDIT: Here is it sorted. Last edited by neilnapier : 12-20-2007 at 03:56 PM. |
|
|||
|
I will post on the front page when V3 is released.
How are you coming along with the reactions? Has AGraham answered you yet? I haven't seen that yet no... but I haven't tried the last realese. EDIT: When I load this I get the keyboard menu appearing at the bottom covering up the FPS draw and res. Is there a way to get rid of that. EDIT2: Do you mean that when you are drawing wit a line then sometimes circles appear of you click wall... cause that happens to me. Last edited by neilnapier : 12-20-2007 at 05:31 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pocket Chess Database | JamesC | Share Your Creations | 3 | 07-27-2008 04:07 AM |
| Pocket Burning Sand | neilnapier | Questions & Help Needed | 2 | 11-05-2007 07:53 PM |
| print class for pocket pc | tanrikuluahmet | Basic4ppc Wishlist | 1 | 10-01-2007 09:10 AM |
| dzSpy - Spy and Task Manager App - Open Source | dzt | Share Your Creations | 3 | 07-15-2007 05:21 AM |
| Pocket Outlook Object Modell | sloopa | Basic4ppc Wishlist | 12 | 06-02-2007 08:05 AM |