Alirezamohanadi's Forum Posts

  • You can download the sdk here.

    https://www.construct.net/en/make-games/manuals/addon-sdk

    I think Construct uses Glsl if I'm not mistaken.

    Thank you.

    I have a hlsl shader, do you know how to convert it to glsl?

  • Is it possible to write a shader for a contract?

    If yes, which language should we use? Glsl or hlsl

  • It might be better to use an iframe for this, but you should not need to use a full URL - a relative URL should work fine. Also don't use the file:// scheme at all, modern Cordova exports use custom URL schemes (e.g. app:// on iOS) which make things like this work much more easily.

    Suppose I create an xcode project with a construct3.

    This project has a "www" folder, Where there is an "index.html" file.

    Now I want to have another html file to go to it, during the game.

    Well, I can not put the second html game in the main "www" folder because its contents may interfere with the contents of the previous file. So, I create another folder in the "www" folder and name it, for example: "second".

    Now inside the game, I put a browser object and where necessary, I call the "go to url" action. Now my question is what address should I enter in the url field? Is this true according to what you said?

    "app: //www/second/index2.html"

    (Note: I want to use the browser object, not the iframe object. Because I tried iframe. There were problems. For example, only a black screen appeared and another problems)

  • I want to create several html files as different levels of the game and switch between them during the game. I use webview to get export in apk format. When I want to go from one html to another html, I use the "go to url" action and this URL (for example): file: ///android-asset/index2.html

    And it works well after getting the webview export.

    But for iOS, I do not know which address to enter in the url field?

  • Yup, that happens.

    A thing to consider is that the dev tool is used by the browser, does not exist in an app form.

    Several things to consider regarding the POST action:

    You can and should obfuscate the variable names in the links (POSTs), or at least use things not overly obvious (userid, password, etc).

    And perhaps add some extra values, also obfuscated to act as decoys/fakes.

    You can encrypt and or encode the variable post values within your code which the server knows how its encrypted and decrypts it on received.

    You can add double checks like a MD5 hash between 2 posted values, or even from 2 combined values (1 from a previous post) and check the hash server side again.

    You can add several methods of increasing values that do not correspond with numbers.

    A returned value double check, where the received value is send back to the app and double checked.

    A check server side that tracks 'irregular' values versus expected values. (i.e. normally only 5 points gets added, suddenly >100 gets added)

    And a lot more options to make it harder to manipulate what is send and what is accepted upon reception.

    It will never be 100% safe, but in reality, that goes for most information online, it's generally a matter of how much effort was poured into protection, and how much time and energy an abuser is willing to spent to make hos hack happen ....

    Thank you for all your excellent and comprehensive tips

  • > For several days now, I have posted a topic that contained an image that has not yet been approved. I think it is very awful to wait so long to get an answer. Remove the need to approve the topic. No one in this forum is going to post pornographic images or post political content.

    This restriction will reduce for you as you post more and more and license holders don't have these restrictions. You'd be surprised at some things that are posted, the system can be a little inconvenient for new authentic users but it's effective at stopping a lot of spam.

    Thank you for your respectful reply

  • I heard that if we use the post method to send and receive data, the URL address will be hidden in the browser and inspect window. But I tried and it was visible in inspector. In this case, anyone can easily hack it.

    Please look below screenshots:

    Tagged:

  • For several days now, I have posted a topic that contained an image that has not yet been approved. I think it is very awful to wait so long to get an answer. Remove the need to approve the topic. No one in this forum is going to post pornographic images or post political content.

  • You do not have permission to view this post

  • Alirezamohanadi I tested your game on Xiaomi Redmi 4 and Poco X3 Pro - touch controls work, I can move the character.

    What browser are you using? Make sure to use Chrome.

    Thank you.

    It's very strange. Does not work on my phone. I try with the latest version of Chrome but it does not work.

  • Did you use touch gestures? Try using basic touch that usually works well on most situation.

    I used basic touch, and it dont work only on my mobile. It is strange

  • Try Construct 3

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

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

    This is an example of Construct 3 that you have probably seen. I added a touch object that the character moves forward whenever you touch anywhere on the screen. My phone is Xiaomi Redmi Note 8. No matter how much I touch, the character does not move. But I tried it with my friends' mobile, which are Huawei and iPhone. It worked well.

    Alirezaakramionlinegame.ir/cons

  • I've owned several Xiaomi phones and never had any issues with Touch object.

    Can i send you the url if construct example to test it?

  • I made a test game and put it on my host. I opened the site with different phones and tried it. It worked well on most mobile phones, but in Xiaomi, event (is in touch) does not work. What is the problem? And how do I solve it?

  • I want to transfer requests that are approximately 200 bits per second to the server.

    If I have a server with the following features,how many requests per second can this server handle at maximum ? 100? 1000? 10,000? And ...

    And another question: is the number of requests more important in this issue or the size of the requests?