Wastrel's Recent Forum Activity

  • I will check out the capx when I get home.

    I totally agree that the path finding and movement should be completely separate behaviors. I'm trying to come up with a movement pseudo-behavior (i.e. all event driven) that will accept an array of positions, but I think I have a basic mis-undertstanding about how the event sheet is processed.

  • It seems to me that you would want to keep the path-finding and movement behaviors separate. You would use the path-finding behavior to generate a path list, then use a movement behavior to execute the path list.

    Looking at the bullet behavior, for instance, behind the scenes, it is generating its own linear path, then following that path every tick.

    What we would need is a modified movement behavior which could accept a path list as a parameter. That path list could be from any source, whether it be from the path-finding behavior, or a more linear function.

    I am working on building something using events, and i will post the capx once I have something working. Iam still trying to wrap my head around the JavaScript SDK and building plug-ins, so I will have to do it the hard way for now.

  • I am trying to use the pathfinding behavior, and am having problems trying to get the player sprite animation working. I think it is fairly simple, I'm just ignorant of how to get it to work.

    Here is the capx I've been working on: dl.dropbox.com/u/38038537/TestPathfinding.capx

    Here are the steps I think should happen:

    1. Initialize pathfinding

    2. Generate pathfinding based on a mouse click

    3. Move player sprite to target location along path

    If you have reference to a demo I've missed, or can just tell me what I am doing wrong, I would greatly appreciate it.

    Please let me know if you need any more information.

    Thanks!

  • Before I re-installed my laptop, I decided to give the video drivers one more go. I removed all AMD ATI drivers, rebooted, and let Windows install its own drivers.

    Everything is back to normal now. I'm not sure what happened before. My biggest concern was that it would only blue screen when I used C2, so I assumed C2 was accessing a driver or something that was causing the issue.

    Thanks!

  • I have been having an issue where my laptop will bluescreen when exiting a second instance of C2.

    Here is what happens:

    1. I start C2, then open a project (.capx or .caproj).

    2. I right-click the C2 icon and start a second instance of C2, then open a different project (again, either .capx or .caproj).

    3. I close the second instance.

    4. Bluescreen of Fun!

    I can reproduce this 9 times out of 10.

    I guess my first question is: should I even be opening a new instance, or should I be opening the second project in the first instance?

    I realize a bluescreen can be caused by any number of things, and is probably outside the scope of what you can troubleshoot. I just thought it might be helpful in case there is something in C2 causing an issue.

    I have compiled a number of files into a 7-Zip file: dl.dropbox.com/u/38038537/Bluescreen.7z

    Description of Files

    • Bluescreen.png: Blurry picture of the bluescreen (sorry for the poor quality).
    • BluescreenAdditionalInformation.pdf: Additional bluescreen information presented by Windows after reboot.
    • LaptopSetup.pdf: Information about my laptop hardware, OS, and software.
    • WER-77423-0.sysdata.xml: System config dump file generated by Windows after bluescreen.

    I have tested this with and without McAfee running. I am running the most current video drivers for my laptop.

    I can obviously work around this by not opening a second instance of C2. It is just more convenient to alt-tab between windows when copying objects or events.

    Thanks!

    <font color=red>Update</font>

    Apparently, I was running the latest video drivers from HP, but not the latest AMD ATI drivers. So I downloaded the latest version (11.9).

    After I installing the drivers, when I try to load or start a new project, C2 will just hang for about 30 seconds, the screen will go black, then return, and the Catalyst Monitor says it had to reset the video card. :-< C2 remains hung.

    I've scanned the entire C: drive using Malwarebytes and McAfee, but no infected files were found.

    There is something critically wrong with my laptop, so I will be re-installing it tomorrow. It seems the bluescreen issue is related to the video card or drivers being hosed, so I will test this all tomorrow after i re-install.

    Sometimes I really dislike computers.

    Thanks!

  • First, sorry about not providing the .capx files. I should know better.

    Second, here are the two files:

       Project from which to copy: http://dl.dropbox.com/u/38038537/CopyFromThisProject.capx

       Project to which to paste: http://dl.dropbox.com/u/38038537/PasteToThisProject.capx

    Copy the Sprite object from the copy-from project, and paste it into the paste-to project.

    After a second look, I realized I already had an object in the paste-to project named Sprite, but it was in a sub-folder so I didn't see it. I have since changed the name and the copy-paste works properly.

    I wanted to still give you the files, in case you need to check the error further. I imagine it should give a regular alert message (that i already had an object named Sprite), instead of throwing an error.

    Thanks!

  • Try Construct 3

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

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    Paste failed due to xml_exception during paste

    Condition: false

    File: Editors\CLayoutView.cpp

    Line: 2559

    Function: void __cdecl CLayoutView::DoPasteAt(class CPoint)

    Build: release 59 (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.

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

    Abort   Retry   Ignore   

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

    If I click Ignore, I get following message:

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

    Construct 2

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

    Failed to paste: the data on the clipboard does not appear to be valid.

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

    OK   

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

    I was trying to copy an object from one project to another. Is this the same issue as the issue copying events? Is this even possible?

  • Congratulations Kyatric!

    • Portal 2
    • Mass Effect 2
    • Left 4 Dead 2, both Campaign and Versus Mode (I think I have an unhealthy addiction to versus mode, I can't stop playing it!)
    • Crysis 2

    So yeah, I'm playing all sequels...

  • Is it possible to set key mappings at runtime?

  • TheLure: the link to your capx isn't working. Is it in the public folder?

    Ashley: Thanks for the hint, i got that mostly working. Unfortunately, the sprite keeps creeping past the mouse click point.

    Sorry Havok, I'm not trying to hijack your post.

  • Where do you put the distance calculations? In a separate event, as a new condition in the same event, or as another action in the same event?

Wastrel's avatar

Wastrel

Member since 21 Sep, 2011

Twitter
Wastrel has 2 followers

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies