Heptagono's Recent Forum Activity

  • Wow! That too much of course. But this is the kind of control of the waves that I seek in my app.

    What I do is

                Every tick

                      -----> Loop For 1 to BoxBound : Drawing the points.

    The problem is this only represents the first values, no changes.

  • Hi Everybody,

    I ask for the communty help, especially to those stronger in mathematics to solve a problem:

    I've making tests in a program that should be able to represent in real time a sinus wave depending on a slider value. The idea is to have something similar to a Osciloscope made with a canvas plugin.

    https://dl.dropboxusercontent.com/u/87172782/test.JPG

    So that I try to do so and, as you can see in the example, I'm just near to pick up a solution, but not completely. The line represented in the canvas is not responding to the changes made on the slider. It only takes the initial values of X and Y.

    The aim would be to make possible to represent a y=cos(x) for example, where X is given by the slider.

    Here you would find an image and a example.

    https://dl.dropboxusercontent.com/u/87172782/test.capx

    Any idea or comment? Is my approach to the solution a good one? Perhaps it is not possible to be done with a canvas plugin?

  • Thanks again, newt.

    I'll create a variable to find out the values in debugging. I presume this is a fast way to obtain that number.

  • How do I find out the instance numer of an instance? Is this possible?

  • I'm tying to use this here:

    https://www.dropbox.com/s/v3ni0y0gnvlcmrp/waves.capxhttps://www.dropbox.com/s/v3ni0y0gnvlcmrp/waves.capx

    My aim is to show a graph is a cosinus and then draw lines from white to black depending on the Y value showed.

    How do you like the way It's being build?

  • Thanks! It works properly.

  • How do I give a...

    rgb(red, green, blue) color attribute,

    the values of centain Variables.

    For instance:

    A variable called Red changes from 100 to 255, during the game.

    So that I want to make:   "rgb(Red, 25, 25)"

    But this, just doesn't work because it asks me to use strings...

    Anyone could provide help on this?

  • I think I've found a problem with the canvas plugin. Due to the way it provides a color for a line. For example:

    "rgb(40,50,40)" All this as a string, we can't use a gobal variable of our project.

    For instance:

    Value= 50;

    "rgb(Value, 10, 10)" Won't work at all.

    Anyone knows how to solve this? Is there any way to bypass this situation?

  • How do I make different color strings according to the Y points in this cosinus wave graphic?

    Proyecto

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In this project, you can click on the slider black button to move it along the black line. If you release the mouse button out of the textbox element, the slider-button is unselected.

    example.capx

    Unfortunately, when you release the mouse button over the textbox, the slider button remains selected. And this results in a clumsy interface. How to solve this?

    Perhaps you can add another condition to the events?

    I've tried to do so, but the bug remains...

  • Hi!

    I would like to introduce myself. I'm a begginner programmer passionate about creating games and simulations for web and devices.

    Construct 2 has provided my a lot of very interesting features which are able to improve my workflow (and enjoyment)

    Proud to be part of this forum!

  • In this project, you can click on the slider black button to move it along the black line. If you release the mouse button out of the textbox element, the slider-button is unselected.

    example.capx

    Unfortunately, when you release the mouse button over the textbox, the slider button remains selected. And this results in a clumsy interface. How to solve this?

    Perhaps you can add another condition to the events?

Heptagono's avatar

Heptagono

Member since 25 May, 2012

None one is following Heptagono yet!

Trophy Case

  • 12-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies