nilzyo's Recent Forum Activity

  • Hi,

    everything works fine BUT the car is moving over the road curb (its Sprite2) to its checkpoint, although I have definied sprite2 as obstacle (I guess when I define somethin as obstacle then my car should NOT drive over it to drive to its checkpoint?)

    You can see this behaviour in the attached image.

    • Car drives to Checkpoint (Path_Car) (which is marked as "1" here)
    • Arrived at checkpoint 1 the new destination checkpoint 4 (marked with "4" in the image) is choosen and the car begins to drive over the road to the checkpoint
    • the blue line shows the movement of the car (the car ignores the defined obstacle?!) and drives over Sprite2
  • I fixed random movement with the screenshot attached (using now Pick random instance) - movement is not very realistic.

    But the obstacle is ignored.

  • Hi codah,

    if I randomize my new target with random() [Pick Path_Car where Path_Car.path = random(1, max_path)] the car just stays at the current checkpoint and does not move forward. If i set it to 4 the car drives to this checkpoint. Also it seems that the car is ignoring my defined obstacles like it's shown in the picture attached.

    Thanks for your help!

  • Hi Guys,

    i'm just getting into path finding with construct 2 and I have logical question when build my AI for cars which should be able to drive through a city.

    See the picture attached (cars_street.JPG). I have some checkpoints (red rectangles) to find the path and move my car along to it. I used to tutorial https://www.scirra.com/tutorials/1118/page-1 to achieve this goal. The car is driving from one checkpoint to another (top corner then left corner etc.).

    This is quite a cool feature but I want more, but have no idea how to solve it with construct 2.

    • I want to let cars drive in a random way (not only from checkpoint 1 to checkpoint 2 to checkpoint 3 and so on). I want to let the cars find there own way: lets say on each cross-way the car changes its direction or if that is not possible just drive on the street to a random checkpoint.

    --> Let my car drive to random checkpoints is a little bit buggy because sometimes the car drives not on the street but on the road curb - how to let my cars drive ONLY on the street, which is shown on cars_street.JPG?

    • For performance reasons: just move cars which are in the layout and I'm able to see in my current resolution.

    Any tips on how to achieve my new goals?

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Problem Description

    Errormessage:

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Action ID does not appear to exist in related plugin

    Condition: plugin->HasActionID(act_id)

    File: Projects\EventAction.cpp

    Line: 43

    Function: __cdecl EventAction::EventAction(class EventBlock &,class ObjectClass *,class BehaviorType *,int,class std::vector<class std::unique_ptr<class EventParameter,struct std::default_delete<class EventParameter> >,class std::allocator<class std::unique_ptr<class EventParameter,struct std::default_delete<class EventParameter> > > > &&,unsigned __int64)

    Build: release 174 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abbrechen Wiederholen Ignorieren

    ---------------------------

    Attach a Capx

    i havent uploaded a capx because it says it will be deleted if it includes plugins so i have added the errormessage

    Description of Capx

    Its a game which is published in the android store and worked with 173 beta.

    Steps to Reproduce Bug

      Open my capx.

    Observed Result

    I can not load my capx-File.

    Expected Result

    Open and load my capx file successfully?

    Operating System and Service Pack

    Windows 7 SP1 64 Bit

    Construct 2 Version ID

    174 64bit checked

nilzyo's avatar

nilzyo

Member since 9 Jun, 2014

None one is following nilzyo yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies