GeorgeZaharia's Forum Posts

  • nvm i manage to do it.

    but if i change the global variable to number it will not be read by txt object.

    would have upload the capx but i cant

    dont have yet 500 rep

    if you want to show a text as number you can use i think str(valuenumber) and read it as a text or int(textglobalvariable) and read it as a number, someone corect me if im wrong. but i know one of those things turn a text into a number and viceversa. however if you have like johndoe:123 why are you adding that data in 1 variable? and not just use 2 variables 1 for text and 1 for numbers and use '&' to make them appear or use them as calculations data calls etc (ie. variabletext&variablenumber)

    [quote:14yw424w]int(x)

    Convert the float or text x to an integer (whole number). If x is text, non-numeric characters are allowed after the number, but not before. For example int("33xx") returns 33, but int("xx33") returns 0.

    [quote:14yw424w]

    str(x)

    Convert the integer or float x to a string. Generally not necessary since strings can be built using the & operator, e.g. "Your score is " & score

    manual

    you can upload a file to your google drive and post it here without https://www and without the '.' <- dotcom etc...

  • All tiles uploaded.

    Around 100 uniques, 300 total with the color variants for background purposes. 32x32, 32x16, 16x16, 16x8 and 8x8 tiles, ordered from bigger to small ones.

    Download here: https://kronbits.itch.io/inca-game-assets

    Im a simple guy, seen good content shared it in the Romanian community <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> they love free stuff ....

  • > Hi guys

    >

    > Any idea why I'm getting this message? Everything was fine with uploading until last night ...

    >

    > "The content you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may have expired, or you may not have permission to view this page."

    >

    > Thanks in advance!

    >

    Getting the same error here trying to upload my 9th game. Was working fine until last night here as well. So it should be an issue on facebooks side.

    change the name to something simple like 'rev412018' if the uploaded file fails to be processed.

    if the game was published and link is unavailable check ur webhosting links and instant games links... the platform is in development so it might face changes of hosting etc have patience.

  • > But looks like Facebook isn't reviewing any apps at the moment. I've seen this message for a few days:

    >

    >

    > Is everyone else seeing this?

    >

    I've seem it yesterday.

    The first game I sent to review was 10 days ago and did not get reviewed yet.

    its been like that for the past month since the Trump data leech... they stopped all apps that request user information's, and they are changing the way you get personal information's, so no more access to peoples profile info, email and all that without telling them for what it is. which bunch of app developers are abusing and not saying entire reasons. i say it was the time for a change, to many apps and little games that requests my contact information when i install them, or my location even though they dont use those features in-game, google app store has same issue, but i think their submission is opened.

    also they are working on instant game sdk and platform itself, is a new different feature than the facebook games page and is not yet ready to use fully... is a bit confusing, and Apple is forcing them to force developers to buy/provide a apple license ID to publish so the quality/data breach doesn't happen on ios devices while you play a facebook game, and needs to be apple vetted.

  • Check this tutorial Example Animation.c3p its C3 but u can read it using C3 free version and implement same controls and behaviors inside C2.

    just head over to https://editor.construct.net/ and click "file" and select the example above after you downloaded it.

    if you cant open the file use https://editor.construct.net/r94-2/

  • There is many templates in store they are don't work. Please see:

    https://www.scirra.com/store/royalty-fr ... asure-4024

    All templates with description "Complete game to post on Google Play" doesn't work.

    the users might of removed them or they are not anymore live for sale.

  • exedys Just to be sure, did you checked the "loop" property of the animation?

    your problem is that you trigger the animation on a loop when you keep pressed the button, therefore the animation when you keep button down is always going to play from 1st frame, rendering the visual aspect to the 1st frame as it wont move. you need to trigger the animation with a condition trigger one time & button is down.> play animation

    in the last picture u showed remove the OR trigger once... that is already applied to the On button pressed condition which triggers only 1 time.

    from the 1st picture put the Animation run 1st then the 8 direction simulation lasts, and swap the condition for animation play to 8 direction is simulating control left up down right.

    Edited(31/3/2018/ 6:15 pm Romania time):

    For left and right movement you can code the frame animation to change +1 frame every 0.2 seconds or 0.1 second as the button is kept down, and when frame = ur max frames in the animation just reset the animation to 1st frame again.

    while the system of animation is simple by itself its a bit confusing when ur trying to play animations based on how long users keep the buttons down or not.

    You also do not need to have 2 sets of when buttons is pressed....

    il make u a C3 example using some color blox ul be able to implement it in ur game it will take a bit .... probably few hrs from this edit time

  • can you please give me hint to create it ?

    easiest way to create a parallax bg is to use bullet behavior on your tilebg give it a 40 speed or 20 set movement angle to 90 on start of layout. (tilebg needs to have double screen size when you place it that means is going to see 2 times the length of screen outside and be seamless), set tilebg origin point to down center.

    once you done the above create a condition : tilebackground y >= self.height set Y to 0

    and thats it. you will have to tweak around the speed and background size till it works for your screen size/screen speed.

  • > emmazz

    >

    > why don't you just use the template C3 has for infinite jumper? and build upon it?

    >

    > also what the person above said scroll to behavior or you can do it by events using viewport scroll to position.

    >

    yeah, i'm stuck at background, because in this template only white background and it's not scrolling with player

    but if u are using a purple bg just give that color to the layout bg, it will be that color forever no matter where ur player is set. also ur player actually does not move outside the screen.... the green blocks move down when player jumps up, creating the illusion the player moves outside the screen. note the screen and layout size is impossible for you to go outside .... however if you want a bg going downwards against the player like clouds and stuff look at the flappin birds tutorial there is a moving bg with a parallax effect just do the same but for vertical whenever player moves or the action for platform blocks moving down the bg should move also but 80% slower

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Regarding the rewarded video,(and when is rewarding) i think there are some instantgames expressions missing such as "On rewarded video finished playing" OR "Advert was aborted by user" condition type... that thing would be very helpful, because now the show ad successful triggers if the ad starts showing and basically the reward is credited before the advert is finished which can cause different problems with the rewards (fill rate on video rewards are pretty low around 50% -70%) hopefully there will be some upcoming updates for this... if the instantgames sdk supports it.... :-/

  • I currently have the 'spammer' vibe.

    The post doesn't feel as though it has come from a 29 year old American.

    I'm happy to be proven wrong.

    You mean the OP? He joined 2 days ago.... I see what you mean ... my bad i think i bought the donut and made him look a safe person ...hard to detect the bots from real people this days.

    id say tax him. he ain't got nothing to lose but 400 rep points

  • Hi, I would like to know if somebody has a .capx file or anything that could help me to create a random terrain for a game like Terraria or Blockheads. I do know somebody but the .capx isn't coming. If you wanna see, here is the link of the game: https://www.scirra.com/arcade/other-gam ... tion-25395 I would like something like this.

    have you tried this plugin? C2?

    there is also a tutorialsimilar to the plugin

    You can look at the code and figure out how to adapt the procedural generation to the side scrolling thing.

  • Why not just decide at the point you load the ad which will be shown?

    that is because, facebook has a 30 seconds rule that is recommended i guess.. otherwise audience would block the advert because is called to many times and basically spams the audience network. (i.e flapping bird example if u show and load the advert each time player dies ur advert will be rendered null'd cause will overload the network requests.). Atleast thats what i understood from facebooks audience guidelines.

  • > "Show ad" only shows the last loaded ad, so there's no point loading two at once.

    >

    Understood, but there are instances where we might like to preload both an interstitial ad and reward video ad before we want to show either one, and then based on the actions of the user, show either of them instantly when we need to.

    ...So, exactly the same as the AdMob Plugin

    I covered that in the tutorial i posted, since the plugin only shows the last loaded advert, i built-in a variable Boolean system when a load of advert video failed you would load the interstitial and vice-versa and at the current time there is no way to detect that unless you manually code it inside C3.

    However if you want to alternate between video advert or interstitial you can create a simple boolean variable that says something along the lines, when 1 load video advert when 2 load interstitial and trigger that by using a condition of sorts: when player dies > set variable to choose(1,2) then followed by a condition : if variable 1 load video ad .... OR if variable 2 load interstitial .... and then u just show the ad on load successful. however i suggest look into audience network load request time that is recommended what i understood is call them every 30 seconds or more so it has time to respond.

    Ashley would there be a tutorials page(i meant on the construct.net domain and not scirra.com tutorials) for C3 community contributions also? at the moment it seems is restricted to scirra team only, would it eventually open to community members as well?