h45549's Forum Posts

  • 5 posts
  • I have figuered out the issue was trying to pass a fraction to rgb(), applying ceil fixed it.

  • One interesting thing I am noticing is that following works and sets all colors to red,

    "rgb("&100&","&0&","&0&")"

    but

    "rgb("&100&","&random(255)&","&0&")"

    fails and all instances turn black

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am using the canvas plugin to create a canvas box of which I have several instances. I am trying to give each one a random rgb color. So far I have been successful in setting three instance vars on each object I have created to be a random r,g,b value. But when I try to set the fill color on each instance, it does not work. All the instances are getting set to the color of the main object.

    "rgb("&Canvas(NUMBER_OF_TILES_X_MADE).r&",

    "&Canvas(NUMBER_OF_TILES_X_MADE).g&",

    "&Canvas(NUMBER_OF_TILES_X_MADE).b&")"

    NUMBER_OF_TILES_X_MADE increments.

    image : imgur/uC0RHXr

  • I was looking today for a quick way to preview my game in chrome, in different aspect ratios and could not find a way, so I wrote a Google Chrome extension which lets me do so.

    If you think it might be useful you can get it here,

    h t t p s ://chrome.google.com/webstore/detail/aspect-ratio/bbelgfcfpiocfblomapnagpaagjfgkom

    (could not enter proper link, since I am new here and apprently I do not have permission to do so yet)

  • Hi all, Starting with Construct2 today. Previously I have been making games strictly in Unity3d. Hopefully construct2 will be faster to develop 2d games in.

  • 5 posts