Stock Market type chart ...?

0 favourites
  • 4 posts
From the Asset Store
Change delay, create new lines, "backspace" the text
  • Hello,

    I'm working on a game and would like to try to show the score in the form of a line chart instead of a boring old horizontal bar <img src="smileys/smiley1.gif" border="0" align="middle" /> . Any ideas on implementing this? I tried adding global variable values independently to the x (time) and y (score) axes of a tiled background, but so far the best result I can get is a block accordioning vertically as it expands across the screen.

    I appreciate any help and am really enjoying working with Construct2.

    Norm

  • here's an example.

    type values in the editbox to see the chart updated in realtime

    please ask specific questions if there's any part of it you don't understand:

    stocklikechart

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks very much for the reply. It's a great example, but I'm still struggling to put it together so that the line appears to grow from left to right as the game is played (connecting y-axis score nodes every two seconds). I'd post the code I put together if the result was even anywhere close. <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Thanks a lot for that chart example, but i can't figure out how to adress one of those text fields with another button. Do they have seperate Instancenames ? are there ways to access one of those textfields by script , without typing the values in manually? thanks a lot

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)