Sparsha's Comments

  • Still not fixed (in r180 too)

    iOS export: after opening the keyboard on a "notched" device the layout remained scrolled above the top of the screen

    The lower the input text field is, the more is the black space thats left at the bottom.

    Posted it in forum and commented in the Github issue page, requesting to reopen the case..

    construct.net/en/forum/construct-3/general-discussion-7/iphone-display-problems-using-149028

    github.com/Scirra/Construct-3-bugs/issues/3508

    Thankyou

  • Hi Navgal,

    You have a nice point there. I will totally include this in my tutorial update next year. Thanks again :)

    Paste this after script3.src:

    document.getElementsByTagName('head')[0].appendChild(script1);

    function fScript2(){

    document.getElementsByTagName('head')[0].appendChild(script2);

    }

    function fScript3(){

    document.getElementsByTagName('head')[0].appendChild(script3);

    }

    script1.onload= fScript2();

    script2.onload= fScript3();

    script3.onload=function(){callback()};

  • Hi Navgal,

    Thank you for reporting this. I always thought that this might happen, but never really got an error. Timing events should help in this case.

    -

    setTimeout(functionName, milliseconds)

    -

    Paste this code after script3.src:

    document.getElementsByTagName('head')[0].appendChild(script1);

    setTimeout(fScript2, 500);

    setTimeout(fScript3, 1000);

    function fScript2(){

    document.getElementsByTagName('head')[0].appendChild(script2);

    }

    function fScript3(){

    document.getElementsByTagName('head')[0].appendChild(script3);

    }

    And sorry Navgal, I should've mentioned that this tutorial works for C2.

  • [Sorry I did not notice earlier that I wrote wrong (in the 1st sentence of my reply)]

    Actually anyone who has got your initialisation codes can only manipulate the data of his/her account only. As long as database security rules are properly defined, and unless allowed to write other on user's data, you cannot change other people's data. Only authenticated users can manipulate data of his/her account only.

  • However it may not be worth working on a way to prevent hacking. Even huge companies get hacked. For most of us gamedevs, it would be like one man vs the whole world.

    Preventing hacking would require professionals working and maintaining the security 8X5 hrs. Even then also its hard to prevent hacking.

    For us indiedevs, just database security rules is fine. With database rules properly defined, a user is prevented from manipulating data of some other user's account. This means unless allowed, no one except the one to whom an account belongs can manipulate data from that account. This alone reduces a lot of chance of cheating.

    When your game starts getting hacked, it means your game is prospering and that marks the start of hiring programmers and eventually it becomes a company.

  • I edited my previous comment...

    The technique is called Obfuscation. You should read this- en.wikipedia.org/wiki/Obfuscation_%28software%29

    It makes it harder for anyone else to understand the code...

    There are automated obfuscating tools available, but beware it might not be efficient as there are tools out there to deobfuscate these automated ones.

  • If anyone has access to your initialisation codes, he/she gets access to your Firebase project and can easily change/create/delete any data...

    Sorry, but unfortunately my knowledge is not high enough to understand that post on stackoverflow either 😔

    But I will try my best to obfuscate the code... It's not always efficient, it depends on your skills. As you know, anyone can just search for words like "apikey" and all and get from which line your initialisation codes start. If you obfuscate your code, understanding it becomes harder and just searching won't take you to the init codes anymore.

  • Hello Chadorireborn, thanks for the information. I shall keep that in mind (in case I'm using any other means for app development other than Construct).But it seems that an apk version exported from Construct 3 is working fine-

    drive.google.com/file/d/1-f-viZiBX7RD6MoyqNeI9mhjdRrREBTZ/view

    Maybe Scirra team, already aware of this fact, included the necessary codes... But I cannot tell whether it would work for Construct 2

  • This should be good- firebase.google.com/docs/auth/web/phone-auth

    But if you need help you may contact me through facebook :)

  • Yeah! Of course! Construct is based on HTML5. This language can be used for making hybrid apps.. Hybrid apps are actually web apps in the native browser of the platform. In android they can be downloaded as apk and will run on WebView.

    HTML5 supports JavaScript (the most popular programming language)... So yes this will work on any platform that Construct can export to.

  • Thanks! Good one! The only problem is there's no shadow effects. However this is just perfect for projects with simple graphics and for me too! I'm gonna use it! Thanks!!

  • I know my reputation is low but one should not judge someone by his reputaion.You should improve.You should become much more used to the computer and do not waste your precious time in playing addictive games and copying them is the worst.First learn photoshop by yourself or you can learn it from someone else. I don't know about your surroundings and the people whom you know, but try to take suggestions from others if you feel that they are really trying to help you out... Photoshop is the easiest to learn and use. Try to draw pixel arts. I learnt drawing these by copying the graphics a game.

  • [quote=amazing mlg]

    Lol I speak english😃

    [/quote]

    Don't laugh at someone who is weak at something 😒😒

Sparsha's avatar

Sparsha

Member since 17 Jan, 2018

Twitter
Sparsha has 16 followers

Connect with Sparsha

Trophy Case

  • 6-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x2
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • Lightning Draw First person to up-vote a new Construct 3 release
  • Email Verified

Progress

15/44
How to earn trophies