ErekT's Recent Forum Activity

  • You can place them wherever you like I guess, but I always leave em at the top. Ensures that the included event code is available to the entire event sheet you're importing it into.

  • Is it possible to switch between linear and point sampling on the fly? I'm doing a tv mode effect that relies on the linear sampling mode and would like to include a setting to turn it off in-game.

  • I'm not familiar with the plugin/behaviours you use for spaceship control but how about including a countdown variable that runs whenever w isn't pressed? Pseudo-code:

    System -> every tick

    If (key.w <= 0 And ship.speed > 0)

       If (ship.countdown > 0)

          ship.countdown -= 1; (or whatever)

          ship.speed *= ship.countdown;

       Else

          ship.countdown = 0;

          ship.speed = 0;

  • Aha! That worked, thanks for the help! :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello.

    My name is ErekT and I am experiencing funky behaviour when I switch layouts in-game. My player object is global, has platform behaviour modified through events, and a sprite and camera focus object attached to it. On the first layout everything is swell but on switching back and forth between the first and second layouts strange stuff begins to crop up.

    On the second layout, the player object, which is the one colliding with things, will begin to trail off away from the sprite pinned to it along with the camera object the further the scene scrolls. That's pretty strange in itself, but weirder still; the camera focus has a scroll-to behaviour attached to it so scrolling is supposed to follow the focus object at all times. But it doesn't! It follows a position in front of the sprite instead for some reason. There's always the chance I just goofed something up of course, but this is really beginning to smell like a bug in Construct.

    Switching back to the first layout things behave as normal again, except now the pinned sprite has become slightly offset from the player object. This is cumulative: Every time the game returns to the first layout the sprite position gets displaced some more. No biggie, if the pin refuses to behave I can just ditch it and set the sprite position manually instead. It's still odd, though.

    Here's a link to the project. The player object is the green box and the camera focus is the purple one. The player spawns outside the screen so just hold right until the layout changes. Double-tap to run.

    dropbox.com/sh/wnurgzzx0csw37p/62k89jIl3w/Prototype_Folder.rar

    I have no clue how to fix this so any help is very much appreciated!

  • You do not have permission to view this post

  • Yeh, you can work around it with more events but it's a bit clunky. Hope they plan to add this in the future.

  • Yo.

    I'll second alspal's crt screen suggestion. Great for simulating the classic arcade look.

  • Cheers, I also checked out the images in an exported project. Looking good but are image sizes customizable? Didn't look like it in the blog post. If not then no biggie.

  • Thanks, that's good to hear :)

  • Hello everybody!

    Just discovered Construct 2 and it seems really promising. I have been using the blitzbasic languages before and while they're very nice and capable I need something I can produce stuff with super-quick.

    Before I dedicate lots of time to learning Construct tho, I'd like to ask a couple of questions about its flexibility.

    First up: Sprite atlases. Unlike regular sprite sheets with even-sized cells, these consist of sprites of all shapes and sizes packed together on a single image to preserve memory. I got some hefty amounts of animation frames I'd like to use. Does Construct support this kind of thing? And if not, is it possible to script a drawing function that can draw rectangular regions from within an image to animate sprites?

    Cameras: I'd like to have a 'lazy' camera that catches up with the player with a short delay, is camera behaviour fully scriptable? What about player/enemy movement? Can we set up control schemes and switch between them in realtime, either through script or the in-built functionality?

    Thanks in advance. Sorry if these things have been asked a lot before.

ErekT's avatar

ErekT

Member since 17 Dec, 2012

Twitter
ErekT has 1 followers

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies