ASB's Recent Forum Activity

  • Hey C2 friends,

    I'm building a desktop application designed for continuous monitoring, so it should actually work all the time. (Designed for PC, exported in NW.js)

    So I need to prevent it from suspending, even when the user minimizes the window.

    Is it possible?

    And while we're on the subject, is it possible to minimize the program to the system tray?

    It is really important, and I'd appreciate any idea.

    Thanks in advance.

  • Hey guys ,

    I want to allow my users to download a simple text file so that they can open it in Notepad or something similar.

    The text is presented in a Text object, and I use [Browser > Invoke download of string] with the Text object .Text expression.

    The problem is that the downloaded file have no line breaks, and all the text appears as one very long line.

    Of course, the text is displayed properly on screen, with all line breaks, and no matter what I tried, every time I download the string to my computer, all line breaks are gone.

    Did you heard about this problem?

    Does anyone have a solution?

    Thanks in advance,

    Amit.

  • Well done!

    I played a couple times and loved it both times. It got intense trying to get the power ups among all the traps .

    Thanks, I'm glad you liked it.

  • Hi fellow C2 creators,

    Check out my new game: JumpCar!

    https://goo.gl/eSBQA1

    A fast-paced and enjoyable car ride. use the floor, walls, and even the ceiling as your road. Avoid the red panels, collect the green power-ups, and go as far as humanly possible.

    And of course, I'd love to hear your comments.

    Amit.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • interesting...

    And fun!

    Wow! It's cool that u can play with your own pictrures!!!!

    Thanks, the next step is to let players share these pictures with their friends.

  • Hi guys,

    I finaly published one of my games to Google play.

    It is a simple 2D puzzle that has 2 game modes (Color and Image) and combines logical thinking, planning ahead, and color coordination.

    Here's a short demo video I made for the game:

    https://youtu.be/ckckn9XIWwc

    Download Cubelo now from Google play: (free)

    https://play.google.com/store/apps/details?id=app.cubelo.alpha

    Current built 8.19.0

    Todo list:

    • Picture sharing, creating 'challenges' to encourage sharing on social networks.
    • Achievements system (through Google play)
    • Adding Arcade mode, for a continuous play.

    I'd love to hear your comments, and hope you enjoy.

    Amit.

  • . AxeSaber felixsg

    You can use the hashtags (#) of the objects to know when the user clicks on an object that is inside the Iframe, and what object was it.

    here is a very simple example: LINK

    and here is its .capx: CAPX

    I hope it is usefull.

    you can also use ? instead of #, depends on your needs and what suits you.

  • You can get around that (sort of) ...

    In Python I can write Round(Variable2, 4), when 4 represents the amount of decimal places which the software needs to round.

    It is equal to (Variable2 * 10000) / 10000

    Does anyone know if there is anything like that in C2?

  • ok man that's cool! sorry for the smiley face It looks great.

    Thanks

  • In C2 ? Seriously though, which language are you using for that? I just tried the 1.2 + 1.0 in C++ with similar results.

    Yes, in C2, it looks something like this:

    I use a Python server to connect to the sensors and MatLab for the functions, but all of the graphics calculations are done within the C2.

  • Strange indeed, no problem on addition. I understand if this is involve multiplication/division problem, but substraction?

    That's what I thought.

    It is rounding error. Just don't expect exact results with real (decimal) numbers.

    Try adding 0.1 to variable2 twelve times instead of 1.2 one time. You will get 2.200000000000001

    But it will display in a text field as 2.2

    I am building a software that displays advanced graphs for external sensors system, the entire software is one big math problem.

    Of course, once I start division, multiplication, and other mathematical manipulations, I am aware of the floating point Inaccuracy.

    In case of 1.2 - 1 however, I do not expect it.

  • Hey spacedoubt,

    Thanks for the comment.

    I know about the floating point issue, but I do not think it is valid here.

    After all, if I do: Set Variable2 to 1.2 - 1, Variable 2 will equal 0.2.

    And the example I gave is not so different.

ASB's avatar

ASB

Member since 26 Dec, 2013

None one is following ASB yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies