Arima's Recent Forum Activity

  • Also, grabbing parameters from the touch object in a function called by the touch event doesn't seem to work. I suppose I could set them as parameters, but it just seems kind of clumsy in comparison, because then it's kind of hard to remember sometimes what value is set to what parameter and I have to keep looking it up. It also fragments the code tree and forgets picking.

    I'd also like to be able to name parameters, but I seem to remember there was a reason you didn't want to do that, though I don't remember what it was. But I'll cast my vote for them anyway. ^^

  • Ashley - An or block runs the conditions and actions of the event twice. Also, I thought there was some sort of restriction on or blocks preventing them from having subevents - but that doesn't seem to be the case anymore - was that changed at some point or am I remembering wrong?

    newt - because some games require input methods other than buttons?

  • Not really - it still requires two sets of code for registering mouse and touch triggers.

  • Ashley - I know it's doable that way, but then all the code for left clicking has to duplicated, and if any bugs are found, then they need to be fixed twice. If this was implemented, it would be one set of code to maintain.

  • If C2 had the option I mentioned, I wouldn't have to. It would very useful to myself and I think others as well, so we could have one set of code rather than needing duplicate code for both, and it seems like it wouldn't be hard to implement.

  • I'm using the touch plugin for both touch and mouse controls, but there's a problem - 'on touch' fires for left, middle and right mouse clicks, and I have no idea how to differentiate between them as adding a 'right mouse is down' condition doesn't work. I tried adding an 'on right click' event before it to set a variable but it isn't working right, presumably because triggers run out of sequence.

    As it is, it appears the only way to bypass this is to have a mostly redundant set of code for mouse control.

    Something like an extra option in the properties of the touch plugin for use mouse input, instead of yes/no, perhaps yes/no/left click only would work well.

  • > Yes, Construct2 only creates HTML5, so it has a "desktop wrapper" that includes the HTML5 engine.

    >

    > Here was the update it was introduced:

    > https://www.scirra.com/construct2/releases/r115

    Hearing that... kinda makes me wanna stick to Construct 1. I have no interest in a web browser format.

    Also, there is pretty much no difference visually between making a native exe with CC and using node webkit to make an exe. Node webkit acts and behaves exactly like a native exe. You don't have to play the game in a window with a browser address bar or navigation buttons. It's just the game and the title bar, like CC has.

  • Reading up on it more, from the OpenGL website, if OpenGL is not properly installed:

    "Without drivers, you will default to a software version of OpenGL 1.1 (on Win98, ME, and 2000), a Direct3D wrapper that supports OpenGL 1.1 (WinXP), or a Direct3D wrapper that supports OpenGL 1.1 (Windows Vista and Windows 7). None of these options are particularly fast, so installing drivers is always a good idea."

    So even if swiftshader is avoided, it doesn't necessarily help much. It's a shame we can't just install OpenGL with the application.

  • Looking into it, it appears the swiftshader issue was already addressed: scirra.com/forum/webgl_topic51770.html

    It seems though there was at least at the time no built in way to detect it, Ashley already put in checks by watching what OpenGL was doing to try to deactivate it.

  • Kyatric - canvas2d is hardware accelerated as well, it's just webgl does it better, for reasons I'm not entirely clear about. Chrome/chromium's software rendering uses swiftshader, a technology that emulates hardware rendering in software, so apps think they're being hardware accelerated when they're really not.

  • Kyatric - I think that actually doesn't display anything other than canvas2d or webgl, even in software mode.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • While it's cool, is it too late to change the name? Cuz' there's already the independent games festival using IGF, and it's quite well known and famous. It could confuse people and hinder your recognition.

Arima's avatar

Arima

Member since 11 Jun, 2007

None one is following Arima yet!

Connect with Arima

Trophy Case

  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

19/44
How to earn trophies