rollyzz's Forum Posts

  • *bump* :(

  • Hello guys!

    I have created a mobile word game, that use a textbox input. It really works fine, the only problem that I encountered is that many people use a custom keyboard like "SwiftKey".

    The problem is that the keyboard height is really different and now is overlapping the input textbox. I will post 2 screenshots, with normal and custom keyboard.

    This and this

    So, to get rid of this, I have 2 different options, in my opinion.

    1. I could try a plugin that makes the keyboard the default one. (sadly I found one for IOS only - https://github.com/PeerioTechnologies/p ... -keyboards)

    2. If I won't find something similar to #1, I could try to get the keyboard height, and automatically resize the rest of layout.

    I saw this in a game named "94%" and I'll post 2 screenshots to understand better how it works.

    This and this

    3. The last idea, is to create a virtual keyboard. This is pretty easy, but the only thing that is bothering me is the "cursor", the letter selector.

    What I mean is, if I want to write down "Water", and accidentally wrote down "Waer" (typo), normally, I press between the 2 letters and type the wanted letter. I really don't know how can I do this.

    If you guys could help me, or have any idea, would be great!

    Thank you kindly!

    Edit: The 3rd option would be the best if possible.. :)

  • Hey,

    Thank you for your replies.

    [quote:1a269obb]I think the problem is not on AdMob call logic but maybe your game not well optimized.

    The .CAPX file have only slide function and the Admob Plugin. I do not think is not optimized well. The file is almost empty.

    [quote:1a269obb]It is possible indeed that the "smart banner" type causes some issue, since it's kind of resizing the ad "on the fly".

    You are right. I changed to 'Banner', and it moves a bit better. Just a bit. Still have that lag/frame drops.

    Other ideas?

    Thank you kindly!

  • Bump...

  • Let's see.. this is a test project that will make you understand what I am saying.

    Slider.CAPX

    I mean, if you let the Admob Ads ON, when you slide to the other screan, the game will do some frameloss, a bit laggy.

    But if Admob Ads is OFF, the game works perfectly. No lag, no spikes...

    So I think the Admob Ads is reducing game performance.

    Am I correct?

    On the PC Preview, you won't see the frameloss. You have to play this on a device.

    I export the project into Intel XDK - Cordova.

    Added the plugin named: The plugin is: com.cranberrygame.phonegap.plugin.ad.admob

    Any help mates?

    Thank you!

  • Bumb... Anyone?

    Is there any other plugin for Ads?

    Thank you!

  • PS: I Export the game in Intel XDK -> Cordova

    The plugin is: com.cranberrygame.phonegap.plugin.ad.admob

    Maybe it helps.

  • Hello guys,

    I have created a game that include some swipe menus.

    The game works pretty well, but after i add the Admob Ads, the game have frame loss.

    This is the implementation.

    Layout 1 (Loading Layout): On loader layout complete - Admob preload banner ad

    Layout 2 (The Game With the Slide): On start of layout - Show banner ad at position X and size Y

    Am i doing something wrong?

    Thank you!

  • Well, that solution is the best. After some cleanup, the .capx looks like this:

    HERE

    I tried to figure out where is that problem.. and I find that if you 'toggle disabled' the "BuildPlayerAnswer" Function, it will fix this.. but the hint button won't work correctly if you disable that function :(

    Edit: Now the answer is FISH.

  • zenox98, It's not that sir! I want to learn, but this example is just to complex for me!

    I tried to understand many times, but I failed. At this moment I was trying to delete some useless objects, just to make the source more 'understandable'.

    This is too complex for my knowledge, but I look forward and I will try to understand.

  • blackhornet, Thank you sir! Really, you make my day!

    There are still 1 problem: You can place random letters because the answer is correct.

    I mean let's say it.s a SHEEP picture. You can write RWIDS and it's correct. You can place letters wherever you want and is still correct.

    Thank you again sir, for helping me!

  • It's not so easy.. if it gives you let's say.. second letter... when you add the first letter... the next one should go automatically to the 3rd place... do you understand what I'm saying?

    Easy to say.. hard to apply :(

    I think at this for like 2 days. :|

  • well.. if you use a live preview, you can try the debug and check you array list.

    The width and height of the array was 2.. so your array was like this: var1, var2 (the var3 was not read).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • All you have to do is to click on your Array object, and modify the properties : Width & Height to 3 .

  • [quote:1ogqy679]All I want is to create a "Hint" button...

    I want to create that button.. Is that possible?