Ashley's Forum Posts

  • Try (MouseX - ScrollXLeft) * 0.00155 and (MouseY - ScrollYTop) * 0.002.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah, it shouldn't work like this. Submit it as a bug to the tracker.

  • Hmm, maybe this is a Vista bug. If you change the order of the layouts and it starts on the wrong layout, does it still do it when you save and reload the .cap? If so, can you send me one of these .caps that runs layouts in a different order to the way the project bar shows them?

  • The expression timer returns the time in milliseconds since the start of the layout. So timer / 10 will give you a value that increments 1 every 10 milliseconds. If you don't want all the decimal points, try int(timer / 10).

  • if i drag a different layout above the engine layout in the project menu on the right... it doesn't change which layout loads first (this was the first thing i tried).

    It does, I just tried it - a horizontal line appears where the layout can be dropped. All you need is a blank layout as the first layout which jumps to the layout you want.

  • The first layout isn't your engine if you add a new layout at the start!

  • Fixed unmuting.

    Can someone verify that if they previously heard no sound the DirectX update fixes it?

  • Layout 1 always loads first. If you want to change it, insert a layout at the start of the application, and have an event like "Start of layout - go to layout 3".

  • Beta 3 just has two small fixes - master volume works and there was a bug calling Set Volume after muting a channel.

    If this doesn't work - especially if you are on Vista - try installing the latest DirectX runtime and try again. That ought to fix it. If that works, I can start thinking about releasing the next build. If that still doesn't work, try running the application in the debugger and paste any errors that come up here.

  • The 3D box source is actually now on the CVS plugins module. I can still email it too if you want.

  • We now have the full sources to two plugins on the CVS, and we plan on adding more soon.

    3D Box is an interesting plugin because it demonstrates how to render 3D from a plugin. However, much of the code may be subject to change. The way it renders 3D is certainly sub-optimal; the engine may change in future to make 3D more efficient - so be aware of this if you plan your own 3D plugin. 3D Box's code is a little messy, but gets the job done and hopefully you can make sense of it (if you have any questions just ask). 3D Box was developed by David and I.

    XAudio2 is a non-layout object like Mouse & Keyboard, which doesn't do any drawing. It provides a complete game audio engine. I have tried to write the code to be as clean and well designed as possible. XAudio2 should be considered a model plugin for interested developers: it uses the SDK in a well structured and effective way. The ACE functions are thin wrappers to the underlying CXAudio2 class, errors are handled by exceptions and passed to the debugger, and serialization of setup parameters is handled by a class inheriting CXAudio2's setup parameters. When the documentation and examples are also finished and it is out of beta, these also are intended to be ideal examples for other developers (and hopefully where all official plugins will end up). Edit: documentation subsequently completed

    Hope the code helps potential developers, more on the way soon!

  • I'll email it to you. Send me a PM.

    Ideally it'll all the on the CVS soon, but it's a big job...

  • This should be fixed in the next build. In future, if you want to be 100% certain that your tiled backgrounds won't seam, use a power-of-two sized texture in the tiled background (eg. 32x32, 64x64...)

  • Hmm, this has been reported a lot lately, I'll definitely try and sort something out for the next build.

  • the only way i found to find the edge of the window was to use the window object, and i found that it included the border of the window.. which made things a tad more complicated. i wish it was easier to just find the edge of the gameplay area.

    You want the client X/Y, not the window X/Y.