Problems with 'Any Actor' Collisions...

Non-platform specific questions.

Problems with 'Any Actor' Collisions...

Postby desertgamer » Thu Jul 31, 2008 1:39 am

My updated version of the game template uses collisions with Any Actor to specify what is solid. Actors that are solid have a variable (solid=1) at creation. The player collides with any actor constantly during frame rate, but colliding with an actor with a solid attribute would result in a physical response.

Now the problem is specifying collisions with Any Actor with enemies, or, particularity, anything out of view. It occurs that, when the collisions with Any Actor are specified to anything out of vision, the game just crashes upon startup (game mode). Well, sometimes it does, sometimes it doesn't, which makes me totally bewildered.

Would this mean that using Any Actor to specify what is solid is useless and obsolete? Using Any Actor saves loads of time and keeps it to simplicity. ...So I'm seeking help from one who is more knowledgeable with the core of game editor. Maybe this could solve and improve everything (and improve for those who use the template).
desertgamer
 
Posts: 47
Joined: Sun Dec 09, 2007 6:49 pm
Score: 5 Give a positive score

Re: Problems with 'Any Actor' Collisions...

Postby feral » Thu Jul 31, 2008 8:14 am

any chance of posting a demo of the problems ? or the code you are using .. as it does sound odd.. :(

also have you tried setting the "receive events even if out of vision" to NO ? it may solve some problems, unless of course they need to receive them :(

also, does the game still crash if converted to an executable ? (may point to a bug)
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Re: Problems with 'Any Actor' Collisions...

Postby desertgamer » Thu Jul 31, 2008 5:01 pm

This problem occurs in the game template demo, already posted on the game demo forum (just look for the template of my creation).

Because I'm using collisions with Any Actor with enemies, doing out of vision events would degrade game play. They need to move and need to collide and also receive most other actions.

The template contains everything (including the error).
desertgamer
 
Posts: 47
Joined: Sun Dec 09, 2007 6:49 pm
Score: 5 Give a positive score

Re: Problems with 'Any Actor' Collisions...

Postby feral » Fri Aug 01, 2008 12:42 am

Ok.. downloaded and checking it now... I found the same problem ( crashes) , and I am looking into it. very weird.. .may need help from a more experienced guy :?

the easiest way to find the "bug" would be to start deleting objects/scripts until the bug disappears.. I will be trying that method probably.. will get back to you soon..
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron