Dynobot's Forum Posts

  • I would consider this a request since I am unsure if it is actually a "bug".

    I installed Construct 3 on my Windows machine in standalone form. However, when I attempt to open up a C3 file Windows does not know what to do with it and prompts me for an "Open With..." dialogue box. In the list of programs Windows does not recognize Construct 3 as an option (see attached).

    In the old days Construct 2 was recognized on Windows (as seen in the image with a cute C2 icon). As Construct 3 matures I suggest C3 gets the same treatment to feel just as authentic as a typical Windows program.

    This is a minor inconvenience and the workaround is simple enough by firing up C3 and opening the file from within the environment. I post this with fandom partial to Scirra. Being an end-user I rationalize If Unity or other programs do it, Construct 3 should be doing it as well.

    If this is user error on my part I am open to fixing it on my end. Perhaps I missed something.

    Tagged:

  • dop2000

    Thank you for the reply. You saved me a lot of time!

  • I have a few objects with the Anchor Behavior. Anchor Behaviors have a default setting of Left Edge: Viewport Left. I adjust their settings to Left Edge:Viewport Right. When I jump to another layout, the same objects revert back to their default setting Left Edge:Viewport Left.

    These objects are in different positions in each layout, so I don't think that making a layer set to global will help because of changing positions of the objects between each layout.

    Is there a way to have my Anchor settings "stick" from one layout to another? I have 30 layouts, so it is getting tedious to find each instance of an object and adjusting the anchor setting over and over again when I just did the process in the previous layout.

    Appreciate any thoughts in advance.

  • El Constructorr

    Awesome, that worked! I have been plugging away without an incident since your updates and instructions. I do have one lingering question however -

    I have been trying to insert bb code line breaks [ br ][ /br ] in the body of text to break up lines the way I want them to look. (A certain sentence on line 1 (break) Next sentence on line 2, etc.) The reason why is the function reads text to the very end of the textbox. Only when the text word touches the boundary of the textbox it wraps it to the next line. I am trying to avoid that to make it look cleaner for animation of the typewriter function by forcing bb code line breaks. However, it doesn't seem to be working. (This could easily be user error on my part.)

    I found two workarounds:

    Workaround 1: I copy and paste my text into a Wordpad doc. Then, I arrange each line the way I want them presented. After that, I copy the Wordpad text and put it back into the Function parameter field. That seems to do the trick. I guess Wordpad is forcing an invisible line break without me having to code it? No idea, but it seems to work.

    Workaround 2: I add a ton of spaces to break up each line I want broken to the next line. This makes the function read all of the spaces and "force" to go to the next line and continue writing.

    I would much rather "code" it correctly over the gum and shoestring options I outlined above. However, this is not showstopping production killer by any means.

    Your functions rock and I would consider this a minor inconvenience. I am curious what your thoughts are on it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • El Constructorr

    So far so good! I have been making my way through your example and testing it on my project. Thank you very much for the clear explanations! I think I had a user error on my part, I was trying to implement UID on my project and I must have been using the wrong event sheet. This time through it appears to be working fine.

    I do have another snag though - I can't seem to write anything in quotation marks within the function. I don't understand why.

    Earlier when I was attempting to play with BBcode I ran into this problem - this forum post fixed it:

    construct.net/en/forum/construct-3/how-do-i-8/text-typewriter-using-157393

    However, using that example in the function parameters it ignores any attempts at using quotation marks. What am I missing? I attached the project back with my question. I am scratching my head on this one. I used double quotations to fix it? Does bbcode behave differently inside of a function?

    file is here:

    my.pcloud.com/publink/show

  • El Constructorr

    Thank you for the detailed reply! I started to add changes and so far so good. However, I ended up on an intense freelance project and my time has been occupied. When I get a moment to breathe I'll update you on how it goes on this typewriter project.

  • El Constructorr

    Understood about being swamped with your current projects. I figured it was worth a shot to see about your availabilty.

    Welp, I managed to break your code. Ugh! I tried to bring your code into my existing project (as your other versions) and I could not tweak it to talk to my project this time around. I suspect it is all about the UID. This UID thing went over my head.

    To give you an idea -

    My project has 32 pages - each page has a body of text that changes to tell the story. When I brought your code in I could not figure out how to tweak the individual page text box's UID to sync up with your code per page. So, I deleted the instance variables talking to UID in your project, and I got it to work again. I really want to understand the thinking behind UID and tried to read up on it, but it doesn't seem easy to tweak. Then again, I'm not a programmer.

    Overall, Your code works awesome as it has since the first iteration, but I did come across another issue. I tweaked your C3 file (attached) to "somewhat" resemble my project in a barebones sense. You'll see that I have two pages now to simulate going to a new page, etc. If you go to page two, then decide to go back to page 1, you'll see that the textbox actually truncates and ignores the first part of what needs to be written for page 1, and starts typing mid sentence instead of starting at the beginning of the paragraph.

    To replicate: Go to page 2, then hurry back to page 1 (don't waste any time, just click), and you'll see what I mean (hopefully). Also, as a test on page 1 - I set up "on Function Typewriter Finished/Create/Purple Sprite. When I go to page two, it still creates the sprite. Not sure why since I am on page 2. I don't have the function "on Function Typewriter finished" on Page 2's event sheet but still creates it?

    Thanks again for your suggestion. I enjoy learning different perspectives on how to tackle this issue.

    Project example here:

    my.pcloud.com/publink/show

  • El Constructorr

    Your solution was awesome and it totally works! I actually put it into my working file and got it to work. However, it broke my masks I was using over my text boxes - That has nothing to do with your solution. That is a totally separate issue that I did not include in this forum topic.

    The new issue - in my working file I have masks atop my text box that are activated on touch. the masks are set to "Blend Mode": Source Atop". When I tap on them now, they don't recognize your solution as something they want to blend atop of. I have no idea why. They were working fine when I had my lamer text box there... but with your solution, they got grumpy and stopped working.

    *edit : found out why: I have an action "When Typewriter is finished" set my masks to active. I need to find a way to replace "When Typewriter is finished" with your "When Function is finished" instead.

    That's the joy of developing a game, fix one thing, break 2 more things. Are you interested in consulting at all? I could use a guru to talk about issues like this. Let me know if there is a good way to contact you.

  • El Constructorr

    Thanks for the explanation. Your method is above my understanding and skillset, but it totally works! I looked at your code and wanted to tweak it with bbcode colors. However, when the sentences are written out it flashes my bbcode before it processes it and then the colors are applied. Is there a way to avoid showing bbcode as it typewrites the sentence? See the attached example I tweaked.

    my.pcloud.com/publink/show

  • Tomycase

    I thought your idea was a good one - setting the object time scale. Sadly it didn't work though. It makes sense as to why it doesn't work based on El Constructorr's explanation. Thanks for the suggestion though!

  • Tomycase

    Hey, thanks for your interest in trying to help with this issue. Apologies for taking a bit to reply.

    To give you a rundown - I have a globally shared event sheet called "D_Pause". It talks to all of my other event sheets. When you suspend the game or touch the settings button it brings up the pause menu and sets the time scale to 0. EXCEPT for typewriter. It appears to keep going whether I pause or not. As a result, when I pause, the narrator or sounds will actually pause, but upon resuming, the text from the typewriter is finished and it makes the narrator or sfx appear to lag. Screenshots attached. I can make you a capx if interested, figured I'd start with images first. Let me know. Thanks.

  • savvito123 Thanks for the reply. So, there is no way to actually pause the typewriter. It either plays all the way or it starts over from your experience?

  • When I set my time scale to 0 my typewriter animation keeps going. Is there a way to make the typewriter animation respect the time scale when I set it to 0? I would like to pause the typewriter when I set my time scale to 0. It appears typewriter has its own time scale that won't listen to a global timescale?

  • If I understand correctly you are suggesting I find each button instance that needs to be disabled and attach the variable condition to it. In my case my variable condition is a global condition:"Pause"=1.

    Your suggestion does not disable a Family, but instead attaches a condition to each button residing in the family to be disabled.

    That will result in having to hunt down each instance of each button in each event sheet and attach a condition. I get what you are suggesting. I would rather not do that since that would be tedious copying and pasting that condition multiple times compared to disabling 1 family ideally 1 time, globally. If all those buttons are in a family, I'd like to disable the family. My question is, how can I disable a Family?

  • I appreciate the reply. However, I don't understand how this answers my question. How do I disable the buttons/family/click logic?

    For example:

    If the variable, in this case is Pause.

    Event:Compare Variable:Pause=1/Action:Family-buttons/aaaand where is the click logic at?

    I can set the opacity of a family. I can rotate a family. I can set a color to a family. However...I can't disable a family. Is there a way to disable a family?

    Maybe if I was to swap my action from family to system I can see a group active option...I could disable a group. But how do I disable a family?