Asmodean's Forum Posts

  • Thanks for responding. Regarding CPU-usage in the Task Manager, it is 1% (multi threaded procesors).

    The lagging, do you have it with other capx files too? Or only this one?

    What Im wondering is, if I purchase the full version will I be able to export to windows in another way than html5? This is a deal braker for me, because if yes I will buy Construct today.

    I have the lagging also with other capx. The more complex, more often I see micro stuttering in the beginning, but it is only for a few seconds and I think that it's because of loading of the assets without preloading. I see it only when I start direct with the layout where movement is.

    Every export with construct based on html5, if you have the full version you can export to nw.js that wrapped your game direct in a chromium-based browser. So you have a direct runnable game without browser.

    [quote:2v9iurrd]

    UPDATE:

    I have done the following:

    1) Formated the computer.

    2) Installed new fresh Windows 7 64 bit.

    3) Installed all the up-to-date drivers for all the components, including graphics card.

    4) Updated bios.

    5) Installed Construct 2 and Firefox, nothing else.

    6) Ran the example that Ive posted here (uploaded above).

    Still the lagging problem persists. I am having issues like I mentioned above with the example I uploaded, the two boxes moving.

    I can rule out:

    1) Windows

    2) Graphic drivers

    3) Full hard-drive

    I read somewhere that there has to be a problem with the hardware somewhere, or perphaps a driver, Im not sure. But regarding drivers, there are no errors in the Device Manager under the Windows Control Panel. Same goes for hardware, no errors, nothing.

    Im not sure how to go about it at the moment. Any insight would be great.

    [quote:2v9iurrd]5) Installed Construct 2 and Firefox, nothing else.

    Not any antivirus software in the background or plugins?

    Do you have the lagging with games from the arcade or any other scrolling game?

    Have you tried it in fullscreen? (F11 in Browser)

    What Graphiccard do you have? Can it be that the newest driver has a problem with micro stuttering? (Do you google it)? Could it be a problem with the vsync in you driver?

  • I've tried both of your capx without a big problem. The preview in different browser works. I have only sometimes the problem that the browser not comes up into foreground.

    I do have the lagging problem, but only in the beginning, after a few seconds it mostly works without problem. What I recognize is, that the browser seems to be sensitive against other program starts or clicking intensive with the mouse. You could look at the Task-Manager if there is any program what start uses CPU-Usage when the lagging appears.

  • Make the Periode of both sine-behaviors smaller (both the same value) and make the period-offset a quarter of the Periode-value

  • Maybe it is a problem with rounding? Is that what you try to achieve?

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

  • The problem is, if you use 'Start ignoring Platform input' 'simulate platform controll' will also not work.

    Does the whole rolling not work if you disable the event in the ladder group was that this event started again the Platform input that you stopped again it in the rolling-conditions. So it switched back and forth. I set instead the jumping and deceleration to zero. Maybe there is a better solution but it works.

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

  • Have you set in the 'configuration settings' Sampling to point? If not try if that helps.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would do it without a loop. Make an extra global variable that act like a boolean like 'isAppend=-1'

    Then you could use this:

    System| isAppend=1 -> 'Append your Text'

    Button| on clicked -> System| set isAppend to isAppend*-1

    random event triggered -> System| set isAppend to -1

  • Maybe I understand this wrong, but you postet the solution already.

    If you named all of your animation like Animation1, Animation2, ....

    Use ' Set animation to "Animation"&BossNum '

    This will give you: Animation1, Animation2 ...

  • After saving you array with 'set item "myArray" to array.AsJSON'. You load it after triggering the 'on item get' event.

    some event -> LocalStorage| get item 'myArray'

    LocalStorage| On item "myArray" get -> Array| Load from string LocalStorage.ItemValue

    Now it should be loaded.

  • I can't really help, but what I think what happens is that after the load the value of the number of repeats isn't set correctly. It seems it is set to one, because only one sprite is spawned. If you wait to save after all sprites are spawned it works correctly. With signal you can delay the save as long the loop has not finished.

    Maybe it's a bug that loop repeats are not stored correctly, you should ask Ashley.

  • The problem is that you didn't reset your scal-variable back to 1 when you change from up to down scaling.

    If scale is 1.8 after upscaling und you try to scale down. The first time you multiply with 1.6, then 1.4 and so on.

    It needs a few click that scale is 1 or below.

    One solution could be that you use two variables upScale=1.1 , downScale=0.9 for up and down scaling.

  • There is a program to generate arrays. Maybe it's helpful for you:

  • I don't think that is a bug. I tried it with another json-file and I had no problem. If you try to get a value from the array you got always a zero. I think the json-file is not correct and cause the problem.

  • mikelantzelo

    The problem is the speed of the sprites, after heating up twice. They move so many pixel every tick, that the collision can not trigger. Your wall is simply not wide enough.

  • double post