Danwood's Recent Forum Activity

  • Are there more than one package.json files? I only edit the one inside package.nw o.O

    EDIT: nevermind i'm retard as always, they're in exporters\html5\nwjs

    I always used to directly edit the exported file...

  • If this gets fixed after this report you get a statue!

  • I've tested the latest NW.js 0.19 beta1 and it works:

    http://nwjs.io/downloads/

    I've also niticed a CPU usage drop, can someone confirm it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley Thanks for the explanation

  • Pretty much just a improvement with tiling non power of two (npot) textures. By improvement I mean it'll look better. Right now npot textures are stretched onto power of two textures before it can be tiled.

    Seems like something at least, i hope for optimizations as well

  • Ashley announced on Twitter webgl2 is coming with Chrome 56. My question is: are there potential direct beneficts for us C2 devs? I don't necessarly mean new features, but also optimizations and improvements.

  • May I plug you our Official C2 Discord Server,

    with a fairly large amount of active users and quick help with any kind of C2 related problems.

    I will

  • TheRealDannyyy

    No worries, you actually helped me fix the issue, what's left is a minor thing, the main problem is gone! Thanks!

  • > Now, the only issue is not really a big deal, i just need to know if there is a "global" form/ID for button objects as well (like "body" for other objects", so i dont need to assign a formID to all the 100+ buttons in my projects

    >

    Armaldio gave me this code, try this one out please:

    "$(function(){$(document.body).mousedown(function(e){if(e.button==1)return false});});"[/code:2997l2jh]
    [b][u]
    EDIT:[/u][/b] In the worst case you could create families for the form elements and assign them an ID.
    

    The code is just like the one i found, works fine for "body". So i can assign form ID to whole button family? Because i can't find the form proprieties of the button family in the editor

  • Could you precisely explain your problem based on "what you want to achieve" and "what the problems are", sorry but I'm a little confused right now.

    The previous problem was the scrolling icon appearing when clicking middle mouse.

    The code you gave me disabled completely middle mouse interactions, so it solved the problem but prevented the game from using the MMB.

    So i found a new code that works just fine (disables the scrolling icon, but allows to use MMB on objects).

    this one: "document.body.onmousedown = function(e) { if (e.button === 1) return false; }"

    Now, the only issue is not really a big deal, i just need to know if there is a "global" form/ID for button objects as well (like "body" for other objects), so i dont need to assign a formID to all the 100+ buttons in my projects

  • > This one works as intended, it disables the scroll icon, but retains the ability to interact with MMB

    > document.body.onmousedown = function(e) { if (e.button === 1) return false; }

    >

    He's on it, might take a little while seems to be busy at the moment.

    By the way, what about the previous one with the rightclick context menu, do right click actions work as intended?

    They do

    The new code works fine for MMB, i just need to assign a form ID to buttons as well (unless there is another "body" for them too)

  • This one works as intended, it disables the scroll icon, but retains the ability to interact with MMB

    document.body.onmousedown = function(e) { if (e.button === 1) return false; }

Danwood's avatar

Danwood

Member since 2 Jan, 2014

None one is following Danwood yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x5
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

16/44
How to earn trophies