IcticStep's Recent Forum Activity

  • you need to use many short line segments to draw a bezier curve. As you drag around objects, you need to constantly redraw the line.

    I read through an article about bezier curves several months ago and made a test capx to play around with. There aren't many comments in there explaining what is going on...

    the two most important parts are the function "DrawBezier" (which needs a start point, end point, and two control points), and DrawConnector (which just needs a start and end point, and assumes the control points line up with the start and end points).

    https://www.rieperts.com/games/forum/Bezier_Curves.capx

    OK, thanks a lot. Your code was really hard to understand, but you have made a very important thing: you have showed me a posibility of completing this task, so infinite thanks! I have read by myself about bezier Curves and now I have a made better optimized version of making bezier curves using drawing canvas and connected Touch-control to draw them. If anyone need this project, you may access it by the link: https://drive.google.com/open?id=1Hcrxp5gZB07XCQLcAfcjgBa6YlV44bki

  • Hello everyone. I need to make a node system for a puzzle game. It should looks like a node-based visual scripting in UE4 and work with touch controls. Something like this:

    But how can I make a smooth curve in Constuct 3? I can`t even imagine how to make this wwith default tools.

    Tagged:

  • To make really clean restart, you need delete information about your positions, but I can`t know wher do you keep it without checking the code. However, you can use "save" action on the start of the level and just use action "load", when restart is needed.

  • The number of mistakes has increased to 173. Latest log: https://www.dropbox.com/s/9os5b29ip2vszfg/uk-UA-2020-02-24.txt?dl=0

    It still looks like there's inappropriate use of machine translation.

    All these mistakes will need to be fixed before we can proceed to the next stage of review.

    Seems, that I have fixed everything but I can`t found a value for a key "text.ui.bars.project.confirm-delete.transitions.other". Can`t wait to hear from you about further translation progress.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK, great thanks for everyone, tho took part. After all I have made the biggest part work for myselft, but I really glad and thankful for everyone who tried to help. Now this formula works with any layout and screenSize(change '1080' in you screen height and 179 in your additional interface height). So, the final variant is:

    (((scrolly-(1080/2))/(LayoutHeight-1080))*((1080-9patchSlider.Height)-179))+179

    It works really great, so if anyone more neeed this, you may copy it, but I would be glad if you mention me in final titles smth like this "Special thanks to Ictic_Step, my dog, my friends and family". Have a nice day, developers!

  • OK, great thanks for help in finding my mistakes. After few hours thinking, testing and debuging I have found the ideal, universal formula and now it works perfect in any situation. So, infinite thanks to the AllanR for finding a big mistake and now formula looks like this:

    (((scrolly-(1080/2))/(LayoutHeight-1080))*((1080-9patchSlider.Height)-179))+179

    It works really great, so if anyone more neeed this, you may copy it, but I would be glad if you mention me in final titles smth like this "Special thanks to Ictic_STpe, my dog, my friends and family". Have a nice day, developers!

  • the fact that it was close was more luck than anything...

    the place where you set the slider's position - you were including BrowserSliderMainPart.Height but its height is zero because you replaced it with 9patchSlider.

    the first part of that calculation (scrolly-(1080/2))/LayoutHeight) only works out to 0 to 0.5 because scrolly goes from 540 to 1620. to get it to go from 0 to 1, either multiply that result by 2, or change it to (scrolly-(1080/2))/1080)

    but that assumes the layout height will always be 2160. If you want the scrollable area to be variable, it gets a little trickier. Either you have to change the canvas size as required, or use unbounded scrolling and manually control where scrolly starts and stops.

    the second part of the above calculation needs to factor in the height of 9patchSlider, so the over-all calculation would be something like:

    (((scrolly-(1080/2))/LayoutHeight)*2*((1080-9patchSlider.Height)-179))+179

    or

    (((scrolly-(1080/2))/1080)*((1080-9patchSlider.Height)-179))+179

    Billions of thanks! It is so hard to detect mistakes in own code. It works real perfect when layoutHeight = 2160. But I don`t understand what to do to make this formula universal for any layout height. I have fixed mistake with height(don`t know how I didn`t notice it), but multiply by 2 works only for current layout height. I think it should be a kind of proportion to deal normally with every situation.

    Deviding in 1080 also works only for 2160 px height of layout.

    So, have you any ideas to upgrade this formula to work normaly with any layoutHeight, AllanR?

    I have also tried to replace '*2' with 'LayoutHeight/1080' to make a universal proportion, but it also works only for current size of layout.

    Updated project: drive.google.com/file/d/1XskHi_f3cqp5Z7d4K2z4Mxtj5SCouv-I/view

  • Can I somehow sort terms to see only contributions of one choosed translator?

  • I just ran verification again and there are still 131 problems: https://www.dropbox.com/s/25a5g4e4tq1zux6/uk-UA-2020-02-14.txt?dl=0

    These all look like mistakes added by Google Translate, which as I mentioned is an inappropriate tool to use and could well result in a nonsensical translation that fails review.

    Oh... It seems like one of my friends that I brought to the translation work started to use automatic translation... OK, I am going to try to talk to them about it.

  • Hello everyone!

    I am working on a kind of browser simulation for mobile devices, so I have done a scroll indicator to show a size of page and scrolling progress to user. I have invent this formula:

    But there is a problem about acting with the bottom edge: scrolling indicator can`t reach bottom edge and I can`t understand why. So when scrolly is max I have a little but very ugly bug:

    C3 project: drive.google.com/file/d/1XskHi_f3cqp5Z7d4K2z4Mxtj5SCouv-I/view

    Tagged:

  • How many of them were fixed?

  • Sorry, that number I added was hard-coded. Here is the change:

    Here is the link:

    https://drive.google.com/file/d/16EN0pyNVr8_T241PCdouN5kUEJahQIuo/view?usp=sharing

    I added an extra layout as well and it seemed to work on that one.

    Let me know if it doesn't.

    Ok, top edge works perfect but that about hte bottom? I feel myself totaly stupid because I can`t understand your last formula... But how to fix the bottom edge?

IcticStep's avatar

IcticStep

Member since 16 Jun, 2019

None one is following IcticStep yet!

Connect with IcticStep

Trophy Case

  • 5-Year Club
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

8/44
How to earn trophies