sizcoz's Forum Posts

  • Testing pinch to zoom on forms (link to online version).

    Just tested on Mobile and it works great. brilliant.

    This could be a real asset for developing web pages in c3.

    The only essential thing is to make it discoverable from search engines.

    Great stuff

  • sizcoz

    I haven't tested it, but maybe with

    > 	touch-action: manipulation;
    

    or with

    > 	touch-action: manipulation !important;
    

    It's possibile to abilitate pinch to zoom in an element.

    I think I'll add Touch events conditions (touchcancel, touchend, touchenter, touchleave, touchmove, touchstart) in one of the next releases.

    People expect pinch to zoom on mobile, on forms etc, would be good if you could achieve this.

    Good stuff , it's progressing well.

  • I think that after I resize a sprite in the sprite editor. this happens:

    When I select other "normal" sprites, the 'tiny box' is in the center of the object, but this one is not. and it interferes with gameplay and many things. Please help me out, thank you!

    You need to center the image point.

  • Added a new example file, how to build a landing page.

    (based on Responsive Web Design Projects - Build a Product Landing Page)

    Update a new release - version 0.0.2.3

    Add Mustaches for Attributes, Classes and Style

    New Actions

    HTMLAddAttribute, HTMLRemoveAttribute, HTMLChangeAttribute, CustomJSGetFileURL, CustomJSGetFileBLOB, CustomJSGetUrlBLOB, CustomJSGetBase64ImgFromURL, CustomJSGetBase64ImgFromFILE

    New Conditions

    JSOnGetFileURL, JSOnGetBLOB, JSOnGetUrlBLOB, JSOnGetBase64ImgFromURL, JSOnGetBase64ImgFromFILE

    New Expressions

    JSGetFileURL, JSGetFileBLOB, JSGetUrlBLOB, JSGetBase64ImgFromURL, JSGetBase64ImgFromFILE

    I really like what you are doing here.

    If you could add pinch to zoom, in some form or format (challenge on !), this would be a really viable project.

    Keep up the good work.

    cheers.

  • Which ad providers are you using? Mine are set to: "Commonly used set of ad technology providers". Maybe I should hand pick the 12 under "Select ad technology providers". However, all my other apps are close to 100%, but are only affected if they are pulling in interstitials.

    I can't advise you , but I have picked the 12, and on average always get over 90 % match rate.

    Maybe It's worth a try, I won't give my preferences here , but you can always email me, at

    sizzgameslro@gmail.com

    By my calculations if you say you have 746,00 network requests and you were getting 90 % match, that would equate to 671,000 requests, if you got a 1/4 of those requests as impressions, that's 168,000 impressions, on an average of £2.00 rpm(revenue per thousand impressions), you should get £336.

    So, you should sort it out sooner than later.

    cheers

  • United states and South Africa are under 1%. Everything else is at 100% except Argentina which is at 36%.

    Have you researched your 12 ad providers, seeing as most of your downloads come from usa, maybe target usa driven ad providers? Don't know if this makes any difference btw, seeing as gdpr is for eec.

    Or maybe you have some settings wrong in admob, seems strange that usa and south africa are affected the most?

    The best thing to do seeing as you have high traffic, and potential loss of earnings is to email Admob.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thats seems really low

    I have 91.7% for the last 30 days .

    With which country's are the low match rates, or is it across the board?

  • Just updated my game 'Snake in the Grass' with the new construct 3 runtime, to Google Play store.

    I'm hoping everything will work as it should. Ads etc.

    The Game play from what I have tested seems to run a lot better with the new runtime.

    I have added a new mode, Star Run mode, where you have to collect 20 stars in numerical order as fast as you can.

    I have also added a Global Leaderboard for the new mode based on the lowest time, which was a challenge.

    Game link below

    Snake in the Grass

  • Hi!

    Does anyone know how I can make a trail effect for a ball?

    Here is an example:

    It's easy to achieve if your going in a straight line but if I have a ball that bounces I can't really seem to get it to work properly.

    It looks OK to just spawn another ball and fade it every tick but I would like to learn how to make a proper trail effect.

    If you know how to do it please share! :D

    EDIT:

    Better Image of the trail effect I would like to learn

    Another way is to use a couple of particles.

    Example of trailing fireball

    http://www.sizzle-games.com/fireball

    and the capx.

    http://www.sizzle-games.com/fireball.capx

  • Hi, thanks for reading. In this topic, I would like to discuss about the possibility of making games with rather different physics. In snowboarding games, the main character seems to slide through a never ending, random generated line in a wavy fashion. I assume maybe some mathematical formulas are involved in doing the terrain. The same goes to Tiny Wings. I wonder how could I make a level with that physics and terrain. Also there is another game, Worms. In it, when the terrain gets hit with projectiles, it leaves a hole, generally round. How can I do that? Thanks

    I had a mess around with the physics behaviour, and came up with a rough example, but I'm sure math is the best approach.

    https://www.sizzle-games.com/hills

  • > You can do it with css and buttons, but they sit on top of the canvas.

    > Take a look at this in css.

    > It shuffles, then when clicked on it puts the choosen card on top (z-ordered).

    >

    > Best in Chrome, but works in Firefox and edge

    >

    > https://www.sizzle-games.com/cardflip/

    Yes. i see in behavior script blocks with something like css3 code.

    Your example look very good. But in behavior this is look much better. For example, you can see side card at every flip moment.. Not only when card was placed.

    I try search and compare other card game... well, most not use flip. Try use effects by Gigatron, not good too.

    I think that Flip-behavior can use for coins, heart, card ... maybe random item generator (if behavior will be with properties).

    You example great, but.. not so smooth. And im think with every project you need again and again re-work css. This is not ideal.

    Im not so familiar with C2 and css using.

    Can you share you primer capx? Or make only 1-2 card with no shift and transition? Only flip in a place.

    Maybe its possible combine with Moveto or Litetween behavior?

    Here's that capx.

    https://www.sizzle-games.com/cardflipped.capx

    Card faces are free from google.

    19 events

    cheers

  • Awesome, but ...

    1) Need to fix the problem with a flip of several sprites at same time. When they 2 or more.

    2) Add flip options - flip right, flip left, up and down. Active on/off

    3) Add frame selection options or parameter. For manual or random selection.

    4) Add scale option or parameter (like it lifted under deck or place) (optional)

    5) Add the shift option or parameter (when you visually turn the card, you move it to the side) (optional)

    Anyone suggest how to implement the same flip effect by other means?

    Im try make animation in Spriter and Dragonbones - not good idea for 74 cards.

    Tried, effects, but they don't work the same as this behavior.

    If someone does, I'll be ready to buy this behavior.

    You can do it with css and buttons, but they sit on top of the canvas.

    Take a look at this in css.

    It shuffles, then when clicked on it puts the choosen card on top (z-ordered).

    Best in Chrome, but works in Firefox and edge

    https://www.sizzle-games.com/cardflip/

  • So with your second method, I do not need to create an empty text file on my server right?

    For some reason I can't make it work. I think it's because php files don't have the authorization to write on my server or something like that.

    I will check that with the I.T guy of my lab and try again ^^

    Thanks anyway !

    Just out of curiosity. What part of the php code deals with the creation of a new file if there is no matching file name on the server ? Is it just how "fopen" works ? Then why do you need to create in advance a text.txt file with the first method ?

    Its the "w" parameter

    $myfile = fopen("text.txt", "w") or die("Unable to open file!");

    "r" read: Open file for input operations. The file must exist.

    "w" write: Create an empty file for output operations. If a file with the same name already exists, its contents are discarded and the file is treated as a new empty file.

    "a" append: Open file for output at the end of a file. Output operations always write data at the end of the file, expanding it. Repositioning operations (fseek, fsetpos, rewind) are ignored. The file is created if it does not exist.

    "r+" read/update: Open a file for update (both for input and output). The file must exist.

    "w+" write/update: Create an empty file and open it for update (both for input and output). If a file with the same name already exists its contents are discarded and the file is treated as a new empty file.

    "a+" append/update: Open a file for update (both for input and output) with all output operations writing data at the end of the file. Repositioning operations (fseek, fsetpos, rewind) affects the next input operations, but output operations move the position back to the end of file. The file is created if it does not exist.

    So should write a new file to the server, if it does not exist.

  • Yes! Thanks! I wanted to do this kind of things at first.

    But if I have a single .txt file, won't every player erase the data from the previous player? Is there a way to prevent this ? Have several files ? Have each player's data be written after the previous player's data in the same file?

    Anyway. I'm satisfied with my e-mail solution. I'm just asking out of curiosity. So if you don't already know the solution, don't think about it too much :)

    You could have a new file for each user file.

    Just post the data of the required file name.

    Example

    <?php

    $myfile = fopen("$user.txt", "w") or die("Unable to open file!");

    $text = $_POST['my_data'];

    $user = $_POST['my_user'];

    fwrite($myfile, $text);

    fclose($myfile);

    ?>

    This will create a .txt file if it doesn't exist, and will be called whatever the user inputs as it's name.

    $myfile = fopen("$user.txt", "w") or die("Unable to open file!");

    $user = $_POST['my_user'];

    I haven't tried it, you may have to use.

    $myfile = fopen($user.".txt", "w") or die("Unable to open file!");

  • wow

    Brilliant !