shinkan's Forum Posts

  • If you are using Text or SpriteFont make sure its wide enough to hold values. When object is too small it will not show everything.

  • So what happen to good old Professor?

    http://youtu.be/8R6kdDaXiKU/

  • I didn't make myself clear enough.

    Normal user will never touch any file inside game folder except file to run current game.

    But a bit more advanced one, who likes to know whats insider folders will start sniffing around. And it's only a matter of seconds.

    It's not only about graphics but with everything: images, sounds, music, xml. Every file you are using in C2 is stored in that "package.nw" and can be easily copied, deleted or modified.

    That's obvious if someone want to rip your assets he will do it, but why we should make it so easy?

  • Besides, it would still have been relatively easy to get the resources out. Copyright law is a better deterrent than technical measures.

    Ashley Yes it's true, but for a normal user extracting resources is equal to black magic. But like I said in total commander you can just double click the file to open it. For desktop you can "open file with WinRar" doing same thing.

    And file name package.nw is calling to you "I have all images if you want".

    Simplest thing You could do to make it more less inviting is simple changing name to something else. For example "lib.dll". Or even better add simple event to let us select select our own name, and let us choose path where this file is placed. So you could do a folder called "data" or something and then you could place all your file from C2 and external files in that folder.

    But first of all, this file "package.nw" should never be able to open up.

  • bjadams no, it creates

    dxwebsetup.exe

    ffmpegsumo.dll

    icudt.dll

    "gamefile".exe

    libEGL.dll

    libGLESv2.dll

    nw.pak

    package.nw - this file contains all graphic files of your game

  • Is there a way to limit effects, like Warp to object boundaries? Like it was in CC.

    So effect is only applied inside sprite boundaries - texture is wrapping around inside sprite.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tom Could You make text for "Last edited by xxx on yyy, zzz, edited 1 time in total." a bit smaller, It's taking about 1/4th of the post currently.

  • Sorry for hijacking this thread, but if we speak about Node-Webkit... Is there a way to secure package.nw file? Because for now I can double click it (I'm using Total Commander only on daily basis) and all my game files are visible. So I can just copy them, modify, delete... whatever. And for desktop games it's kind of unacceptable.

    After spending month on your game anyone can just rip all of your texture images without great effort. I know there is no perfect solution against piracy and sprite thieves, but currently it's more like an invitation for them

    Edit: I'm asking that because I've made some sprites for sale, and make a nice "demo" of every sprite, animation etc... And now I'm not sure if I should publish this. If I put it as a html5, every single browser can download all of my sprites with few clicks. And now when I decided to use Node-Webkit I accidentally found out that ripping sprites off Node-Webkit is much easier than from browser :/

  • You can't change Tilemap image on runtime.

    What you can do is to make few Tilemaps with different textures and just swap them - they should be exactly the same but with different look/style.

    For example if Tilemap1 have tiles:

    0 - alien sand

    1- alien grass

    2- alien rock

    then Tilemap2 must have:

    0 - desert sand

    1 - desert grass

    2 - desert rock

    So if you swap them they will have same id's on screen but with different image.

    Other thing you could do is to make one tilemap with all graphics. Let say tiles id 0 - 16 would be alien planet, and tiles id 20-36 - desert.

    Then if you will need to swat texture you need only add 20 to every tile id.

  • Guizmus 9patch was my first thought, but unfortunately 9patch can't be rotated.

    Not sure exactly which example hopr37 is referring to, but if it's the one I'm thinking off, arrow in that example was rotating to mouse position. But I can be wrong.

  • I'm not sure I understand what you are asking for.

    Groups are groups. "System| Group "xxx" is active" is a condition to check if Group named "xxx" is active or not.

    If you don't have a Group called "xxx" then "System| Group "xxx" is active" will not even let you make this condition.

    Edit: And why do you want "a lot of the same event groups on the sheet for each" that have no sense.

  • SeekerSK Yeah, it's just that first middle mouse click. I'm making a level editor and middle mouse button is assigned to pan around the screen. Every time I run preview I'm panning straight away, but instead of scrolling my level, my entire game scrolls. And it's hard to habituate to press left or right mouse button somewhere on screen and then start panning around .

  • So renaming animation is doing that!

    I had this issue many time but couldn't figure out why is this happening.

    Easy solution save your file as a project folder. Then when you open image editor it will be fixed - if not then right mouse click on animation frames panel and select Reload from disk.

  • Can't think of any other way.

    If you need more control create a sprite, make it follow mouse. Set mouse cursor to none and set this sprite to work as mouse cursor.