lionz's Forum Posts

  • You can allocate each card to an array slot and then fill it with 1 if they achieve a certain card, so it just looks like a table of 0s and 1s where 1 means they have the card. You can then save this in local storage. That is how I would do this kind of thing but there are plenty of ways. You could also just add any cards they have to the array once achieved so it's just a list of cards. I was concerned with arrays too but once I decided to make my own inventory and understood how you can manipulate them some more then they became very useful.

    This is useful : https://www.scirra.com/tutorials/307/ar ... -beginners

  • Open up your Sprite2 in the image editor, the origin point has been moved way off to the right. Move it to the middle should be good to go.

  • Create a global variable for playlist number. Imagine them in a playlist each with an allocated number. Put some buttons on the layout. Set your logic to if(Global Variable=1), Play > Song1, if(2), Play > Song2, if(3), Play > Song3 etc. When stop is pressed, Stop current audio. When play is pressed, Continue playing current audio.(global variable will already be set). To display song name you need a text box that displays Song.Name and fit that into the previous logic. If skip is pressed then increase global variable by 1, will play next song. If prev is pressed, reduce global variable by 1, will play previous song.

  • The microtransactions are usually for third party like iOS Store, Google Play Store, Amazon Store. There are plenty of tutorials for these and I've looked into this myself. As for linking users to your own website to pay for things I have no idea.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah you should be looking to get it below 100mb

  • Something about a decryption key, can't see it

  • Post a link to the basic .capx and it can be resolved.

  • What happens when you just set pink and red to the same location without any other logic?

  • Yes it is possible to create a game with micro transactions.

  • It only loads what's needed for the first layout so the memory usage must be huge, or it's some other performance issue like maybe your PC spec.

  • You should be aiming to use smaller images and keep the memory usage below 100mb. At that usage your game is probably going to be a bit laggy soon on some platforms.

  • Nope I think on start of layout is good enough. Maybe you have a typo somewhere? I always start with some debug, try setting it to On store listing failed and see if the text changes? Can the product names be displayed?

  • Is your text box showing "text" by default? That probably means your 'On store listing' wasn't successful. You first need to 'Request store listing' then you can use the action 'On store listing success'. If there is still a problem then we need to take a closer look at the store logic.

  • I would start with the rexrainbow plugin (https://dl.dropboxusercontent.com/u/577 ... _date.html ) to detect system date/time and I guess store the time on game exit and compare how long has passed when loading the game.

    I guess you'll have to make use of local storage for save game data :

    https://www.scirra.com/manual/188/local-storage

  • I don't think this is possible in C2. This plugin ( ) might do it in the same textbox, I don't know for sure.