Chadori's Forum Posts

  • As a feature request, can you add an action set relative position & a condition compare relative position including the X & Y actions & conditions.

    This is to add an offset position to the object which has the Pin Behavior while it is pinned to another object. So it can freely move within the Pinned To object.

    Also, if it is possible and you have the time. Can you implement a compatibility to other behaviors like the Bullet Behavior by setting its position relative to the native set position, x, y. This is a tough one compared to the other one so only if you want to and have the time to do it.

    Thanks.

  • I've added the C3 version!

  • Bounded Drag & Drop

    An advanced version of the Drag and drop behavior. This drags and drops objects either by mouse or touch with advanced bounding features.

    C2 Addon Download Here: https://www.construct.net/construct-2/addons/94/bounded-drag-drop

    Contains 1 C2 addon & 3 examples .capx.

    C3 Addon Download Here: https://www.construct.net/make-games/addons/91/bounded-drag-drop/documentation

    Contains 1 C3 addon & 3 examples .c3p.

    Icons made by Freepik from Flaticon licensed by Creative Commons BY 3.0

    Bounded Drag & Drop is an advanced version of the official Drag & Drop behavior. One of the main bounding features this behavior have is the "Radius Bound" & "Position Bound", which can be turned on & off at the same time. There are also other included features in this behavior which makes this a very full-packed drag & drop extension for you Construct 2 projects, which will be explained below.

    There will also be a Construct 3 version soon!

    Feature List:

    • Official Drag & Drop :: Axis
    • Official Drag & Drop :: Enable Toggle
    • Dedicated Drag & Drop :: Bound To Features
    • Dedicated Drag & Drop :: Bound By Options
    • Dedicated Drag & Drop :: Bound Method Options
    • Dedicated Drag & Drop :: Exceed Bound Conditions
    • Dedicated Drag & Drop :: Complete Bound Expression
    • Dedicated Drag & Drop :: Axis auto-adjust to bounding inputs

    Feature Descriptions :

    Axis

    On the instance properties bar, you can manipulate the axis in which the instance can move while dragging; This can also be simulated using the Axis auto-adjust to bounding inputs feature. Depending on the option selected, you can simulate an Axis change by limiting the bound to values.

    Bound To :: Radius

    On Bound To :: Radius or Both, you can limit the amount of Bound XRadius or Bound YRadius to simulate the change of Axis effect. Check Example1 on the examples tab.

    Bound To :: Position

    On Bound To :: Position or Both, you can limit the amount of Bound MinX and Bound MaxX or Bound MinY and Bound MaxY to simulate the change of Axis effect. Check Example2 on the examples tab.

    Initial State

    On the instance properties bar & on the event sheet, you can enable or disable the behavior at any time you want.

    Bound To

    On the instance properties bar & on the event sheet, there is an option to choose the bounding to options.

    Off:

    The Off will turn off all the bounding options as if it was an ordinary Drag & Drop behavior.

    Radius:

    The Radius option will bound the object instance to its own

    BoundX Radius & BoundY Radius relative to its Creation Point (X,Y) or also known in the Actions, Conditions & Expressions as OriginX & OriginY which you can overwrite on the event sheet.

    Position:

    The Position option will bound the object instance's position to between

    Bound MinimumX, Bound MaximumX & Bound MinimumY, Bound MaximumY relative to its Creation Point (X,Y) or also known in the Actions, Conditions & Expressions as OriginX & OriginY which you can overwrite on the event sheet.

    Check examples, Example1 & Example2 on the examples tab.

    Bound By

    On the instance properties bar & on the event sheet, there is an option to choose the bounding by options.

    Origin

    The bounding will take effect on the origin of the object instance.

    Edge

    The bounding will take effect on the edge of the object instance.

    Bound Method

    On the instance properties bar & on the event sheet, there is an option to choose the bounding method. There are 2 options, Halt & Clamp.

    Halt

    This bounding method is rough and will immediately stop the dragging and maintain the previous position if the (dragX & dragY) or (TouchX & TouchY) has exceeded the bounds.

    Clamp

    This bounding method is smooth and will continue the dragging of available axis that haven't exceeded the bounds while maintaining the previous position of the exceeded bounds.

    Actions, Expressions & Conditions

    Actions:

    Conditions:

    Expressions:

  • MassimoF - I was on a rush and had no time so I resorted to using Keyboard : Arrow Keys as a method of scrolling. Sorry about that. I am planning to make a complete version soon whenever I get the free time but for the meantime that'll have to do.

    Is it a big inconvenience? If it is, I could add it ASAP.

  • > the way C2 Array handles items is based on the X-axis (Colums). But in real life, table items are on the Y-Axis (Rows).

    >

    Consider reading the linked topic.

    Read it. And my answer was:

    [quote:k5axvqbt]

    Though, i just heard about C3's array editor. Maybe if i have the time i'll make it more compatible with C3's array editor with more features.

    I'm completely aware about how arrays work.

    I'll add an invert option and place the items in the X-axis with complete features i tend to release, 3D array support and dictionary when i redesign it if i have the time or when i need it.

    Though, you don't understand that people are used to this design rather than what arrays are in programming and mathematics. It's like converting table[columns, rows] to array[x,y]. It doesn't match, it's arbitrary to say it is. Since items are placed differently on both cases. This is originally meant for visual ease of use but I understand as you pointed out that you think it's more confusing when trying to place it on events. So it's fair to make an additional option.

  • > REMINDER :: Because of C2 Array's design. The X-Axis / Width & Y-Axis are interchanged.

    >

    In mathematics (and in Construct), the X axis is horizontal and Y is vertical.

    You can check this discussion on the subject, and that's why the C3 array editor has been implemented the way it was.

    I know that of course. I'm just saying that the way C2 Array handles items is based on the X-axis (Colums). But in real life, table items are on the Y-Axis (Rows).

    So for ease of use. I simply interchanged it to compensate for C2's design or all array designs, regardless of coordinate system rules.

    Though, i just heard about C3's array editor. Maybe if i have the time i'll make it more compatible with C3's array editor with more features.

    This tool was made in just a few hours and as i said before, i only made this for the purpose of finishing my project which handles a lot of array data. If people find this useful and they don't have a C3 license to use the native C3 array editor, i'll let them use this.

  • C2 2D Array JSON Generator is a free tool I developed to ease up the development of games. The main benefits of this tool is that it will significantly save up development time, maintain clean events, avoid the thought of choice about using your applications to make the array contents in-game which in some cases is a bad idea for once stored data especially with those with thousands of array elements. Some make separate projects, then use the event sheets to generate their data and download the contents to load it to their original project. By experience, this is a very inefficient method especially if you have numerous data and if the data method is to be updated, adjust or fixed, the event logic too needs to be recreated. Which is very time consuming and isn't practical anymore in the long run.

    Hence, I made a tool that should solve that problem. I've noticed that a complete tool that can manage wider ranges of elements, tasks and user-friendly interface isn't available yet as far as I looked in the community, no free ones at least.

    This program should make game development easier with Arrays. You can even use this program to preview your own Array's data using its visualized interface just by loading the output JSON.

    You can change values through loop by columns / C2Array X-axis (Y-Axis).

    You can change values through loop by rows / C2Array Y-axis (X-Axis).

    You can also set the values of all present elements at the same time.

    Features:

    • Add / Subtract X/Y Axis size.
    • 2 Save Slots for quick saves. It can be easily loaded by the 2 Load Slots. After the Save State is loaded, the corresponding save slot will be cleared.
    • Generate / Load Array JSON.
    • Set data all at once.
    • Set data by column through a loop.
    • Set data by row through a loop.
    • Can handle thousands of array elements.

    Since i only made this originally for my own project, there are a few left out features that i didn't need and isn't added yet into this tool. For example, the 3D Array JSON Generator. It is very doable although since this feature is rarely used by 2D games, it made more sense just to left it out for a while. Do PM me if you do need this or another feature and I'll see what I can do.

    • Dictionary JSON Generate.
    • 3D Array JSON Generator & Interface.
    • Set Row/Column through loops with variables.

    REMINDER :: Because of C2 Array's design. The X-Axis / Width & Y-Axis are interchanged.

    Do you like my tool? You can support by donating.

    Download Here:

    64-bit : https://1drv.ms/u/s!AjcW2ueud6qpgP8ycGk_VcSTHytnfQ

    32-bit : https://1drv.ms/u/s!AjcW2ueud6qpgP9CsUkMbLoaUqeAVw

  • GameeApp :: In what way do you like us to submit our contest games? Do you want it to be in a C2/C3 project .capx or do you want it to be already exported when sent? HTML5?

  • ThePhotons :: I have a question, how do we use the features custom authentication, userIDs and Friends in the Photon Plugin for matchmaking.

    It seems that it isn't very much documented.

    An example project would be nice with Friendlist, authentication and with the use of ActorNr and UserIDs.

    Thanks a lot.

  • Ashley

    By any chance do you need a Filipino language translation for C3? I would love to help you out if need be.

    I bet I can finish it easily and guarantee it’s completion.

    I would gladly allocate time for this since I am very fond of localized programs, especially those that I use.

    And having the chance to contribute is an honor.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Anyways, I'm looking in to the issue and I should have an experimental build out soon to trial a fix.

    We accept our faults if we ever had/have one! Because you have made a fix and we are very thankful.

    That's so cool Ashley . We're ready to try it whenever you want when it's ready.

  • Ported construct2 cordova plugins to construct3 cordova plugins.

    Download construct3 version (Download again)

    Thanks Sang Ki Kwon

    Thanks!

    Been a long time since we've heard of you.

    chadorireborn's project works approximately the same

    Note:

    Major increase in loading time.

    Longer delay of loading dialogs, some taking longer to load due to what looks like having to populate the menu with objects(5 to 7 seconds).

    Once that dialog has finished(events dialog) additional ones are average load times.

    Regular dialogs taking no longer than 2 seconds.

    The layout editor is sluggish, but switching between them is the same as normal.

    These are all about what I experience in regular development on my older machine.

    Side note:

    C2 crashed when closing

    You are using an older machine. Of course it'll work better. As I've said. Thank you for testing it out.

    If you've tried a newer device and if possible with mid-end to high-end specs. You'll know things aren't working well anymore.

    Optimizations in C2 before doesn't work with new devices / OSs.

    Although, as you have witnessed yourself. Something is off even on older devices which proves our point. A normal 2D game creator shouldn't respond like that with little assets.

    Without even using the majority of resources available at it's disposal.

    newt

    In defense, the first .capx only contained few objects. The asset sizes don't matter, the object count is the one that shows the symptoms of the problem.

    The main purpose of the first .capx created by the OP was just to show the 1 sec. delay in updated Windows 10 devices.

    But since Ashley can't reproduce significant effects due to object count not being enough. I created the second .capx which you should have instead tried to find significant effects especially with newer devices.

    With the second .capx . It only has about 32x32 mostly similar images for about ~ 960+- objects. Only around 40+- objects have big mostly similar images. Which can be feasibly deleted in older devices but not in Windows 10 Creators Update + due to being nearly unusable.

    So it's clearly not a memory/cpu problem, considering in most high end devices tested, memory use never reached near maximum. And neither did the CPU/GPU. Not even close.

    Although, aside from Windows Update destroying drivers, custom manufacturer settings and applications that causes incompatibilities. It is surely not the main cause.

    Even though older devices with older OS experiences way better performance.

    It is still clear that older Windows OS devices also experience this C2 design flaw. Though not to the extend of 5 to 20 seconds delay or crashing for 2 reasons I've mentioned before, which are project sizes / object counts not meeting the reproduced requirement relative to the OS performance overhead.

    Tried your capx on 2 laptops (both with r246 version of C2):

    New i5-7200U, 8Gb RAM, SSD, Win 10 - project took 3.5 minutes to load, dialogs take 5-10 seconds to open, everything is laggy.

    Five years old i7-3630QM, 8Gb RAM, SSD, Win 8.1 - project took 3+ minutes to load, but dialogs are opening almost instantly, previewing is also fast.

    Looks like you are right, performance is much better on older machines.

    Thank You for testing. The more data and confirmation the better support for the bug fix to lessen the range of devices Ashley need to reproduce it.

    New Update: Performance Workaround

    This is not a fix but just a workaround to lessen delays that nearly matches Windows 8.1 performance.

    In case you want to keep Windows 10. Effective with larger projects!

    I have found out that the newer your Windows 10 version is, the worse the performance of the C2 editor becomes.

    That means if you have the Fall Creators Update, the worse you're off.

    Also aside from that, there are also other factors in losing performance especially for pre-built computers or laptops.

    Windows 10 Update incompatibility

    If you are using a laptop, you should check this link :

    https://answers.microsoft.com/en-us/win ... 923?auth=1

    According to Microsoft, some computers (ehemm.. Mostly!) aren't compatible with new major updates like the Fall Creators Update, Creators Update and Anniversary Update.

    Microsoft knows that most computers are incompatible and they are aware that they are forcing incompatible devices into upgrading even after downgrading.

    And even if your computer is in the list, there is still a high probability your manufacturer missed something and your compatibility is substandard. Mostly it's because of Windows 10 overriding your manufacturer drivers and custom settings with new Windows 10 upgrades.

    Hence, poor C2 performance. I tried it!

    Once you're upgraded, you can still downgrade. Although, your manufacturer's backup is surely deformed.

    So a recovery format is not an option, it will still result in poor C2 editor performance.

    Fortunately, I have a backup of all my laptop's recovery partition in different external HDDs and FlashDrive.

    So if you have one secured, then your efforts haven't been for nothing.

    So the solutions are:

    Solution 1: For laptops/Pre-built (Windows 10) with Manufacturer Recovery Backup

    If you bought a laptop from 2017, chances you have is the Windows 10 : Anniversary Update or earlier.

    Backup your files and preferences and format your laptop to your manufacturer Windows 10 version.

    Manufacturer drivers will be restored and do block all future updates.

    I don't like to do those things too since there are some benefits too but it's the best way since Microsoft

    sees ordinary W10 versions are for regular users and use them as beta testers for their broken updates.

    To benefit the business sectors which makes sense.

    Solution 2 & 3 continue here!

    For Home versions only, if you have a Wifi as your main connection, set it as a "metered connection".

    Thus, preventing forced updates. Although, you will still be reminded daily. AFAIK.

    And you can also "defer updates" but unlike Windows 10 Pro, there's no guarantee.

    For Pro+ versions only, if you have a Wifi as your main connection, set it as a "metered connection".

    Thus, preventing forced updates. Although, you will still be reminded daily. AFAIK.

    You can also tweak some Group Policies and such which you should check at the link above or below.

    And unlike Home versions, you can defer updates with more guarantee.

    For all versions, Microsoft has made an official update blocker for incompatible devices with their updates.

    It does find and can block other updates but I can't find the Windows Fall Creators Update to block it.

    Even when the upgrade keeps popping up once everyday, so I just ignored it and set my Wifi as a "metered connection" so it

    won't force me and only ask me to download it.

    But in case if it works our for you guys, here is the link :

    https://www.groovypost.com/howto/block- ... pdate-why/

    Solution 2: For laptops/Pre-built (Windows 10) without Manufacturer Recovery Backup

    I suggest a clean install on your computer. Download the Anniversary Update [I have tested] and download your

    manufacturer drivers and etc. from your manufacturer website.

    Then continue above...

    Solution 3: For Non-Laptop Computers / Non-Prebuilt (Windows 10)

    You have it easy, just do what you normally do. Clean Install and download drivers and etc.. from your hardware manufacturer

    websites. Although as much as possible download the compatible Windows 10 version of your drivers.

    Or to be safe, download the Anniversary Update version or older.

    Then continue above...

    I always suggest the Anniversary Update of Windows 10 because that is what I'm using and tested thoroughly.

    Mainly because my Laptop's manufacturer version is the Anniversary Update. So you can go for older versions if you want and it

    can probably even be better. Just not newer versions like the Creators Update.

    Again, this is not a fix but just a workaround to lessen delays that nearly matches Windows 8.1 performance.

    In case you want to keep Windows 10. Effective with larger projects!