Zathan's Recent Forum Activity

  • Scirra needs to focus on that revenue thing... We need a c2 official plugin for ads/iap/whatever that works FINE. At least in most cases. Because at moment we have thousands of ways to do that, but none really works as it should. All with pros and cons (mostly more cons)... bugs, incompatibilities, few settings... these are the most common problems.

    The thing is: when you start to develop seriously, you want to make money with this. And you want a EASY way to do that, because make a game is difficult enough... I know these things are not so simple, but C2's already a very complete 2d game engine. In my opinion, the best. Just missing that revenue thing.

    So... please, bring us a robust and compatible system with at least the majority of platforms that allow us to earn what we deserve for the work and time dedicated to the games production.

  • Hei,

    i finished your little tutorial.

    download and try it, let me know if this solved your problem!

    Hehe awesome

    thank you very much, dude

  • hi,

    you can do it easy.

    i havn't C2 installed in this Pc, but i try to help.

    just fix the volume min and max.

    1. Put the SQUARE in min area and record its X position, assign its volume to zero "0"

    2. put the SQUARE in max area and record its X position, assign its volume to max volume (goto help to know it)

    3. Add drag drop behavior to the SQUARE and in on drop: compare the current X position and set it's value to volume.

    try and tell me the result.

    Hi, thank you for the answer <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I understand this logic, but I really don't know how to implement this on my project. <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    I found this example made by Yann, and sent him a pm for more details..

    http://dl.dropboxusercontent.com/u/2355 ... index.html

    The first slider is exactly what I want.

  • I think is a little complicated to understand what I want, so... check this:

    If it's still complicated, just tell me.. Thanks

  • Anyone have a capx with an example for me?

    I'm trying to do this by myself, but with no results...

    Thanks

  • I can't figure out how to solve this problem.. Anyway, thanks.

  • Zathan

    Manual says...

    [quote:1g4j0hvh]Local vs. Session storage

    The WebStorage object allows data to be stored in two places: Local storage and Session storage.

    Local storage is permanent (until the user clears their cache). If the user comes back the next day, local storage still has the saved data.

    Session storage only lasts with the current browser session. If the user comes back the next day, session storage is empty again.

    Cache is not cookies, big difference. Cache is wiping all browser data, basically making the browser start from scratch.

    You cannot install something on a users computer that he/she doesn't have the ability to delete.

    If you want permanent data that user can not delete, then you must store data in external server and connect the game to that server to retrieve that data.

    Webstorage is your best/easiest option. And local is permanent, and session is only lasts till user closes his browser.

    The save/load also stores an array entry into webstorage.

    If the user wipes his cache, then he wipes your saved game data, but also all data from all websites and he obviously wants to do that, which he is allowed to do - its his machine.

    Ah, great explanation! Now is clear to me.

    Thank you.

  • Zathan The suggested manual by Tekniko answers your question. You can find it in the third paragraph.

    Take your time to read the entire manual

    Yes, it's written that is not deleted...

    But in the "Local vs. Session storage" part, it's written that you have two options. But in both, when the cache is cleaned, everything is lost... did I miss something?

    Sorry... my english is not good, so...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • scirra.com/manual/120/webstorage

    Thanks for the answer

    But, using the webstorage, if the user clear the internet cache, the savegame will be lost, right?

  • I want to save a variable to the player's pc or mobile... no just a cookie. I know the simple save/load actions do it, but i think it don't work just for a variable, right?

  • A capx example would be helpful, too see what´s wrong with your events

    https://dl.dropboxusercontent.com/u/191829622/clayio_test.capx

    You'll need the clay.io plugin

    Thanks

  • Bump :/

Zathan's avatar

Zathan

Member since 1 Jul, 2012

None one is following Zathan yet!

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies