Somebody's Forum Posts

  • That I have already fixed, but the original problem remains - you can only load the given file once in a row.

  • A mild bump as this is still an issue...

  • - that's the ticket! The need to shift the creation action by a tick - I did it in a slightly different way (setting a variable that's checked - so this happens on next tick) and now it works.

    alextro's solution would also work I guess, but I have MANY keyboard functions so adding the drawing subroutine to each one would be a bit messy.

    About the look - this was a very rough demo capx of the idea, in reality it looks like this:

    Thank you both for your time.

  • Just to add a little note - my suggestion is based on possibly needing to extend the time (like if you pick up a time bonus) and also being the most precise in such a case. Of course every X seconds or Wait works as well if there's no need to change the possible timeframe on the fly.

  • Well, how would you do it in real life? Right, with a timer! So build one - Make a variable, say, Timer and do something like Every tick Timer = timer + dt. Then on Timer > 120 (seconds) System: Go to layout - whatever.

  • Hi, all.

    I have a problem with this seemingly simple action:

    [attachment=0:2rcc2a25][/attachment:2rcc2a25]

    One could assume that at the moment of a keypress an object would be created at the coordinates given - either where the object was or where it ends up being. What we get is this:

    [attachment=1:2rcc2a25][/attachment:2rcc2a25]

    For some reason nothing happens on the first keypress and the following ones always lag behind.

    Question: How do I spawn an object on any key pressed OVER the base object and when the key is pressed and not a whole step later?

  • Btw, Ashley, is there any way to create new styles? I wouldn't mind trying my hand at making a smooth darker theme.

  • Hi, masters of the web.

    I have noticed that the site is actually quite slow, especially on mobile devices (where typing anything is a nightmare) and it seems all these webfonts might be to blame. Is there a chance for a style that omits them - you can leave the colors and size, that shouldn't be a problem, just let the native fonts be used. If there was a little switch in the profile that enables this that would be great.

  • Sorry to bump an older thread, but these are REALLY good, thank you for making a decent quality blur effect with a good range to play with. This is opening some awesome possibilities for a tool I'm working on.

  • Well, sounds like the brand's been established then StuffGEN it is.

    Great things are up ahead, here's a little taste:

    It's growing a bit bigger, hopefully you have got HD screens. Proper selecting of things just like you would expect from an editor - Tab forward, Shift-Tab back, selection rectangles, Shift-select to add or remove. Just some of the upcoming features.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Actually that works perfect for me. I can also adjust the speed by modifying the +2 or -2. And ofc set it to a var if i want and let the player set it.

    Anyway, it works so its fine for me

    Let me elaborate (now that I'm off-mobile) - the bad thing here is your use of a static "2" number - should your game stutter and a tick is lost the plane will still move just those 2 pixels - whether it's been 1/60th of a second or 1/6th.

    So if you insist on doing it by hand - go ahead, but use dt - delta-time. It is the amount of time passed since last tick, assuming that one tick is 1. So if it was 1/60th of a second the value will be 1/60. Thus, if you wanted to moved 2px 60 times a second it is 120px/per second. So you should change that code to Y =Y + dt*120, for example.

  • Hard to tell without any context - add a sine behaviour with a vertical movement so it looks like it's floating?

  • That is really bad solution for several reasons. Do look into lerp (just check the space shooter example project).

  • brunopalermo - very elegant way of doing a size check with the modulus, I like it. Gotta write it down to remember.

  • Glad to bring some color into your world