Alon's Recent Forum Activity

  • Add a debug output into event 23 - Browser log "Buttons NOT down, cloning object"

    Run the project, open console log, try dragging with right button+shift and check if that message appears in the log.

    If it doesn't, this means that you have some other event somewhere which clones the object.

    Thanks for the help! debut is kind of new to me so here we go:

    I added the action on event 23 and ready to do the debug test but I never used C3 on a browser since I do everything on the standalone version. so I have no clue how to do the actual console test.

    Can I do this debug test with the standalone version? if not I can load it in the browser (I use chrome) how do I get to the console to see that message anyway? do I need to download extra software or plugin or it's just a hotkey in chrome?

  • So the last code works PERFECT on the clean example C3 file I attached before.

    But once I tried to add it to my project (which is organized in a very similar way, same variable names, same family names, same organized group names etc..)

    Anyway... the original issue IS BACK! on my actual project.

    so I tried to look for other similar events that maybe I forgot or clash with each others, maybe there are other "hold shift" or something like that, and there was nothing that could find (I also use Ctrl+F a lot to find anything related to Drag) nothing special that could clash or ruin the above code.

    So, first I disabled group by group running F5 each time carefully to see which one maybe cause the issue.

    NOTHING WORKED! it keeps CLONING while holding shift and any Mouse Button, all three which is back to point zero...

    My last idea before I'll ask for help again on this thread, was to track and find the issue 

    I actually DISABLED 90% of the project groups and run with F5 to see if it will fix the problem, and it DIDN'T! I could still clone with ANY mouse button while holding shift.

    So I need some help here, how can I find the issue on my code? there must be something that allow this to happen and ignores the CLONE group code which supposed to work like it did on the clean small C3 file I shared.

    I tried to see if there are 2 "Drag & Drop" behaviors or anything, but nope.. they are EXACTLY set as the small C3 file project on a family called: "Created_Objects" and nothing else, so no clash there either.

    As you can tell I did try to solve the issue, or at least FIND the source of the issue first.

    This is making me crazy even when 90% of the project disable it's still not working...  any help will be appreciated!

    I have a strong feeling that it's something small and stupid that I need do but I don't know what.

    If there is an easier solution like Re-Program the Clone code for a more "safe" less issues as I add more and more features, I'll be happy to give it a try so please share your mind.

    Thanks ahead!

  • Hi All,

    I've tried to make a preload using it's dedicated Layout and Event.

    I did make sure it is the default first loading layout on the project properties.

    When testing, I get black screen... after few seconds it goes to the layout I want.

    but it won't show the actual Preload Layout and it's percentage progress or any of the graphics.

    Preloader Layout, very simple for testing:

    I also compiled a non-compressed NWJS.exe version (for the first time) just to run it and see if it acts the same, just in case... and yeah, the black screen is there.

    Also, NWJS ignore the Start layout with Fullscreen, it starts on a window while in C3 it works fine.

    Any help will be appreciated, Thanks ahead! :)

  • Thanks for the very detailed explanation dop2000 that explains many of my mistakes!

    more mistakes and questions to come... at least I'm learning a bit every day, which is great. :)

  • Thanks for the quick reply AllanR I appreciate it!

    I tried to follow your instructions (hopefully I understood it):

    It works from my quick test, but since both Negative events are in the same block, how come it won't count as BOTH buttons hold together? I thought they should count as AND, means: Middle AND Right buttons together... this is why I get confused in the most basic C3 parts I guess.

    Again, it works from what I tested but I would like to understand if that's fine with you of course to explain it to a noob like myself.

    Thanks once again :)

  • Thanks to Dop2000's original code using SHIFT + DRAG aside to clone works.

    But I'm trying to limit it to only SHIFT + DRAG aside and nothing else.

    The thing is that it will also clone if I hold SHIFT + Middle or Left mouse button.

    So I tried to limit it with negative of these buttons in OR sub-event but still.. not getting the result.

    Any ideas how can I do that?

    My failed attempt:

    Thanks ahead for any help!

  • Sorry for making you work too hard on this, I always say thanks and honestly I do appreciate every second of your time and anyone else who helps to noobs like myself on the community.

    I didn't mean to piss you off or anything, I apologize, I'm not as smart as you these things that may look obvious and super easy to follow are not for somebody like myself as I have no experience with programming at all and C3 basics logics are the only things I can do at this time with my low-level.

    I explained why I did it from scratch, and had no problem to Copy/Past what you did starting over on the latest file because it was more organized and clean so I could actually had a tiny chance to follow and understand using comments and groups.

    Also sorry about my bad English and about the mess I may cause, it's very hard for me to explain my issues but I still try as it's part of my learning progress.

    Please don't feel you must help me anymore if you don't feel like it, I do appreciate what you did so far and still thinks you're one of the most helpful persons around the community.

  • You do not have permission to view this post

  • Dear dop2000 actually your UNDO/REDO is the BEST I tried so far but the real problem was in my side, not yours. as I explained in my last post: I don't know how to apply NEW features, or exclude those that I don't want to apply to the UNDO/REDO system.

    Not everything on my actual project is based on MOUSE but lots of it based on HOTKEYS and actual BUTTONS (unfocus issues) as well, at least it will be added more and more, the mouse have some important part but not all of it.

    Will you PLEASE even copy/past your last UNDO/REDO and try apply it to my latest post C3 FILE that I attached but maybe if possible you can put a comment to explain what each line does or even examples of what should I do In-Code if I want to INCLUDE or EXCLUDE an event?

    I mean, if it's something that you can explain inside the code with comments I guess it will be VERY DYNAMIC Undo/Redo System! which will be very helpful for me to put on my bigger project!

    I think your undo/redo system will be perfect but last time I was confused with it and this is why I made the latest much cleaner and organized file, please have a look at it if you can.

    * Same file from my last post:

    DOWNLOAD - Experimental C3 File with some basic features

    Thanks ahead this is very helpful and encouraging!

  • OK, I would like to begin TRYING to give an UNDO/REDO system a chance to appear in my software.

    Please forget about the earlier posts because I would like to start from zero the reason is:

    As I'm working on my software, I noticed that it became bigger and bigger as I add more features that are actually needed and not just adding for fun.

    So, if anyone can help me out work on an UNDO/REDO system with the option or "way of thinking" that will allow me to update or ADD that I will just need to tweak or edit later on in order to tell these new features events to be included in the UNDO/REDO system.

    Because there are features that need to be affected by UNDO/REDO and some that are NOT!

    for example: EXPORT PNG FILE, or click on menu buttons in general, and so on..

    The main issue is that I cannot share my software file, but I can share some project files to work on if that will help any of you guys to show me how it's done since I'm waaaay noob to understand how to program such complicated thing.

    The other issue I had was to exclude the SAVE PROJECT and LOAD PROJECT buttons also where effected by the UNDO/REDO system. it was super confusing for my level to understand and fix so I want to start from scratch of course... with YOUR help, obviously I cannot do such DYNAMIC system by myself.

    So if it's possible to make a GENERAL working system that I can always tweak to ADD or EXCLUDE what will or will not affected by UNDO / REDO it will be very useful for me to actually have it on my software.

    I'm sharing a pretty clean C3 Project that you can do your tests on it as you wish, and if possible to make all the UNDO/REDO in its dedicated Folder and PLEASE: add comments to help me understand what should I tweak or not in order to make NEW futures events later on.

    I'll probably have some questions later but for now... please have a look:

    DOWNLOAD - Experimental C3 File with some basic features

    Thanks everyone for you help, I appreciate it and I hope that I'll learn something from this.

  • You do not have permission to view this post

  • Sorry, I don't understand what issue with outline2 do you mean. Please see this file, both outlines work and I added an event to disable dragging with right mouse button:

    https://www.dropbox.com/s/ls9yx2fi43f4ig0/ONE%20Selection%20ONLY%20Tests%20-%20v1.c3p?dl=0

    Nice! this new code you changed on the file makes it work because you address also "outline2" unlike the other screenshot code you forgot about it, so it didn't work.

    It seems like your current code is more efficient than mine, shorter but basically what I did with the right button disable on different group. I have so much to learn! thanks again dop2000 :)

Alon's avatar

Alon

Member since 20 Feb, 2014

None one is following Alon yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies