![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hi willisgt,
aaahhhh, those were the days... ![]() The screen definitely reminds me on playing combatzone (aka tankzone) ![]() I've tested you code on my iPAQ rx1950 with WM5. Unfortunately I'll get an OutOfMemoryException in sub _app_start. ![]() Just wondering: It is it possible to start both versions on the desktop. The only difference is the form size. Maybe you have not provided a device-compiled .exe? specci48 |
|
||||
|
I too got an exception on the device (Axim X30 - WM2003SE) but I don't know what sort - It just said "Exception" . The second and subseqent times it seemed to work OK.
Tip to increase possibly performance. Declare your Var_Tank and Var_Recticle arrays as doubles. This will increase the math performance by stopping a lot of conversions to/from strings although it may be that the graphics work dominates anyway. Dim Var_Tank(3) As Double Dim Var_Recticle(15) As Double |
|
||||
|
I've (1) double-checked that tank-ppc.exe was compiled for the device, and tank.exe was compiled for the desktop. I have no idea why both executables will run on the desktop, but it happened for me, too.
(2) I made the changes that Andrew suggested; 'tank' and 'reticle' are now doubles. I haven't observed any boost in performance, but avoiding conversions is always a good thing! Gary
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5 PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6 |
|
|||
|
Hi willisgt. I have a dell axim x50 520 mhz. Tank on mine fires right up no errors nothing. I don't remember how to put my screen into landscape but it works fine in portrait. I have a audiovox 6700 that I will try it on as soon as I get it to sync with my desktop. Till later have a good one.
![]()
__________________
Using 6.30 dennishea
|
|
||||
|
This is normal. Many compiled device apps will run on the desktop as well as on the device as they are marked .NET "retargetable" and the device environment is usually a sub-set of the desktop. Only device apps that needs device and Compact Framework specific libraries will not run on the desktop.
|
|
||||
|
Andrew, it just occurred to me - I didn't post the source code for this program. Yet somehow, you knew the name of two of the arrays.
Everyone on this forum would back me up when I say that you've got talent. But man, you've got to be practicing black magic. Or living on top of some mountain. Just don't start hurling lightning bolts down at us mere mortals, okay? ![]()
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5 PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6 |
|
||||
|
Works fine on my Axim X51v (VGA screen) and my HTC Kaiser (QVGA screen).
Only difference is the position of the degree markers, on the QVGA they appear under the horizon but on the VGA they appear above. Both played smoothly with no errors. Should I have been able to move the crosshairs up/down?? Regards, RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD. Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD. "Defeat never comes to any man until he admits it."Josephus Daniels |
|
||||
|
|
|
||||
|
The degree markers are actually part of the background image file; at this point, it's not a problem if they appear in odd places. They won't be part of the game, anyway.
The only control I've built in so far is the rate of turn. The targeting reticle will always appear stationary in the middle of the screen. For some idea of how this is intended to look when it's finished, see this link:http://www.youtube.com/watch?v=ghIPGXs3LAo Absolutely no intention of this being a commercial product. I'm just trying to see if it's possible to build a game like this for PPCs. The game audio will probably be difficult... Gary
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5 PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6 Last edited by willisgt : 03-26-2008 at 03:09 PM. Reason: 'cuz i kant spel |
![]() |
| 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 |
| How to test if network is available? | obrienj | Questions & Help Needed | 4 | 07-13-2008 05:53 PM |
| Distance-test on UTM and LAT-LON | Put Claude | Questions & Help Needed | 1 | 10-16-2007 02:06 PM |
| Transfer to Device for test | enonod | Questions & Help Needed | 5 | 10-13-2007 07:42 AM |
| test | giannimaione | Italian Forum | 3 | 09-09-2007 03:47 PM |
| Installation test | Big JR | Questions & Help Needed | 17 | 07-21-2007 02:43 PM |