Alirezamohanadi's Recent Forum Activity

  • Thank you wacky toaster.

    Is there any example file about it?

  • Is it possible to make wifi/hotspot multiplayer game?

    On dvice turn on hotspot, and other turn on wifi and connect to hotspot and exchange data directly, without internet connection

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For web export, i want to save/load vars that availaible for other app not only for construct export app.

  • I want to create multiplayer game, but without use internet or server, i want to use buletooth or hotsopt wifi to connect and transfer data between two mobike devices

  • Hello.

    Is it possible to send/get data via wifi hotspot or bluetooth offline (without internet conbection) ?

  • I have no idea. I never played around with shaders. Maybe there's some online converter?

    Also I found this, it's probably quite helpful.

    https://www.construct.net/en/blogs/skymen-13/write-effects-construct-1538

    there are some online converter, but they dont work correctly.

    Thank you again. I will go to link that you posted and test it.

  • 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

Alirezamohanadi's avatar

Alirezamohanadi

Member since 21 May, 2022

None one is following Alirezamohanadi yet!

Trophy Case

  • 2-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies