Ashley's Recent Forum Activity

  • This is a really nice effect, but I don't think it can be done as a pixel shader - shaders themselves can probably do it, but limitations (such as bounding boxes) that Construct places on shaders makes it difficult. It could be coded as a 'movement', i.e. you add it on to the object and it changes how its drawn (a bit like what Rich said). This has the added advantage it doesnt actually require any pixel shader hardware - it's just drawing the sprite a bunch of times!

    Also I'm pretty sure this would look better in Construct - since Construct uses floating point X and Y coords, you wouldn't get any of the step-aliasing I can see in your screenshots, if you look closely, especially in the first and last pictures. However, I still don't think it's a true motion blur - you can see outlines of the original image at the first and last position, when really no individual image should be visible. Ideally, each step should be rendered and blended equally to a final image (temporal anti-aliasing), but this is probably near enough for most uses.

    I'll see if I can come up with something for the next build!

    Another more interesting idea is full-scene motion blurring which is possible with temporal anti-aliasing - but this is trickier, I'll have a think about that...

  • MMF effectively uses a huge texture the size of the frame for the background, and when you paste something it modifies this texture. Construct does not have any texture for the back of the layout, because it limits the size of the layout to the amount of memory you have: a relatively modest 5000x5000 area would take up at least 75mb of memory in MMF, but in Construct, it doesn't take up any at all. I think they have a virtual size feature which works around this, but I guess you can't paste anything past the actual size. A large 50,000 x 50,000 area would use a rather prohibitive 7.5 gigabytes of memory for the background, whereas Construct would still use no memory.

    So this is why you must create objects instead of pasting in Construct. But there's no object limit in Construct and sprites with a single animation with a single frame to display, which are not moving (aka a static, unchanging sprite) are highly optimised and you should be able to create them in the high tens of thousands before the object count starts impacting performance.

  • I would give the turret movement another shot - it does the range checking for you, and it does it very fast and efficiently (it's compiled, optimized C++ code inside the plugin rather than events). So on the contrary, it would be a waste of resources to get it working with events when the turret movement can do what you want!

  • Yeah, the solution is in the question

    15 % 6 = 3

    Both sides of the % must be integers.

  • That should work fine. Try an event like this:

    + Always

    : Sprite - Set Y to .Y + 1

    using .Y is a shortcut for Sprite.Y if it's an action in the same object.

  • I don't think 'random' can take a negative value. By saying random(0-639) you're not saying between 0 and 639, you are literally saying zero subtract 639, which is random(-639), which probably isn't doing what you want it to. random(640) goes between 0 and 639 inclusive, which is probably what you want.

  • Deleted other thread, please don't cross post! Happy birthday for saturday

  • Instead of 'print randchar[cox]', you just need an ordinary Set Text action with a String object. As the expression for the text, you can enter Python("randchar[cox]") - this expression evaluates the Python variable and returns it to Construct. That should do what you need.

  • Yeah, for now you can use the Mouse & Keyboard object and create your own movements.

  • There haven't been any important stable plugin updates between builds since the auto updater was implemented. Any updated plugins on the CVS are not guaranteed to be stable or work at all - in the past when I've linked you to the CVS to get an updated plugin, it was simply a quick measure to patch something important, or just for general availability. So I'd advise against updating your plugins off CVS between builds, unless I've explicitly said it would work (there's no guarantee for example a 0.91 .csx file is compatible with a 0.90 build Construct).

  • I'm not sure this is possible yet, the controls system only supports one set of inputs! Multiplayer support is on the todo list though...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Everyone on the team is writing Construct in our spare time around full-time university courses. My course is sometimes quite demanding too so we simply cannot publish estimated timescales for releases. When they're done, they're done!

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,423,694 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x108
    Coach One of your tutorials has over 1,000 readers
  • x62
    Educator One of your tutorials has over 10,000 readers
  • x3
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x35
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs