fredriksthlm's Forum Posts

  • Collection items? Not possible just to use variable..? Knife=1/0 etc

  • Hi,

    I am making a sidescroller space shooter sort of. With gyro steering of the ship. maybe one Endless/infinite mode- and one mode with levels.

    I need a little help to find a good title. Something that relates to gyro, space, gravitation, future, dungeons, speed, shooting.......

    print screen of Gradius (obviously NOT my game, but for an idea of how the game is!)

  • Hi,

    I am building a cordova Android mobile game and want to build a high score and achievements game.

    The game is a sidescroller shooting game, steering with gyro. The game (one mode at least) is "endless playing", making higher score as longer you can last. faster and faster sort of...

    So a high-score table is a sort of "must have".

    Right now I have build a game with php/sql posting /reading. But starting to feel that this is not the best solution for me.

    Now my solution means that you do not have to log in to anything (which is quite nice), you can just post you high score as you want, in any name you want. And the high score table can be designed and integrated as I want. Very nice looking. But at the same time it actually do not feel that nice to have an app posting whatever to my private php db. Also people can post what the fuck they want. like Hitler/fuckface or whatever... and that do not feels right!

    So what's the best solution now?

    GooglePlay or Facebook?

    The official plugins does not sem to work perfect for mobile games? And cranberrys plugins? Are they both perfect?

    According to another thread cranberrys GooglePlay games can't even fetch hingscore as integrated data, only open in a googleplay layer/skin (ugly as fuck)

    GooglePlay is only "anonymous" made up names, FB is peoples real names? Can both plugins fetch public leaderboards or only from contacts/friends?

    Ideas? Anyone made a android mobile game with high score table I can take a look at?

  • I am also intrested in this one. Are you making a web-based or mobile/app/cordova game?

  • Ok cool.

    I just read that in the manual too. That the official should work just fine, with the correct parameters set. But doesn't seem like anyone has made a tutorial yet..

    I will see if I have time to look into it. It would be so cool to have the high scores in the game, with same theme. and not open the google play UI thingy.

    (Now I am using PHP-server solution for a really cool highscore table built in. But it feels a little bit scary to publish a game that will call a private sql db all the time..

  • Ok, thanks. Quite disappointing to hear. (not your fault of course!)

    Just a quick question then, what is the disadvantage of using the official google play plugin? Since it actually has more features and is included in environment from start, it would be better?

  • Hmm.. okay. Then Cranberrys plugin is more limited than the c2 official GooglePlay plugin then?

    Since in the original plugin you have this action:

    Request hi-scores

    Request a hi-score list for a given leaderboard. Scores can be returned for public results, or "social" (from users connected to the currently signed in player), and a time limit can be applied such as to return only the day's best scores so far. The top type returns the very highest scores, and the window type returns the scores around the current player's own best score, allowing them to see where they appear in the rankings.

    And then you can use these expressions for instance:

    HiScoreAt(index)

    HiScoreFormattedAt(index)

    Return a numerical value, or formatted string, for a score at a given index.

    HiScoreNameAt(index)

    Return the name of the player associated with the score at an index.

    But that is not possible at all with cranbberys? cranberrygame

  • In your game Match3, I can see that you fetch your own high score into the game, but the leaderboard button just opens the GooglePlay screen, with the different leaderboards.

    But in this template, is it possible to fetch the high score lists (different lists like, best of the week, month, ATH, etc) with names and scores into the game itself. Without just opening the GooglePlay screen.

    From the manual for the official GooglePlay plugin that seems to be possible to do.

  • no ratio fits all screens. to have "to low" or "to high" ratio just tells where the black area will be. it depends on where you prefer.

    but read more in the manual. it might be possible to have a perfect solution for you if you redesign your game a bit maybe search for fullscreen scaling

  • "the local top ten", would just be their own name ten times? Or am I missing something here...

  • there are no ratio/resolution that will fit every screen, especially if you need something to bounce exactly on the "wall"..

    so you have to decide how it will "cut" it. read more about the settings. scale inner, scale outer, letterbox etc etc.

  • When exporting my game to landscape the game is landscape, (tilting mobile to left from portrait). And as you say, the game is locked this way, not flipping while flipping the mobile. So I see the same thing as you do.

    But I do not see this as a problem at all.

  • I tried your demo. The gameplay is actually quite good.

    But I think you will need to improve the artwork. It is just not good visually..

    Also visual effects like flashing lights and stuff.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I am creating a space ship flying side-scroller -thingy type of game.. First I made the steering with flappybird style. Just control the spaceship with tapping. Then the game is easy to learn, but hard to really control your ship..

    Then I tried the gyro function... Did not get it to work properly.

    I am trying to steer the ship with the phone, leaning it to right (turning it clockwise) means going down, and rotate left (tirning counter-clockwise) should go up. Sounds right? When I read the manual I think I should use the gamma-orientation.

    I have a few questions though. The game is landscape. (Set to landscape in Construct2 and also in Intel XDK, and that works), but the gyroscope degrees are always made for portrait? When I start the game i can get zero degrees for the gamma when holding it portrait. but when I hold the phone in front of me in landscape the gamma goes negative. But okay, I can work with that. BUT, now the gamma do not work for turning left and right any more. Now the gamma works by flipping it back and forth some how.... (I am using a Samsung Galaxy 6S)

    Anyone created gyroscope steering that can give some help here?

    Possible to default the gyro degrees to landscape instead of portrait?

  • Actually, according to some tutorial writers the official Facebook plugin does not work for mobile/cordova games. To use the FB-login feature in a mobile game you have to use third party plugins (it exists facebook plugins in the scirra store for example), or modify the official FB plugin with javascript"hacks", like this one:

    https://www.scirra.com/tutorials/9396/p ... va-and-web

    gameba see tutorial above.

    Other inputs? Anyone using the official FB-plugin for login in a cordova app?