SamRock's Recent Forum Activity

  • SamRock I used nwjs for this. I believe webstorage/localstorage can also do the same. Just set a global variable to your json string and use it as an expression in your save/load structure

    ~Sol

    Sorry bit weak on the JSON part. Would really appreciate if you could share some sample code

  • I have made database structure will token delimited plain text, as well as JSON, as well as nested dictionary JSON. It really just depends how you want to make it work

    ~Sol

    Could you please show/tell how you used JSON within C2? Is there a plugin or something? I am currently storing my level up information in XML, which worked fine on XDK exported games. But when I switched to CocconIO , it doesnt seem to support XML at al

  • AndreasR

    I "converted" to CocoonIO last night. I must say the performance is AWESOME!

    Love the fact that almost all my plugins are working fine. I am just having issue with the XML object , which I use to read "Level UP" information and data.

    Is there an issue with XML on CocoonIO? If so what's the work around? Please help me.

  • R0J0hound

    I figured the sprite itself were not in the right isometric angle. I rendered my own tiles and now they look fine!

    I was wondering if there is someway I can restrict camera movement only within the Isometric map boundaries when my character is moving? Right now I am using scroll to player.x and y at every tick

    I am really struggling with the math

  • Yeah looks like the parallex is causing the fireball to move differently. Spawn them on same layer as the player

  • Ashley Kyatric

    Sorry for resurrecting an old post. But I had few questions on Containers too. I have a Container with sprites having different frames, say base sprite with 2 frames for Red and Blue soldier, Helmet sprite with again 2 frames fir Red and blue respectively.

    I place the 1 Red and 1 Blue Base sprite on the layout at design time. When the game is run, I want the Red base to get teh red Helmet and similarly Blue base to get Blue helmet. How can I achieve this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks! I did an A/B test on two different descriptions. This new one performed a little better.

    Wow.. this is amazing congratulations on hitting 200K mark! Very happy for you.

    How do you do the description tests? Could definitely learn from that! My ASO sucks

  • EDIT: I realize the code in Start Layout is setting the size of the tile. Now it looks good. But I would still like to know how the iso sizes are calculated for varying heights

    R0J0hound

    Really appreciate your help. Will try this out.

    I ran into another thing. Its with the tile size. Is there a standard formula to calculate the iso Size x,y and z if the height is not same as width (in my case width is 64px and height is 52px)? I followed your mini tutorial but it didnt seem to have any effect on the output.

    Attached the tile dimension and out for your reference.

  • SamRock

    0,0 on the map goes to 320,240 in the iso view. Do you either have to move the map or change the scroll position to a better center location.

    I used your second suggestion. Scrolled to Center of the isoview and increase size of my Layout! Thanks for the help.

    Have another question now, since I moved the scroll to center isoView within the layout. How do I translate mouse within isoView to the map grid?

    Secondly, not necessarily related to your Behaviour. But I noticed that the pathfind doesnt seem to work on narrow 32px grids. For example in my image above, when I place the "player" in the middle section, it is not able to find a path out. Do you have any suggestion?

    Lastly, thanks for your help. You have no idea how much smile you brought to me. If this work, I will have ur name all over the credit screen

  • R0J0hound

    Firstly, this is the best custom Behaviour I have seen on Construct2. I see so many possibilities now. Honestly if you had made this a paid plugin I would be the first one to buy it

    I was working on your Pathfind CAPx, again marvelous idea! I just have one issue. WIil try to explain with an example, I am using your pathfind CAPX, I created 2D grid starting from the top left corner on the "PathFind" layer. I want my Isometric map to be fix in middle of the screen so I disabled the "Scroll to Player" action.

    When I run the project, the Isometric view starts somewhere at the middle bottom of the layout. Is there a way I can make the isometric view centered to the layout? I have set parallax to 0,0 for both layouts.

    Any help would be really appreciated!!

    Attaching screenshot for ur reference

  • SparklingAir Thats strange!

    I am now worried now how my IAPs are doing! I dont have a device to test. May be you can try it once

    BTW, when testing in Sandbox are you using a different user ID or your Apple dev user id (in which case also I doubt IAP will work)?

    I cant think of anything right now! I hope the products are spelt right in your events , other than that everything looks in order. If possible post a screenshot of your iAP code

    EDIT: Saw your code, and it says "on Restore Purchase", shouldn't it be "On Product Purchase"?

    "Restore" is used only when you have reinstalled the game and want to restore past consumable purchases. Apple requires this to be a button in the IAP screen.

  • SparklingAir

    What about the Action "IAP.PurchaseProduct"? Does it trigger the Buy dialog box?

    The "On Purchase" is only triggered after a successfully purchase that is initiated by the above action call.

    Next, how are you testing your app on the device? TestFlight (using Production certificate) or Adhoc test (using Adhoc provision certificate)?

    If Adhoc, then I think the IAP will not work?

    Next whats the Status (eg: Ready for Review, Approved, Ready for Submission, etc) of your IAP in iTunes Connect?

    Lastly, whats the status of your iTunes Contracts? If Financial Contracts are not effective, then IAP will not showup in the game.

SamRock's avatar

SamRock

Member since 7 Apr, 2014

None one is following SamRock yet!

Connect with SamRock

Trophy Case

  • 10-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers

Progress

11/44
How to earn trophies