Ashley's Forum Posts

  • Actually, for ball behavior, all you need to set the X and Y components are:

    Set angle of motion to angle(0,0,x,y)

    Set speed to distance(0,0,x,y)

    Do you think I should add special actions?

  • Yeah, the new physics engine has a few bugs. We'll try have them sorted for the next build.

    I'll add that to the ball behavior quickly...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think with knocking players back according to damage, you can't just work out the exact correct ratio. It's the kind of thing you just tweak until it looks/plays right.

  • How are you using Erase? You need at least two layers, and the top one should have "Force own texture" enabled, with an object with Erase on it. It'll cut a hole down to the layer below. I've got a PS 3.0 card and it works fine for me.

  • Can you upload .cap files demonstrating each of these 3 problems reliably?

    I think it'd be difficult to add crash checks all over Construct at this stage, and there's a link to Report a Bug on the Home ribbon page, so I think we'll have to leave it for now...

  • when placing a hotspot there is NO WAY of writing in coordinates to center its position in the window frame

    If centering is what you want, hit 5 on the num pad (num lock needs to be on I believe). The other buttons correspond to the corners and edges.

    [quote:3zhxdab7]also id like for it to be possible to play multiple sounds on the same channel at once, i.e overlap a sound on itself

    In the Directsound object, use Autoplay file/resource and it'll mix the sounds on top of each other. You can only play one sound on one channel, but there are 64 channels in Directsound, so you can play up to 64 sounds at the same time.

    [quote:3zhxdab7]when you destroy an obj using the advanced grayscale effect it crashes the exe

    Please submit a .cap file reproducing any crashes you find - otherwise it's extremely difficult to do anything at all about it!

    [quote:3zhxdab7]maybe add something like the flame plugin

    Not sure if this is exactly what you're after, but you could try the Particles object. There are some examples here.

    [quote:3zhxdab7]oh ya and maybe alow us to make our on icons for the exe (like mmf2), so that it looks more professional

    In the Resources bar, you can edit the Default icon.

  • Nice artwork! Runs fine for me here - but the controls are pretty crazy!

  • Hmm, that's odd, no error messages at all? I've checked the HLSL for the Magnify effect and it definitely uses shader 1.4. All I can guess is ATI may have been bending their specification a little when they said it can do 1.4... video card manufacturers will do anything to get the edge over their opponents, so they might've half-implemented it or something.

  • This example shows how you can improve the way enemies aim at the player in your games. I made this because a lot of games use the "dumb" method, which is pretty rubbish. Here's an overview of the 3 layouts in this file:

    Layout 1: "Dumb aim": just always set angle towards player, and shoot regularly. By the time the bullet arrives, though, you'll have moved somewhere else, so it's easy to avoid fire. A lot of games do this, and you can just skip straight through heavy enemy fire by keeping moving!

    Layout 2: "Approximate aim": work out how long the bullet will take to arrive, then aim at where the player should be after that amount of time. Good, but not perfect - if the player moves further or closer away, the time of arrival changes, then the bullet misses. So some paths you run still mean enemy fire lags behind you. Not good enough!

    Layout 3: Perfect aim. Solves the equations to work out precisely where to aim the gun such that when the bullet arrives it intersects exactly with the player. If you run in a straight line, the enemy fire will hit you with 100% accuracy. The only way to avoid is to change speed or direction. Much more realistic and challenging! No more plain sailing through enemy ranks!

    The maths is provided in a comment in layout 3 and is pretty hardcore (I worked most of it out myself ) so you've been warned. I think I might make this a built-in expression or something, because it's very useful for gameplay and the formula is pretty complex.

  • Works fine for me - attached file has a magnify effect on a sprite with mouse movement. Should deform the grid as you move the mouse.

  • Guys... let's clean up this topic...

  • Maybe a stickied thread could be made that explains how to use the fallback feature when pixel shaders aren't supported?

    Well, it's described on the Wiki. All games ought to have effect fallbacks and be playable without any shaders at all.

  • If it runs at a different speed when you go to Unlimited framerate mode, that's a bad thing - it means your game is framerate dependent. And since V-sync runs at a different framerate for different monitors, the effect will be running at different speeds. See TimeDelta.

  • It's a nice example but it works the same with a normal 'Compare private variable' condition in place of the pick by evaluate...