Virpoja's Forum Posts

  • clockworkmonster

    Hi, you can use Admob plugin and then export via Cordova. Then use Intel Xdk to compile APK (via Crosswalk)

    That way you have APK file with ads that you can publish in several stores without need to export again.

    There are number of tutorials about this on Scirra forums.

  • Hi guys, I have to say this Challenge was just what i needed to push trough and finish couple of my android projects. And also to learn to use ADMOB & Crosswalk in the process.

    Once again thanks alot to Scirra team & awesome community on these forums!

    here are my games:

    http://www.amazon.com/Vitsa-Seagull-Hap ... ll+happens

    http://www.amazon.com/Vitsa-Croak-For-I ... oak+for+it

  • blackhornet, You Sir are Awesome!!

    Thanks a lot, now it`s working like a charm

    Thanks to everyone else too, once again Scirra community pulls through

  • blackhornet, I checked out your example. It`s still not working however... I made couple of tweaks since code you added was pointing to wrong object i think (it moved the item slot instead of the item). But i did n`t get it to work after that either. I think the solution you are offering will work it just needs a way to select the correct instances for the position switch (correct instances of Item1 sprite, that is). Well it`ll work eventually , thanks for your help so far guys.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Scofano, thanks for reply I see what you mean. However can you be little more specific how to achieve this, like how to pick instances vie events etc. I get the idea but I am having really hard time creating events for it.. Anyway thanks for your help

  • Thanks for your reply Blackhornet, double family thingy looks like it might work. I have to try it when I have little more time and little less tired brains. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Also here`s the Capx via Dropbox if someone wants to take a look.

    https://dl.dropboxusercontent.com/u/137 ... ample.capx

    Thanks

  • Hello, here`s the thing:

    I am creating a inventory system that is its own layout and I am storing object data such as armor etc. in to instance variables of the sprite. Item creation (transferring collected items from actual level via Web storage) is working fine and the correct values are transferred.

    Inventory system works like this: you click object and then you click item slot and item moves to that slot. This also works fine.

    My problem is this: I can`t figure out how to switch two instances of the same sprite in to each other's positions.

    So i need to have it working like:

    Click Item1 in inventory slot 2

    Click item2(same sprite but different instance) in inventory slot 4

    Item1 snaps to inventory slot 4 & item 2 snaps to inventory slot 2.

    I tried to attach Capx but it kept saying that uploaded file is empty...

    Thanks in advance