GeorgeZaharia's Forum Posts

  • > if you see a red loading bar, disable your adblock, or check for what causes Construct to fully load the javascript trigger 'loaded' by pressing f12 or go to developer console in your browser, enable javascript on browser also.

    >

    I pressed F12 and found out the game is trying to load a graphic/object I purposely deleted from the updated version, which shouldn't even try to load because I replaced EVERY other file on the 000webhost site I uploaded, including the index.html, so the site's source code should in theory have changed too...

    To be more precise, the console says this:

    Failed to load resource: the server responded with a status of 404 ()

    c2runtime.js:125 Error loading image 'https://four-elements.000webhostapp.com/images/creditsbutton-sheet0.png':

    The "credits button" is an object I deleted from the game because it was simpler to just display the names of two people right there in the title screen.

    re-upload the game in another folder, is probably your website cache! so just add rev01 02 etc at end of ur folder zip thingy

    some free webhostings are having a cache thing enabled so the server load is not spiking to much and to avoid downtime, even if you have no cache in your cpanel there is a cache safety system that takes around 15 minutes to clear, which is in the Apache which you probably wont have access to. (you can clear it by using the .htaccess file but i dont recommend that since is probably against ur hosting providers rules.)

    to solve that issue, when you upload a new version to your website name your folder always different example: game-rev-01 next version test do not overwrite same file ... just upload a new version and name it game-rev-02

  • I have a game in 000webhost. Recently, I tried to update it by replacing all the files. But when I try to play it now, the Construct2 loading bar, which is usually green and fills quickly, is now red and remains forever in an almost-completed position, never actually loading the game...

    What happened?

    if you see a red loading bar, disable your adblock, or check for what causes Construct to fully load the javascript trigger 'loaded' by pressing f12 or go to developer console in your browser, enable javascript on browser also.

  • I have one file "cocoonrewardedvideo" where I can place AdMob code. But I need another Admob Reward Video with diffrent code. How can I use 2 codes?

    my suggestion is create a in game system logic similar to thetutoriali made for C3 instant games, which is basically 1 global variable that checks if ur 1st advert video loaded and showed then u can load second advert video code. unless the plugin has the ability for 2 video ads to be shown, the suggestion im giving you works usually when you only have the ability to load 1 advert at a time.

  • Hi, I would like to know how I could create an indicator for the previous game overs' whereabouts. I apologize for not knowing the correct terminology for the mechanic; I'm new to this. Let me give you an example to clarify my question; when the main character dies, a tombstone appears. When you restart again, you'll see the tombstone when you go back to the place you previously died.

    Create 2 global variables and make sure you dont reset them when layout is restarted! meaning dont use reset global variables.

    before you destroy your player sprite, save his position to the global variables (ie. LastXGlobal_Variable set value to player.x LastYGlobal_Variable set value to player.y, on start of layer create a tombstone or shadow of player on the saved coordonates, make sure is triggering once[or under the on start of layout condition], otherwise ur game will create sprites continuously and freeze ur game.)

  • Job Offers looks like it's for people looking for developers (which I am currently not as I have somebody).

    I would have thought GENERAL and PUBLISHING would be more appropriate

    If I post into JOB OFFERS only, it'll only be seen by people looking to do contract work, unless I'm missing something?

    Edited: you are asking people to give you games already made in exchange of money = job offer /deal ... and yes, if anyone is interested in taking this deal, will check that page, we all do when we are searching for jobs/ money oportunities. posting buy/sell request in a random category in forum will just get u suspended.

    and no this is not general/publishing or distribution, publishing and distribution implies you will help the game developer to publish and distribute its game under your company name or developers studio name for a % fee from games income, while he keeps the developer rights, where you are offering money for 100% royalty free license purchase, which is a job offer, purchasing products.

    Note* my bad i was replying to 2 people in same time... and i typed the message thinking at a plugin development offer, instead of your game purchasing offer...

    newt said your behavior of posting same topic in different categories in forum is a straight up fake spam/exposure spam scheme, he didn't said nothing about ur offer.

    markaspirenet also there is no reason to reply to your own messages 3 times, you can post a long message as i did responding to all in this page in 1 reply. Moderator announced anyway!

  • Try Construct 3

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

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

    I'm looking for someone who an expert in Photon Multiplayer to help me develop a Top Down online Hack & Slash Brawler for mobile.

    Requirement

    -Updated with the latest Construct 2

    -Photon Expert

    -Knowledge in bit-bucket because we work from various location so we need to keep everything updated.

    PM me your hourly rate.

    Thank you

    have you tried the photon cloud plugin already on C2 forums? >>>>plugin

  • Hi,

    I am looking to license some games. If you've created a killer game and you're interested in licensing it please drop me a line with the link and how much you want.

    I'm only looking for well put together, engaging, bug free games, not simple games like 'here's a physics test' etc.

    Thanks

    Mark

    you post this post everywhere but in the right section which is this one here >job offers

    id suggest remove ur other posts.

  • My playersprite is holding a sword in his left hand. If I mirror the images he will suddenly hold it in the right. I'm trying to avoid that. And it is also a great challenge in order to learn. I've gone through some tutorials that uses the mirror-fetaure.

    But thanks for the response! I'm planning on using that for enemy-sprites

    you can also swap the sword by placing its position to a surtain image point on the character sprite and if character is mirrored then mirror the sword also. just a suggestion, probably ur already doing the same event system using the multiple sprites, was just saying will be much easier for u in long development to have it simplified... you will see when u will reach the optimization stage. have fun!

  • hi , How do I SHARE on Facebook & Twitter?

    any one can help ?

    on facebook there is the facebook plugin built-in

    for twitter go to twitter and look for how to prompt a share message requesting user login... and use browser object execute javascript or open url not sure which one would apply in this case... but there is no official twitter plugin i think ...so all u can do is go normal javascript the codes are usually automatic made by twitter in this case. take a look at their tutorials.

    use the link they give u and add - on sprite touched> browser open link in new tab. and should prompt ur message and stuff. good luck!

    Edited: for android you might want to call intent of action on device and check if twitter is installed and send the request to the app to post a new message

    take a look at this topic

  • I use two sets of animations for my playersprite. One set for walking/jumping/falling/standing/dying when facing right and one set for facing left. [/img]

    Does anyone have any idea what I'm doing wrong?

    instead of using 2 sides for each animation why you dont use the sprite mirror expression? if turned on automatically flips ur sprite to left ... u will have less images and less headaches.

    so u will only need to trigger it once... (ie. A or <- arrow is pressed mirror sprite if D or -> arrow is pressed set not mirrored ) and there is no need to adjust animation speed based on the orientation cause C2 automatically uses the right facing calculation in reverse. Cheers hope it helps u.

  • Hi everyones,

    if anyones that have published on FB Instant Games could share this info with the comunity would be nice.

    How profitable are ads on Instant Games?

    same as any other platform 0.25-5$ per 1000 impressions or clicks. (depends on advertisers pricing that show ads trough your app, if their budget is low then you get low income if their budget is high then u get high income. also depends on ur audience country and so on... same as any other platform, but i wouldn't look at it as a quick cash thing...as none of advertising companies pays a lot u get pennies on 1$ no matter what platform ur using... just look at it as another place to add ur game to, and gain community, developer reputation and so on. ) You can choose what type of fillrate your advert placement has, and how much is going to pay, but having low fillrate with high payment is as good as having low CPM but 100% fillrate.

  • you can also make a global variable and add all your results you want in 1 number string.(ie. Totalscore=(LEVEL1Value(gems+score+etc))+(LEVEL2Value(gems+score+etc))+(LEVEL3Value(gems+score+etc))+etc) However that is working if you already have ur level 1 figured out or saved in a similar matter.

  • Imagine if we had the power to just quickly insert an OR there and save time and duplicate events! Mockup:

    From 8 events to 4, and it was quick and simple, awesome!

    while OR wont work like that cause is impossible of its current state as category of expression you can lower your events and remove duplicated events by doing the following:

    Image

    the first its not half of 8 but still saves 25% / while the second is as powerful as your suggestion... therefore wont be changed... because is already possible what i love about C2/C3 is that you can use it as you want, as long as your using your imagination. (i do think the suggestion ur making would make life easier for majority of people though since the math thingy will confuse most of them +1 from me also, but i doubt would be something that would be taken in consideration as important)

    Edit: i modified a bit the post so if you seen the (a+b)=5 just refresh the page... was some stupid thing i did ... however tunepunk & dop2000 solution is better, since uses C2/C3 system expressions as are intended to be used in this type of cases.

  • If you have player profile pics, is there a way a player can add their own profile pics into the game (doesn't seem to be a tutorial on this)

    you can but i think is only available for desktop only trough the NW.js plugin not sure for mobile... for mobile i know you can load a sprite from a url... that might work... you can also use the profile picture of a Facebook user if i remember correctly... or twitter. there are no tutorials cause they are explained in the manual i think.

    I have a similar question -

    Say I want to reward players for playing my game every day. On day #1 I give them 5 coins, on day #2 I give 10 coins and so on.

    I guess some users may try to cheat this system by changing the date on their phone.

    Should I bother trying to prevent this, maybe checking some Internet clock server?

    you can prevent that by saving the users current date and time off closing the app or logged in the app and approximate the time when he logs back in, if he comes after 30 minutes with date saying 1 days later ur server should compare actual passed time and not reward nothing. thats should be a relative easy time exploit patch to do with a bit of sql database and C2.

    but what the OP said was a bit more difficult, cause he was talking about the API of 3rd parties and stuff... which usually are pretty secure, unless they have some bug in a version and leave open a security issue in your app, and you cant do nothing about it unless you update the api to the next version that is patched or older one that doesn't have the issue, with the risk of loosing some of the features in your app.

    sorry for zombifying the post. read to late the date .... of initial poster...