Paradox's Forum Posts

  • I didn't even see this post was in classic, sorry.

    I'm not sure if it will help or not:

    The sprite has an instance variable named "Direction" that is set instead of angle, and angle is slowly rotated to the sprites "Direction" variable.

    "Text" is just a text box showing the current direction.

  • If someone else should find this in a search...

    There is a distance expression that calculates the distance between two points.

    distance(x1, y1, x2, y2)

  • Something like this? It's very simple, but could be the start of something.

    https://dl.dropboxusercontent.com/u/85412219/forumposts/KeyRotate.capx

    change rotate 1 degree to 3 or 6 for faster turns. It will switch directions if the current "direction" is closer in the other direction.

  • Another way I've done in the past is destroy the missile, and have an event checking for, and destroying the orphaned particles.

    I.E. Particles not pinned, destroy.

  • If you have the pointer moved from the top position make sure the wheel's start position is also moved to the same place. Just change the graphics, the code should still work.

  • I haven't done it in a long time, but I think MindfaQ's method is how I did it. Set everything but what you want invisible, including the background layer if you want transparent PNGs. I think it flashed on screen for one tick, but you hardly noticed it happen.

  • I like it, but found a way to cheat, while trying to figure out how to play, drag the robot over all the stars, then to the crystal.

    Here's the link again.

    http://www.jackrdavis.com/MadScientist

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's usually how it works, keep trying different things until it gives you enough clues to find the actual problem.

  • Have you tried "Pick by Condition" Where the object.UID is "not equal" to the number?

    (It's a system condition, not under the object.)

  • The original would be photos from the movie in this case.

    https://www.google.com/search?q=hal&sou ... 80&bih=965

    Ah ninja'd <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";-)" title="Wink">

  • In the Browser Object is "Invoke Download"

    I.E.:

    Take snapshot of canvas (PNG, quality 75)

    Invoke download of CanvasSnapshot with Filename "Capture.png"

  • Actually I do remember doing that, now that you mention it.

  • Problem Description

    Delete the project file for a project in memory, then export and it crashes on missing image files.

    a Capx version works fine. (I usually use capx, so I didn't expect the difference.)

    Attach a Capx

    n/a

    Steps to Reproduce Bug

    • Create a project and add a sprite or two.
    • Save the project as a Project folder
    • Delete the project folder
    • Export html5 project

    Observed Result

    ERROR:

    ---------------------------
    Construct 2 Check failure
    ---------------------------
    Check failure!  This is probably a bug:
    
    cannot find animation frame either in last_path or project location
    
    Condition: FileExists(GetProjectPath().c_str())
    File: Projects\AnimationFrame.cpp
    Line: 239
    Function: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl AnimationFrame::GetActivePath(void) const
    Build: release 197 (64-bit) checked
    Component: Construct 2 IDE
    (Last Win32 error: 3)
    
    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   
    ---------------------------[/code:1msei819]
    Abort drops out to desktop
    Retry completes, but each missing graphic is replaced with 0x0 images, that somehow retain the proper frame icon in the editor.
    Ignore just pops the error up again.    
    
    [b]Expected Result[/b]
    The project would export with the images in memory, but having lost the paths to their source.
    I wouldn't expect exporting to alter anything in memory. (0x0 images)
        
    [b]Affected Browsers[/b]
    n/a
        
    [b]Operating System and Service Pack[/b]
    Win 7 64bit
        
    [b]Construct 2 Version ID[/b]
    r197
  • I just use the comments. I make a key and keep it on the event sheet that only has global variables. That way I can flip to that event sheet reference it, and flip back.

    (You can move all your global varibles to a seperate sheet by selecting and cutting them and pasting them in the new event sheet.

    You will get a warning the events that reference them would be lost, but if you paste them immediately, the events all come back. An event sheet with only global variables, does not have to be included anywhere.)

    You can use Shift Enter in the comment to make it a multiple line comment. Here is an image I posted in the past: (mine are green)

  • Had I seen the new blog before answering this, I would have mentioned it. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";-)" title="Wink">

    Mythbusters Dirty vs clean car was a surprising result. Golf ball effect. Dimples are better. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";-)" title="Wink">

    http://www.discovery.com/tv-shows/mythb ... clean-car/