jeffige's Recent Forum Activity

  • Ashley

    I now know its not the log in causing the issue but the leaderboard when its displaying.

    If its on 'social' music still works, but if i go to 'all' thats when music stops.

    I want to inspect things a bit more to see of i can figure it out. If not, i'll have to post a capx. Seeing this is my only issue thats causing me to promote to beta testing, i may need all the help i can get.

  • But if I target 3:2 aspect ratio, my game should work an almost all devices, but a user will see black bars around my game if device aspect ratio is different. Am I right?

    First, did you look at the links i posted before?

    Basically, if your layout is....say 600x300, and your window is....say 400x200, you want your layout, that 600x300 to be a bit larger. Say 700x400.

    Then when you add objects, make sure NOTHING important is close to the edges.

    Again, i can not remember the exact expression you need here.

    Its either viewport or window expressions. And there will be A LOT of trial and error here.

    I do not know if you could actually bounce the ball off the edges of the screen. As i said, adding plain objects to your game then making them transparent and rectangle and placing them at the edges of the screen by way of the viewport or window expression.

    (This is wrong, only adding it for an example)

    create object - X position.viewport.left +30

    Again, that is not the expression but its something like that.

    Search the manual for viewport and windowwidth and or do a forum search. Take some time to read through.

  • im making a text based horror game. but the text were the player writes is too small.

    I'm not at my laptop but if i remember right: on start of layout - Textbox - set "ecm" (that ecm may be wrong, can't remember) to.....

    Do a search in the manual for css or textbox or text box. The exact css styling is in there. Just needs a bit of trial and error.

  • But when do not exist, I want to create it, how do I do it?

    Because the "else" is not supported.

    It will 'exist' after you set a trigger for it to exist.

    Example:

    Player - On destroyed > System - Set lives (lives is the global variable) to 4

    Then add the action to set lives to localstorage:

    Localstorage - set lives_key(1) to lives(2)

    Number 1, the lives_key is just a name for THAT data in localstorage. You can call it anything you want, but most people will use the global variable its saving and some will add the KEY after it, just as a quick reference so they don't, i mean me, get confused.

    So when you start the game again, that localstorage WILL exist now, and it will have the value of 4.

  • I contacted dev console's online chat and asked "if the player is not logged into Google Play Game, will their score still update on my leaderboard?"

    That was 4 hours ago, they said they have to figure it out and get back to me.

    Does anyone here know if it will update? The answer is going to change how/when the player logs in.

    Thanks for any help on this.

  • No. Nothing that complex. It's just to see if the player can play (say 10 mins) without dying, they get a reward.

    After i fix this 1 bug that popped up, gonna try it out.

    Thanks for the replies.

  • Since my game takes up the full screen and i don't have levels, banners are out of the question. Not only that, players HATE them. They distract the attention of the player. And you do not want to piss off a player so they just quit playing and uninstall your game.

    I use interstitials. Each time the player dies 1 is added to the Global Variable Show Ads. As soon as the player dies and that GV is equal to a value i set > Show Interstitial.

    I also have a reward interstitial. Once it's shown, the player is rewarded with a very small quantity of power-ups. When they see that reward ad, the GV (RewardAd) is set to 0 and the group "Reward Ad" is deactivated.

    Each time the player dies, 1 gets added to the GV RewardAd. When that GV is equal to a value i set, the group "Reward Ad" is activated and they again can watch and earn.

  • Title says enough!

    Not really.

    Is the object small and you want to make it larger?

    Is it large, covering the screen, and you want to make it smaller?

  • You can win in your game a few different ways.

    Do a check to see if any boxes are left on the layer.

    Every time a box is found/destroyed add 1 to a Global Variable named Win. For each layout you have: compare that Win Global Variable to whatever score you set for the player to reach to win.

    To win = 20

    System compare variable = 20 > Display Win on layout.

    Add a text box to the menu layout, name it Score or Score_txt, so you can tell the different in names later.

    Add a global variable to event sheet named Score, doesn't matter where you add it, but its preferred to add it where it takes place. As in on the event sheet that the score takes place, such as the gameplay layout.

    On Menu Event Sheet:

    System - Every tick > Score _txt - set text to Score

  • I'd like to reward the player with a single power-up if they can go X minutes without dying.

    I've looked at game time but that won't let me. Timer behavior doesn't seem to work either.

    I also thought about adding dt to a GV. Then if that GV is equal to X minutes (secs) reward the player and reset the GV.

    Would this work?

  • Google Play Game Services should function entirely independently of the rest of the game. It sounds like it could just be a mistake in your events. Unless you share a .capx it's pretty much impossible to comment further.

    Thank you so much for the reply Ashley. I'll go back through all the login/audio events and try to see what's what.

    If i still can't find it, i'll do as you say and share the capx.

    Thanks again.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How many slots do you have?

    Can you choose which slot to save in?

    You may have to add a 'delete save'. I don't use saves so i may be pulling this out of thin air. I would look at something like:

    Creating a 'clear storage' button. On touched button (delete save) then choose which slot you want to delete. Again, i've never used 'save game' or anything like that, so i'm not sure of the logic that goes with it.

    In my game i have 2 invisible objects, that when touched in sequence will clear my entire storage. This is only for testing purposes, but still in that general area.

jeffige's avatar

jeffige

Member since 28 Oct, 2012

None one is following jeffige yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies