A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: APEngine w/ CS4

  1. #1
    Junior Member
    Join Date
    Jun 2009
    Posts
    1

    Angry APEngine w/ CS4

    Im having loads of issues with the APE engine by Alex Cove... I use CS4 and can't figure out in the publish settings under the as3 settings, im not sure which of the paths i should use. There is a source path, library path, external library path, and config constants. I just need to know which one of these the source folder of the file should be loaded to because following any of the tutorials from emanuele feronato or from tudthewaycore, i get errors and dont know/cant figure out what the issue is. With tudthewaycore's tutorial, i get these errors:

    1137: Incorrect number of arguments. Expected no more than 0.

  2. #2
    Funkalicious TOdorus's Avatar
    Join Date
    Nov 2006
    Location
    Nijmegen, Netherlands
    Posts
    697
    Quote Originally Posted by kewlhead View Post
    1137: Incorrect number of arguments. Expected no more than 0.
    This isn't the wrong publish setting it's wrong coding. Every function needs a certain number of arguments to execute. Lets say you have a function which finds a path from point a to point b.
    Code:
    pathFinder(PointA:Point, PointB:Point):Array{
    ...
    }
    It would need to know what point a and what point b is. But say you feed it three points instead of two. The compiler would throw this error:
    1137: Incorrect number of arguments. Expected no more than 2, because the function doesn't need three but two arguments. The same for your compile error: check out the line the error refers to and see which function your're calling that needs no argument.

  3. #3
    FK founder & general loiterer Flashkit's Avatar
    Join Date
    Feb 2000
    Location
    Sydney
    Posts
    1,149
    I would suggest using box2d instead as its much more developed and has a lot more support as well.
    Regards Mark Fennell - Flash Kit Founder, general loiterer
    -------------------------------
    I Hate Zombies - iPhone Game | markfennell.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center