ranma's Forum Posts

  • This does look like a system issue rather than a construct issue to me. I fiddled around with the mouse speed and precision settings in my control panel and they both affect how much a box with Mouse Behavior lags behind it (and yes, mine lags as well, but not nearly as bad as in the video that was posted). I would guess that the amount of lags varies from system to system. Hell, what kind of mouse you have might even have an effect on the matter.

    when i use a graphic tablet (wacom), this also happens. also I tested it on two other computers (both laptops) - and on one the lag was somewhat the same, on the other, it was quite small!

    i think it has something to do with the graphic card, the computer with the smallest lag is actually worst of all three, but it has an ati card, other two computers have nvidia. any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't know if this is an issue with the v-sync. If it is just a visual thing wouldn't other input lag just as much as the mouse? The mouse location lags very noticeably even with the windows cursor turned off.

    ....... The same with keyboard controlled behaviors. Help, pretty please, anyone?

  • Have you tried not using timedelta?

    Something like:

    Always

    >sprite set position to mousex, mousey

    I think there will always be some issues using the mouse behavior, especially since the actual cursor is not confined to timedelta. On the other hand your going to get some "skipping" if you dont use timedelta, especially with a sprite so big.

    removed behavior, added your event, lag's the same.

    also, made a 10x10 sprite, no change.

  • > Well, recently I noticed a HUGE input lag. When you create a sprite (say 128x128 red square) and give it a mouse behavior it will always follow the mouse, but with some kind of lag. The same with keyboard controlled behaviors. Help, pretty please, anyone?

    >

    Switch framerate mode to unlimited, just to see if it still lags.

    nope, in unlimited mode it does not lag. but I don't think it a good solution :/

    edit: in vsync it runs on 60fps (lcd screen), my specs: athlon 64 x2 2,9ghz, 2gb ram, nv geforce 9600gt so I don't think it's a hardware related problem

  • I uploaded a video here:

  • a preview video for this topic

  • You can always hide the Windows mouse cursor so you can't see the difference between that and the sprite cursor.

    I know, but when I do that, it feels very strange when you move your mouse and wait few ms for the cursor to move :/

  • Construct uses a double-buffered, V-synced display for optimal rendering quality - and this inevitably causes some lag. How bad is it, though? Usually it's fairly small.

    well it's quite ugly, when using sprite as a cursor, its noticeable, ill try to create a movie to demonstrate this somehow, please wait... loading

  • Well, recently I noticed a HUGE input lag. When you create a sprite (say 128x128 red square) and give it a mouse behavior it will always follow the mouse, but with some kind of lag. The same with keyboard controlled behaviors. Help, pretty please, anyone?

  • Some electronic components (specially capacitors and coils) begin to make noises under some conditions due long usage cycles (when their life cycle is near to it's end). How old is your graphics card?

    In case it's not that old, it may just be defective components.

    about a month, just like the rest of the intestines. brand new thing

  • Anyway the sound could be generated by the high frequency work the GPU is doing when in full work at unlimited framerate.

    well actually this seems to be the problem, google said that gigabyte fanless gpus tend to do that and it is quite normal. thanks, my precious is saved

  • This might sound silly but electrical components are funky like that.

    Try the .cap, make sure you can hear the high frequency, then unplug (not turn down, UNPLUG) the speakers/amplifier and turn off your monitor.

    If the sound persists..... worry, I guess.

    Sometimes badly isolated cables can generate sound on speakers or even CRT monitors (dunno the others), and that's harmless. Annoying but harmless.

    On my old CRT I could HEAR MY MOUSE CURSOR going over bright lines. It was freaky.

    well, as I told in the first post, the sound comes from inside of my computer, not from the speakers / monitor. It is so quiet sound, that I think if I'd close the computer case (I have it open right now) I wouldn't even hear it, but that's not the solution

  • well on one hand I am worried about this, on the other I want to set the unlimited framerate mode and run the app for an hour / see what happens.

  • well, i don't think any fan can produce such a high frequency sound, besides my gpu doesn't have a fan

    also smart fan control is turned off on my machine, so It can't be the cpu fan going faster and slower issue

  • Hello again

    I have a question about unlimited framerate. My specs are below. The thing is, when I run almost any project (even empty) in unlimited framerate, insides of my computer makes strange, very high frequency (about 15000Hz, I even measured it!) sound. I don't know what piece of hardware does it (my bet is on graphic card). When I switch to v-synced, it's ok. I tried to setting the framerate to fixed at the value shown as the FPS in the unlimited mode (about 10000) and it doesn't make that noise then (but renders at 600 FPS). creepy.

    So the question is, what the hell is that sound and where does it come from? Also can it do some sort of damage to my precious?

    specs:

    gigabyte ma770-ud3

    athlon 64 x2 dual core 5600+ 2.91GHz

    2 GB ram

    gigabyte geforce 9600gt 1gb silent pipe