Sisyphus's Forum Posts

  • Sorry my english is pretty weak.

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

    Here, i made a little example of that, try to tilt your device left and right, i just try that on cocoonjs 2.0.2.

    Btw, is there any way to test tilting on browser?

    Only if you had accelerometer in your device, i don't know any other way. Maybe someone else know how.

  • How to move an object by tilting the phone?

    I use Cocoonjs and exported it to APK

    Thanks

    Choose "Touch" > "Compare Orientation" > Select Orientation "beta" or "gamma" (beta - front to back tilt, gamma - left to right) and set the tilt angle, then just add sprite > move at angle that you need, or where you need to move it.

  • I guess you could that with a function.

    Both of these functions work, use the one that suits you most !

    You could even add another parameter to set a specific value to those keys, instead of the default 0.

    Now i really believe that construct 2 can make everything, that's clear magic

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How can I add multiple keys in a single line with the dictionary object?

    It works fine if i have separate lines of code like in the sample but is there a way to add new entries on a single line?

    ie.. (Inventory ---- add key "coin,wood,mobdrop" with value 0)

    I don't think that it's possible. At first i want to say that you can possibly use "Add key" > ("wood" & "coin" & "mobdrop"), because nothing except "&" can be used in strings, but then i try that on my own and it doesn't work, the string like that just adds a key "woodcoinmoney", that's how "&" works.

  • This does happen with the System object in a new project if the window is at a certain size. I don't think it has anything at all to do with third party plugins, I think it's an issue with Windows' display of the list control.

    This doesn't happen only with a system object, all objects affected, and all projects. I try to resize window but it makes buttons "blinking", lol.

  • Thanks It works now!!!

    You're welcome! I saw screenshot of your event sheet, better use sprite font instead of text object, using text objects can kill performance.

  • To make things clear: I have a sprite. When It's clicked its gonna add 1 to "a". I want to make when "a" reaches 10, 20, 30, 40, 50, 60, 70 and so on to add 1 to "b". Like this:

    a=10 b=1

    a=340 b=34

    a=555 b=55

    a=29 b=2

    Try "On sprite clicked" > "Add 1 to value "a"" & "Set value "b" to (floor(a/10))".

    see my example: [attachment=0:38hjnqb2][/attachment:38hjnqb2]

  • Maybe this gives some valuable clues; i experienced the same bug on win 7, but only with Kyatric's CBhash plugin. I can confirm this bug is happening with r175 and Kyatric's plugin. All other plugins work flawlessly.

    I don't have any plugins, and never installed them, so i dont think they are causing the problem.

  • I'm not sure, but something like that was discussed here. As Ashley said, maybe you need to ask microsoft tech support, or maybe asus tech support. I got the same problem on surface 2 pro, and i just use mouse, it's more comfortable for me when i work in c2.

  • The same thing is with the conditions.

    Normal condition window.

    [attachment=2:3b6tzfjz][/attachment:3b6tzfjz]

    Condition window after some mouse moves over it.

    [attachment=1:3b6tzfjz][/attachment:3b6tzfjz]

    [attachment=0:3b6tzfjz][/attachment:3b6tzfjz]

    Sorry i made doublepost because can't upload more than 3 files.

  • Some screenshots to show what exactly happens.

    Here the mouse is over the "On start of layout" button

    [attachment=1:1wu5gtu1][/attachment:1wu5gtu1]

    Here i move the mouse under this button and the button disappears

    [attachment=0:1wu5gtu1][/attachment:1wu5gtu1]

  • Problem Description

    Some conditions and actions are disappearing if mouse hovering them then move away, and reappearing if they are clicked or if mouse is hover them again, it happens in windows 7 and ONLY if you set size of text to "Large 150%" or greater in control panel. I dont know about windows 8, but it has 150% scaling too, so maybe windows 8 affected. I try that on different machines with resolution 1920x1080 or greater, and 150% scaling, the problem appears everywhere. Can't say that it prevents me from work, just want to help.

    Attach a Capx

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

    But i don't think it's needed, just set text scaling to 150%, create new project and try to add some actions or conditions.

    Description of Capx

    Empty project.

    Steps to Reproduce Bug

    • Open Control Panel > Display, set text to "Large 150%"
    • Open Construct 2 and choose New Project
    • Open project's Event Sheet and choose an add action or add condition
    • Choose "System" or anything else
    • Move mouse over actions or conditions and you notice the problem, lets say, click Add action > System > Move mouse on "On start of layout" button > Move mouse away from it and you see that "On start of layout" disappeared, move mouse back to a place where "On start of layout" should be, or click there, and it's reappear.

    Observed Result

    Conditions and actions buttons disappearing, and reappearing only if they are clicked.

    Expected Result

    Nothing disappeared.

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (NO)

    Operating System and Service Pack

    Windows 7 64bit

    Construct 2 Version ID

    r173, i can't try 174 or 175 now, but i search the forum and don't find any bugreport with that problem, so i don't think that it was fixed.

  • hi I would like it how it is possible to ask it how to get programed the videot that let him start. or by the time it is valo

    I think you need to post this question here - How do I....?

  • I think it's working as intended. I heard about non duplicate frames. But I've never seen it. I had someone give me a classical animation sprite sheet(as in all files in a directory). and that's duplicated frames... alot. I've heard of non duplicate, but I don't think it's based on image checking. I think it's somethign else.

    I wish C2 went to image atlasing and used refences for sprite images to use. Including cycles.

    Image deduplication

    As a tutorial said, it checks images and should remove duplicated frames. Also, it was discussed here.

  • Image deduplication ought to remove identical images on export. If that's not working for some reason, please make a minimal repro .capx and post it to the bugs forum otherwise it will not be investigated. The most likely explanation is the images are not pixel-perfect identical and have small differences, or are different dimensions.

    Instead of duplicating such an extreme number of frames, it sounds like it would be far better to just have one sprite with every frame once, and then manually use 'set animation frame' instead of re-arranging loads of different animations in C2.

    Ultrathanks for your answer!

    I just right-click-duplicate the frame 5 times in c2 image editor, so i think they are probably pixel-perfect identical, i don't edit the size or anything else. I post this problem to bugs forum.

    Yeah, maybe i can do so, but animations are playing, just in a different order. Making the game with "set frame" option, will make my code over 9000 times greater than with just switching between same reordered animations, it's more comfortable. And it's just sounds sad that, i did the game - everything works good - c2 updated - nothings gonna work, because everythings changed.