Ashley's Forum Posts

  • Put a PCM .wav file in the same directory as your game, then "Autoplay file" with the filename should make it play. For example, upon any key pressed, autoplay play "myfile.wav".

  • Doppel's right, they're all already under 'Convert' in the system object (and convert to integer/float accept strings). Sometimes this is done automatically, for example you can assign "55" to an object's X co-ordinate.

  • I'm porting the wiki to MediaWiki, it's much nicer!

  • [quote:lqep9lgs]Is ' ' for a variable and " " a string or name?

    That sounds about right. 'Single quotes' always refer to global or private variables. "Double quotes" refer to strings.

  • LOL deadeye, considering nobody got hurt, that's kinda hilarious

  • Noted, will be fixed next build.

  • There's some stuff like that in file - new - template.

  • Nice game, hehe - but still looks like it's leaking a little bit of memory - could you send the .cap to ? Thanks...

  • I'm pretty sure the 3D Box problems are a side effect of the display updates that have been going on. I'll see if I can do something about it.

  • http://downloads.sourceforge.net/constr ... irror=osdn

    Heh, well... after 3 weeks of code changes some things didn't go quite right, notably the display engine, which was leaking memory all over the place. That's now fixed, as well as one or two problems that were reported. If you downloaded 0.94, you should get 0.94.2 ASAP.

    Changes from 0.94 -> 0.94.2:

    • [FIX] Crash in .caps using Physics
    • [FIX] Memory leak in display engine
    • [FIX] Prompt to crop images when loading into Picture Editor
    • [FIX] Platform movement behavior

    The 0.94 changelog for reference:

    Behaviors

    • [ADD] Fade behaviour: easily fade object opacities without needing private variables or timedeltas
    • [ADD] 'Compare speed' condition to 8 Direction movement
    • [ADD] 'Set rotate speed' action / 'RotateSpeed' expression to Car movement
    • [ADD] 'Get target UID' to turret movement behavior
    • [FIX] Gravity direction in Platform Movement Behavior

    Event sheet editor

    • [ADD] New Find dialog to Event Sheet Editor to locate text in expressions. Click an event to switch to it
    • [FIX] New system for Copy To Text to ensure stability in chronological mode
    • [FIX] .cap files became corrupted when changing a condition's object retrospectively
    • [FIX] Global variables sometimes muddling over one another
    • [FIX] Inline editing of parameters failed sometimes
    • [FIX] Inserting a system expression from the object panel gave wrong syntax
    • [CHANGE] New Event Wizard; much faster entry via a progressive filter.

    Example: Type S, hit enter, type Cl, hit enter

    Layers

    • [FIX] Effects now initialize properly if layers are hidden
    • [CHANGE] Layer thumbnails are now updated if layer is invisible
    • [CHANGE] Clicking an object in the layer bar now shows animations

    Layout editor

    • [ADD] New filter to the Insert Object Dialog to find key words in object descriptions and ACEs (to find what object has what functionality)
    • [FIX] Data & Files objects show in Insert Object Dialog once more
    • [FIX] Incorrect icons in Insert Object Dialog for applications
    • [FIX] Deleting an object in a cloned layout now doesn't affect the original

    Picture editor

    • [ADD] Detection of loading images too large for your hardware to support. Prompts if you want to crop and continue.
    • [FIX] Changing tools and resizing wont leave brush mark behind
    • [FIX] Pasting PNG into Picture Editor now imports alpha
    • [FIX] Resizing crash in Picture Editor
    • [FIX] Eraser tool in Picture Editor

    Plugins

    • [ADD] New Version Info object to get version and company information from .EXE files
    • [ADD] System Information object is back
    • [ADD] Mouse & Keyboard: 'Either' now an option for detecting single or double clicks - helps with click-based shooting games
    • [FIX] Text objects support rendering at floating point x/y coordinates for smooth scaling/scrolling etc
    • [FIX] Canvas: supports being resized with 'Grab layout' enabled
    • [FIX] Rotation errors on 3D box

    Projects

    • [FIX] Can no longer drag layouts past event sheets or event sheets past layouts in Project Bar
    • [FIX] If a file failed to load it no longer shows in Project Bar
    • [FIX] Bug when deleting layers; objects were sometimes not deleted correctly (caused growing .cap files)
    • [FIX] When adding event sheets they are immediately added to the Project Bar
    • [FIX] Crash when loading with a missing effect file (.fx)
    • [FIX] Expanding .cap bug where an infinite loop could occur while saving
    • [FIX] Crash when unloading projects
    • [CHANGE] Files now not written to disk until save is complete without errors (should mean no more lost .cap files)
    • [CHANGE] .cap files have an associated icon in Windows (missing file from installer)

    Runtime

    • [ADD] MouseX / MouseY expressions to Mouse & Keyboard object (shortcuts to system expressions)
    • [ADD] Set fullscreen/windowed mode at runtime
    • [ADD] 'lerp' (linear interpolation) system expression: lerp(a,b,x) calculates a + x(b-a) like the HLSL intrinsic
    • [FIX] Running a fullscreen preview no longer disables all effects in the layout editor
    • [FIX] Improvements to fullscreen mode at runtime - lost device handling, fixed some lockups and glitches
    • [FIX] Rendering glitches occasionally occurring with layers and effects
    • [FIX] Co-ordinate problems when using layouts smaller than the window
    • [FIX] Certain combinations of loop conditions crashed the runtime
    • [FIX] Scrolling during transitions affected both frames
    • [FIX] Crash using transitions in a single layout preview
    • [FIX] Crash simulating shader with transitions
    • [FIX] Getting animation name now works correctly
    • [FIX] Mouse & Keyboard: problems testing clicks/mouseovers on objects with scaling
    • [FIX] Right clicking titlebar / messageboxes / modal dialogs no longer jump timedelta values (caused jumping movements)
    • [FIX] Crash creating objects on layer 0. Referencing an invalid layer also causes a debugger prompt.
    • [OPT] Significant improvements to the rendering engine efficiency; improvements of up to 20 times faster in some areas believe it or not!
  • Wow! Lucky everyone's OK! How fast were they going?

  • Two builds should coexist fine. What's the exact text of the message box when you import a 32x32 image?

  • Turns out there's a fairly serious memory leak in this build. I'll try have a 0.94.2 out soon.

  • The RTS movement internally uses a grid for pathfinding. I think a good solution would be to build in to the RTS movement some kind of functionality to return a list of cells to a destination without moving, or something? It'd save copying and pasting most of the RTS movement code in to a new plugin for this, heh.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you send your .cap file that does this with steps to reproduce the problem to ? Thanks.