Mipey's Forum Posts

  • Hmm, alternatively I could use trigger events to alter Python variables and then check those in the script. That way I can preserve large blocks of script without breaking it up with events.

  • How would I check whether a trigger has been triggered or not using Python script exclusively?

    Such as OnAnyClick (MouseKeyboard object).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • While this remains unresolved, I've found an alternative:

    Using the Function Object, create a function "Create Object" with the following action:

    System > Create Object by Name (Function.Param(1)) on layer (Function.Param(2)) at X (Function.Param(3)) and Y (Function.Param(4))

    Then I use the following script to create the object:

    Function.AddParam("Text")
    Function.AddParam("Main")
    Function.AddParam(System.MouseX)
    Function.AddParam(System.MouseY)
    Function.Call("CreateObject",0)
    Function.ClearParams[/code:ey2068uy]
    
    However, I'd like to be able to create objects directly through Python script. This is bit of a roundabout solution...
  • I can't seem to create or spawn objects by using a script, say:

    System.Create(Sprite,1,100,100)[/code:j289hzd6]
    
    Doesn't seem to do anything. Am I doing something wrong?  
    
    [i]Edit: I'm stupid. Quotation marks![/i]
  • Which latest version do you mean? The stable or unstable one? It seems there is a major confusion regarding the "latest" version.

  • Looks like a corrupt .cap. Definitely post it on the tracker for devs to look at. They're dying to fix such bugs

  • This would be the best time to learn to backup your work. It is the universal skill in any industry

  • Hmm, could be the broken .persist file... delete the .persist file of that project and see if it loads.

    Also, I'd suggest grabbing the latest release (albeit marked as unstable) - 0.99.84, you can find it here. Try that.

  • Latest stable release (0.99.62) or latest unstable release (0.99.84)?

  • Meh, no 3D, weapons, ridiculous colors or boobies.

    Pst.: don't take me seriously.

  • Are you using the latest unstable version of Construct? 0.99.84 has the SSE2 fix.

    Also, make sure the VC 2005 redistributables are installed as well as DirectX 9 is updated with necessary files (press yes on popups when you install Construct).

    Create a brand new project and see if it still crashes.

  • There are no events in this project, is this intended? Anyway, it seems to run fine for me, it is just the four objects (sprite, platform hitbox, tiled background and camera). No crashes. I am using Construct 0.99.84

  • It is on the right pane, select Project and in the tree there are Global variables

  • Or just count ticks every second.

    + Always

    Add 1 to global('FPS')

    + Every 1000 ms

    Set Text to global('FPS')

    global('FPS') = 0

    That'll be the most accurate representation of FPS, because it counts actual frames.

  • Okay, I just tried opening the Zombie-based WIP in .9984 and it ran fine. The .exe that came with it gave a runtime error, though.

    I had a lot of problems trying to get .caps to preview with .9962 so I moved up to .9984 today and now all of my old projects work again.

    XP Home

    2 gigs G Skill DDR

    3.2 ghz Athlon XP

    Radeon 9800 pro

    SSE2. Re-export the game to EXE in .9984 and see if that works.