The Daily Click ::. Forums ::. Klik Coding Help ::. path movement and max active objects
 

Post Reply  Post Oekaki 
 

Posted By Message

simon kubisch



Registered
  21/09/2008
Points
  13
7th October, 2008 at 16:27:49 -

okay the simple question first... is there a maximum of active objects i can use in a game? i wanted to make trees in a isomeric view...
the second question, are there alternatives to "pathfinding object" and the "advanced path movement" object?

the pathfinding object works good, but it crashes the game sometimes... and sometimes is a bit too often for me :/
with the advanced path movement object it is hard to create a stable grid (on a 10000 x 7500 frame)... it crashes too

greets simon

 
n/a

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
7th October, 2008 at 20:25:34 -

Many people ask this question. It is dependent on the product you are using. If it is TGF, the max is 256 active objects. For TGF2/MMF2/MMF2Dev, the limit is specific to each frame, and you can set it by editing the properties. The default for each frame is 500. I don't know what it is in MMF.

I don't know about that last question.

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

simon kubisch



Registered
  21/09/2008
Points
  13
7th October, 2008 at 22:07:25 -

ah okay thank you

 
n/a

simon kubisch



Registered
  21/09/2008
Points
  13
15th October, 2008 at 00:15:00 -

jeah, i made a full path finding engine with waypoints with advanced path movement object
i hope its stable... but it seems! (i can click 1000 times and on obstacle objects and it doesnt crash), i hope it will work with more waypoints (could become a perfomance problem... lets see)

it does the follow:
it calculates the connections between the waypoints which are created out of active objects which destroy themself and create a node at beginning
it calculates the connections between waypoints and unit (on click)
it calculates the connections between waypoints and target (on click)

everytime you click it removes the last path and nodes which were created, so there is no kinda "node-rush"

if everyone interested i can post my testgame... but i wont write a tutorial its not that hard to understand i think

edit

works like this
http://img259.imageshack.us/img259/5906/problemkf0.jpg

i still got some troubles... : [

Image Edited by the Author.

Image Edited by the Author.

 
n/a

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
22nd October, 2008 at 07:48:17 -

I am interested. Post iTtt

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!
   

Post Reply



 



Advertisement

Worth A Click