Anonnymitet's Recent Forum Activity

  • You can use the browser object and use the "close" action and it will close.

    A new problem I'm experiencing at the moment is that the steam overlay does not work.

    When launching the app, it doesn't even tell me that I can access steam overlay via shift+tab anymore and the activate overlay action does not seem to work either.

    Anyone else experiencing this?

    To get steam overlay working:

    1. Open the exported nw folder of your game.

    2. Rename package.nw to package.zip and open it with winzip or winrar.

    3. In the zip, find and open package.json with notepad and add "--in-process-GPU" as the last arg in the code.

    4. Save and close

    5. Rename the package.zip back to package.nw

    6. Upload or open with steam and overlay should work when clicking shift+tab.

    You can also change so NW exports the game with the in-process-GPU arg so you don't have to redo this every time.

    Good luck with your project!

  • To get steam overlay working:

    1. Open the exported nw folder of your game.

    2. Rename package.nw to package.zip and open it with winzip or winrar.

    3. In the zip, find and open package.json with notepad and add "--in-process-GPU" as the last arg in the code.

    4. Save and close

    5. Rename the package.zip back to package.nw

    6. Upload or open with steam and overlay should work when clicking shift+tab.

    And read this thread and you'll find solutions for most of your steam problems.

    You can also change so NW exports the game with the in-process-GPU arg so you don't have to redo this every time.

    Good luck with your project!

  • Yes you can use that tutorial and it will work with Steam cloud save. Cloud save is handled in steamworks and you don't have to do anything in C2. All you need to do is to tell Steam which folder your game uses for saving and it will work. So just make a regular saving solution in C2 and then do the rest when you have a developer account on steam and can access steamworks and its settings.

  • Ok, good. And if you don't have too many objects that needs to be dragged you could have a pin behavior on each object and pin them to the map sprite when they are created and they will move with the map while being dragged.

  • imothep85 You should not be able to move the map too far if you have done it right. I guess you have on collision with the sprites then change the position of the map? You have to have "is overlapping" so it stops the map from going too far every tick.

    As you can see in my example there is no way to move the map too far as it stops whatever you try to do.

    How many objects are on the layer you need to move?

  • Yeah, game making is not easy when the brain is tired So you got it to work?

  • There are many ways of doing it. Like checking the maps X and Y values. So for example if you don't want the map to go more than -600px to the left then setup the events like this: if maps x is less than -600 then set map X to -599

    And do this to limit left, right, top and bottom scrolling <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    You can also do it with sprites like this: https://dl.dropboxusercontent.com/u/100 ... 2/map.capx

    There are many other ways to do it so I can't say this is the best one. But it works <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • touch and drag i have the same result has your index.html, but i dont want to see that empty space outside the map, i want the map stop whend the edges reach the edges of the layout size 480x800px

    I understand that but if you limit the drag like this it should be good?

    https://dl.dropboxusercontent.com/u/100 ... index.html

  • im trying but i dont get any good result

    What effect are you looking for? Touch and drag?

    https://dl.dropboxusercontent.com/u/100 ... index.html

  • How do I make it work without Making it Immovable?

    If your ground is moving it won't matter. Set the physics behaviour on the ground as immovable and you can still move it or do whatever you want and it will collide with the coin.

    Like this capX:

    https://dl.dropboxusercontent.com/u/100 ... ysics.capx

  • doublepost*

Anonnymitet's avatar

Anonnymitet

Early Adopter

Member since 11 Feb, 2014

None one is following Anonnymitet yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies