Page 1 of 1

Playback Differs In Compiled Programs

PostPosted: Sun Dec 18, 2005 2:22 pm
by marathon332
Hi:

I've got a basic space shooter that fires rockets at asteroids.

It works PERFECTLY in the design environment but the missiles are off-course in the Windows compiled version.

The funny thing is that if I press the screen in the same spot again within a short time period, it then works correctly.

I've tried different methods of moving the missiles looking for a work around but no success. All methods work in the design environment, so my coding must be okay.

I have a similar problem with another program for the Pocket PC. Works great in design but sends a projectile in the wrong direction under certain conditions in the compiled version.

Is this a bug or am I just missing something?

It seems like an error in the run-time engine related to moving actors.

How can I fix or work around this problem?

Have other people had similar problems?

--Steve
http://pdatoday.blogspot.com

PostPosted: Sun Dec 18, 2005 2:34 pm
by makslane
If the game works in editor but don't after export, it's a bug.
Please, send me a email with the game (use subject of this thread),
and I will fix this.

PostPosted: Sun Dec 18, 2005 5:40 pm
by marathon332
Sent the file. Thanks for the help...

--Steve

PostPosted: Mon Dec 19, 2005 4:20 pm
by makslane
To avoid this problem, set the option 'Create at startup' to 'No' for all rocket actors.

It's a good idea set this option to 'No' for all actors that will be created later using the 'Create Actor' action, like bullets and explosions.

PostPosted: Mon Dec 19, 2005 4:23 pm
by makslane
Other thing... If you need use an actor cover all view to make a sensor for catch mouse clicks, avoid use transparent actors.
Use a 'Filled Region' actor instead.
It's more fast in slow systems.

PostPosted: Mon Dec 19, 2005 4:49 pm
by marathon332
Thanks so much Makslane...

Works perfectly now...

You're the best...

Glad it was me and not the software...

I'll take your advice on the "filled region" too..

--Steve