R0J0hound's Recent Forum Activity

  • It's no simple 1 line calculation, but here is one way to do it.

    http://dl.dropbox.com/u/5426011/examples7/createbyname.cap

  • Here's an example:

    http://dl.dropbox.com/u/5426011/c2/word_search.capx

    The word search is pre-made, making it generate a word search from a list of words is another can of worms.

  • The alien sprite's "hit" animation doesn't have an image point defined, so it defaults to 0,0.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The official FAQ says they will eventually make one, but are finishing up the html5 exporter first.

    http://www.scirra.com/construct2/faq#exe

  • Here is your fixed capx:

    http://dl.dropbox.com/u/5426011/fixed/AngrySalaryman_003fixed.capx

    The Images for AlienActor, Alien_RightHand, Alien_Rightfoot, Alien_LeftFoot, Alien_Body, Alien_Head, Alien_Gun and Alien_LeftHand were all missing and need to be re-imported.

    This bug sounds just like the bug here, which should be fixed in r60.

    If it's different here is the check failure:

    ---------------------------
    Construct 2 Check failure
    ---------------------------
    Check failure!  This is probably a bug:
    
    Cannot find project file for animation frame
    
    Condition: FileExists(GetProjectPath().c_str())
    File: Projects\AnimationFrame.cpp
    Line: 186
    Function: void __thiscall AnimationFrame::Load(const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &)
    Build: release 59 (32-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   
    ---------------------------
    
  • I had a look, and found a few solutions.

    I did the kickback by adding velocity to the opposite direction of the orc.

    The "death" animation isn't as flaky now, and the "block" animation should work better now. They use timers made with private variables.

    The text glitch was simply the sprite that the spritefonts used flashing one very large frame. Setting animation speed to 0 fixed that.

    http://dl.dropbox.com/u/5426011/fixed/orc.cap

    A few observations though:

    Generally it's more efficient to build your layout with many smaller pieces instead of on large image. In your case it would at least be more efficient to use a sprite or tiledbackground instead of a canvas.

  • To destroy the first picked "box" Sprite use "SOL":

    SOL.box.Destroy()

    To destroy all the picked "box" Sprites:

    for obj in SOL.box:
        obj.Destroy()

    "SOL" stands for Selected Object List.

  • If you put the whole level grid into an array you can set it up to just create invisible collision tiles around the player, and when you switch the collision tiles can be created in the empty space.

    http://dl.dropbox.com/u/5426011/examples6/negativeSpace2.cap

  • Would this work?

    Pull global('file') out of the quotes and just combine it with &.

    AppPath & "GameFolder2\" & global('file')

  • I looked at XAudio2.csx with Dependency Walker and it needs c:\windows\system32\XAPOFX1_1.DLL. That dll is normally installed when updating directx, but putting it in the same folder as the exe should work.

  • There are probably some dll files he needs installed. When you get the error open 4.csx in a text editor and search for "csx", that should give you the actual plugin name.

  • Ashley

    There are two bugs this exposes:

    1. The collision position is not updated when setting an object's position to another object's hotspot.

    commonace.js line 107

    2. If the "push out at angle" action is used I get a grey preview in firefox. The error console said ux and uy were not declared.   

    behaviors\custom\runtime.js line 349

    Edit:

    Found another bug, the angle used with "push out at angle" needs to be converted to radians.

    With those fixed, the example should work better.

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 155 followers

Connect with R0J0hound