mrneko's Forum Posts

  • Hey everyone,

    I've been using phonegap plugin to access leaderboard for my android games. However in the latest game it keeps showing unknown error when trying to login. I am using the same events and codes from the previous games so I have no idea what went wrong. All the games are signed and exported using intel XDK with Cordova.

    The events are simple:

    On touch "Google Play Object" and Phonegap is not logged in: Phonegap Login

    It worked for all my previous games but just for this one, it keeps showing "Unknown Error"

    When I click on the object, it shows that it's trying to connect but after a few seconds it shows that error.

    Any help is greatly appreciated.

  • cranberrygame

    I've been using phonegap plugin to access leaderboard for my android games. However in the latest game it keeps showing unknown error when trying to login. I am using the same events and codes from the previous games so I have no idea what went wrong. All the games are signed and exported using intel XDK with Cordova.

  • RamPackWobble

    Thanks

  • I have 20 random objects on a layout and they consists of 3 families.

    On the other hand, I have a 3x3 array that records 9 positions on the layout. How do I check when the positions are filled with objects from the same family?

  • Hi everyone,

    I have 30 - 40 objects on screen and I put all of them into a family. Every time 3 or more object from the family is destroyed, I want to add 5 to a global variable "time". Is there a way to calculate the number of objects destroyed?

    I am currently using

    Family On destroy & Family.Count>=3 : Add 5 to timer but it's not working as I wanted.

  • Hi everyone,

    I want to launch a game with multiple levels. Currently I've designed around 50 and planning to add 20 - 30 every week.

    This is going to be an Android/iPhone app only. What is the best way to design multilevel?

    1. Duplicate event sheets?

    Currently for the "game" event sheet there's about 2,500 events. So if I were to duplicate event sheets and layouts it's going to be a lot of events in the future. Say 100 levels is going to be 250,000 events and 1000 levels is going to be 2,500,000 events altogether. Is this going to affect gameplay performances?

    2. Include event sheet?

    I tried to use a "level" event sheet to design all the levels and include it in the main game event sheet. However, it causes the game to lag severely even though there are only a few levels. Not sure if I did something wrong.

    3. Group and design all levels in "game" event sheet?

    This is what I am currently doing now and has no issue with gameplay performances.

    Appreciate any suggestions.

    Thanks.

  • Hi everyone,

    As title stated I have 45 objects in a family and I have to generate 30 of them randomly on the map. I don't want any of the 30 to repeat though.

    I tried to follow the tutorial here => https://www.scirra.com/tutorials/315/ge ... duplicates but it's still rather confusing for me. For the part where randomNumber = floor(Random(0,15)) .. how should I change it?

    Thanks.

  • tunepunk

    I will try it. Still a bit confused though.

  • tunepunk

    Thanks for the explanation. How about if I only want to get the location the object that is overlapped?

    Currently I have

    On Start of layout, set array (0,0) t family.X and array (1,0) to family.y

    family is overlapping family: set array (0,1) to family.x and array (1,1) to family.y

    I know the event doesn't look right. I want to be able to record the overlapped object's location in the (0,1) (1,1) array.

  • LittleStain

    I think I stated it wrongly in my original question. I already changed it to be clearer. I want to be able to get the location of each object of the randomly spawn objects from the same family and record them in an array.

  • Hi everyone,

    I have 3 objects in a family and I randomly spawn 30 of them on the map. I want to be able to determine the location of all the objects on the map.

    Thanks

  • My approach for matching puzzle swap that utilize flood-fill

    alextro

    Just had a look at your code and trying to reverse it. I want the blocks to be destroyed if neighbour blocks are of different colors.

    Example: Instead of 3 red blocks being destroyed on matched, it will be red, purple, blue destroyed on matched. Hope it makes sense.

    I set invert: Animation frame = Self.AnimationFrame but it doesn't seem to work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes but without the SDK I won't be able to track my installs. At least that's how I understand it. The ad report will only track the CPC and not CPI cause they won't know which of the clicks result to installs.

  • Hi everyone,

    I installed phonegap plugin for google play leaderboard and achievement and have the following event

    Phonegap: Is logged in - Phonegap:Show leaderboard for ID

    Phonegap: Is x logged in - Phonegap: Login

    Show leaderboard for ID

    The problem is that everytime I exit the game and go back in, I need to press the leaderboard/achievement button twice for it to show up. It doesn't prompt for another login though, but nothing happens when I click on it the first time. Should I use webstorage to remember the login or is there a better solution?

  • Hi everyone,

    Has anyone tried to promote your apps on Facebook?

    When I try to create an ad on Facebook, it says "You're not an admin of this app, so you might not see all ad options."

    Do I need to integrate Facebook SDK or anything in my app?