andreyin's Recent Forum Activity

  • R0J0hound Colludium

    Thanks for the help! R0J0's solution works perfectly. I can even name the screenshots to the actual layout I'm in so it will be pretty easy to map out my game. Only thing I had to change was the layout scale before taking the snapshot.

  • andreyin

    Sorry for the late reply. The saved file should open. Now the file may be a blank image, though. I wasn't able to get the action that copies from the canvas to be reliable all the time.

    On another note the load texture from canvas action only loads what's on screen. Or should if it's working

    Aah, that might be the problem then.. is there any way I could use this to take a screenshot of the whole layout? I'm trying to map my game and the default screenshot function in C2 doesn't do that, I was hoping this did.

    Thanks!!

  • R0J0hound any ideas? I'm at a loss..

  • I've searched around the thread but I couldn't get this to work:

    I'm trying to take a screenshot of the whole layout. If I press P, Chrome downloads the test.png file but I can't open it. Not sure if I'm missing something, any help?

  • Great work!! I've been through the same and I know exactly what it is like. I don't think there's any kind of school that can teach this kind of thing, so it really is a great learning experience like you said.

    Good luck with your next projects!

  • OK so I've put together a build that's basically just Airscape's objects without any events, layouts, families, etc. tried it on a mac and it red-bars literally every time. So at least we have a repro.

    Reckon you could point me towards a good place to put that so the NW people can get on it? Are they OK with getting C2 projects?

    You can actually find out what's going on if you add

    "toolbar": true[/code:368yldo1]
    To your package.json. Then start your game, click what looks like a "settings" icon and go to the "console" tab. The error will be listed there.
    
    The first time it happened to me I learnt that my game was trying to load the wrong settings file, so I fixed it and it worked. But the second time it happened to me I had some crazy issues - I contacted Ashley and he suggested I could try a clean reinstall of both C2 and Node-Webkit, so I deleted everything, installed the latest C2 (r200), Node-Webkit 10.5 on the right folder (the folder name changed after r198 or something I think) and it worked!
  • Thanks for the info!

    By the way, anyone having luck with windowed/fullscreen mode on OSX and Linux? I'm using the browser plugin to get it working in Windows, but on OSX the game has black bars around it and on Linux nothing happens...

    Welp, doing a clean reinstall of C2 like Ashley said and using the NW 0.10.5 that got me, I was able to make the game work! Thanks for the help guys!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Yeah, the game was running directly from Steam. After some messing around I'm thinking that what caused that to happen was that I had updated node-webkit to 0.11, and tested it working just fine on Windows without testing if it was working OK with OSX.

    Unfortunately after rolling back all the changes (greenworks plugin to 10.5 and node-webkit to 10.5), the game still works fine on Windows, but on OSX it just closes itself after opening up, without any errors. I'd love to see some errors so I can look around...

    I searched a bit and found posts about having to chmod the file so it would get the permissions back, but that didn't seem to work. I'm wondering, what version of Node-Webkit/Greenworks plugin are you using, and does it work just fine for all the exports (Linux and OSX)?

    Thanks once again for the help!

    edit: after some searching around, I tried running the game from the terminal to see if it would specify the error.

    It says "dyld: lazy symbol binding failed: Symbol not found" and says it's referenced from greenworks-osx32.node. I honestly have no idea what this could mean. ):

    edit2: and now the weirdest thing - I removed the greenworks plugin just to see if the game would run OK without it, but it doesn't. If I open it, the loading percentage gets stuck and red. I tried once again running the terminal to see what was the error, and apparently each line there's an error about not being able to load the images.

    The error starts with "Warning: shared memory creation failed; out of file descriptors" repeated over and over, then it proceeds to try and load the images giving out an error for each one. My guess is that something in the new versions of Construct is clashing with the old Node-Webkit, but I don't even know if that is possible... I honestly wish I could just update everything and it would work but I don't think there's a greenworks plugin for the latest version of nw.js (the one that got rid of the hiccups), right? Maybe I could just apologize to OSX users and turn off the achievements for the time being...

    OSX users are getting this error when trying to run my game:

    I'm not sure how to fix it, the libsteam_api.dylib seems to be in the right place like mentioned (Contents/Resources/app.nw) and I remember it was working before, so I'm not sure what's going on... anyone have any idea? Any help or suggestion is appreciated!

  • andreyin

    I extended my rex_text_properties behavior to set wrapping of official sprite font object.

    Sample capx

    Dang, that's awesome! I'll try it out later and post on the official thread, thanks!!

  • Hi

    Do you managed to get it work?

    Yep, it's working just fine after r198.

andreyin's avatar

andreyin

Member since 11 Jan, 2010

Twitter
andreyin has 1 followers

Connect with andreyin

Trophy Case

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

Progress

21/44
How to earn trophies