chrisbrobs's Recent Forum Activity

  • 'Paper.js is an open source vector graphics scripting framework that runs on top of the HTML5 Canvas. It offers a clean Scene Graph / Document Object Model and a lot of powerful functionality to create and work with vector graphics and bezier curves, all neatly wrapped up in a well designed, consistent and clean programming interface'

    Worth a look.

    http://paperjs.org/

  • How to change the shader settings if the red/cyan images are reversed-

    if your rendered anaglph Image doesn't look right you may need to reverse the rgb front and back combinations?

    The following example shows the original front and back blend combination for the anaglyphcolor.fx.

    //Original-Combine front and back

    front.r = (front.r * 1.0) * front.a;

    front.g = (back.g * 1.0) * front.a;

    front.b = (back.b * 1.0) * front.a;

    Change the above to-

    //Reversed-Combine front and back

    front.r = (back.r * 1.0) * front.a;

    front.g = (front.g * 1.0) * front.a;

    front.b = (front.b * 1.0) * front.a;

  • 3D anaglyph blend from 2 images (left and right pics)

    Apply effect to top image (right pic in my example)

    1, anaglyphoptimised.fx

    2, anaglyphdubios1.fx

    3, anaglyphdubois2.fx

    4, anaglyphcolor.fx

    5, anaglyphhalfcolor.fx

    6, anaglyphgrey.fx

    7, anaglyphtrue.fx

    note- effects 1,2 and 3 have a gamma parameter setting.

    Link to files including example CAPX -

    https://dl.dropboxusercontent.com/u/22173473/C2Anaglyphs.rar

  • Link to Demo game -

    https://dl.dropboxusercontent.com/u/22173473/PoolWebgl/index.html

    Please test, all comments welcome.

    (white ball foul disabled)

  • gamecorpstudio@

    Got a problem with my graphics card a moment...I will post example demo as as soon as I can.

  • crypticblonde@ thanks, glad you like it.

    gamecorpstudio@

    I will upload a demo when I sort my graphics card problem out... I'm having to preview /use Node Webkit

    at the moment (my card is rubbish)

    The ball animations are made up of 3 sprites...shadow : ballsprite : highlight. pinned together.

  • Hi zeno98

    I have been re-infected by the C2 Virus.... My Hard drive is full again.

  • Create 3D Anaglyphs from any single 2D Image.

    Example renders-

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, sorry I never replied earlier, I haven't been on the forums for a long time.

    Anyway this is the only copy I could find-

    https://dl.dropboxusercontent.com/u/22173473/boxing.capx

  • Recently completed Pool Game, but my graphics card wont run WebGL stuff since updating Chrome!

  • Window size and position options can be added to the "package.json" file in the Construct 2\exporters\html5\node-webkit folder.

    (Make sure you back the original)

    I added a max/min window size to a modded "package.json" file to stop the user resizing the game (works).

    {

         "main": "index.html",

         "name": "[[[name]]]",

         "description": "[[[description]]]",

         "version": "[[[version]]]",

         "window": {

              "icon": "logo.png",

              "toolbar": false,

              "width": 960,

              "height": 640,

              "position": "center",

              "min_width": 960,

        "min_height": 640,

        "max_width": 960,

        "max_height": 640,

              "show": false

         },

         "chromium-args": "--disable-extensions --disable-plugins --disable-internal-flash --disable-popup-blocking --enable-gamepad --enable-html5-camera --allow-file-access-from-files"

    Not sure if it works with mimified...not tested it.

    GITHUB

    Hope this helps.

  • Link to capx

chrisbrobs's avatar

chrisbrobs

Member since 10 Aug, 2010

Twitter
chrisbrobs has 1 followers

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies