Sami424's Forum Posts

  • Thank you for The help! What does Play FAB include that is good for me and my plans, if i am running my own server already? Just wondering since my plan is to use sort of mysql dB, since in school im working with html, php and mysql, do you have Any tip on how i would connect to The SQL DB? I could try to paste The include mysqllogin.php in the index.html , i Will try this.

    And for The origins thanks a very good explanation, i Will leave it alone for Now.

    And The last question, if i store These AJAX files in my Web server, is it not a security risk for cheaters to easy execute JavaScript to for ex. Get more gold? Im new at JSON

    Edit : checked out The link and now i understand that what i want is possible, The tutorial on php SQL and c2 worked for c3 aswell. Thank you very much!

    Thank you for your reply

  • Very Nice! Reading things over and over is how you learn, i am sorry if my explanation was abit blurry , it was new years eve (= Nice job and keep It going!

  • And also the. C3 add-ons from the link does not show up after installation

  • I.will pay for the reX.time away l plugin. Pm me c3 also looking for firebase auth and storage

  • I will gladly work with someone, what is you discord? I have been using construct since 2013

  • Use the Google play plugin ,make a login button and on click > sign in.

    For a online leader board you need a website, server or a database with the scores, use AJAX to get and post files to browser , you can also use the browser event tof save and load filea.

    As I said instead of local try the AJAX plugin , I'm not that good at it so I can't explain much more but I know what your looking for is possible don't give up !

    Edit :I also think Google play has leader board but you need to be a customer and purchase dev membership to add apps on Google play

  • Could you explain more simplified ? You can use event > yourobject >spawn another object

    Or use the spawn object at position and enter the x and y . Use a variable to determine when you want the object to spawn another object.

    Sorry for my English

  • I've seen that plugin and I'm planning to buy it. I have a wamp server running with php and mysql. Im trying to figure out how to use my website with construct 3.

    I have the html element plugin for ex posting or getting from sql dB since that's the language in know and php. Imagine a browser rpg game with users etc...

    And about access-control-allow-origin . Should I leave this for now or do I put it in the index file how do I add this and where ?

    Thank you for your reply I understand a lot more now ! You don't have to answer the questions that was just what was in my mind. About the plugin I'm definitely getting it. It has all the comforts plugins it seems

  • Sami424

    Hi. What you are looking for is the PlayFab Master Collection and that is included in the Construct Master Collection.

    Yes, you can use the PlayFab Server Time as your guide. It is on the Title Manager plugin.

    Yes too, you can get the Gold data, for example, from either the User Data plugin, Publisher (Studio Data) plugin, Virtual Currencies plugin or the Cloud Script plugin, the equivalent of Firebase FireStore of PlayFab, but focused on Ease of Use and Games unlike Firebase, which is only general-purpose.

    I don't see why you can't post the data to another site or server. You can AJAX or use the PlayFab SDK if you want. It's as easy as requesting and receiving a JSON string.

    I hope that answered your questions. Have a nice day.

    Thank you very much, i am buying this product! Yes it should be easy enough, but i have spent days reading about JSON now, i have a hard time grasping it but i will learn :) . But again, thank you for your reply!! I will enjoy these plugins!

  • I will buy this as it seems like its almost every single good plugins (rex etc) working on construct 3, i have been searching alot, construct 2 had so many options. my question is, my plan is to make a time based game, would i be able to use timers with theese mods? will i be able to post and read certain users ex "gold" that he has in his bank, since i am a website developer aswell, this gold that the players recieves i want to be shown on my website aswell,

    so will i be able to post scores to a another site/server/database and recieve ?

    this would help me to do alot of things. Sorry if i am bad at my english. Im buying this tho, great job, !!!

  • You can do it several ways, i might upload a file untill tomorow if i dont explain good.

    But i do it different ways, sometimes i add instance variables on the objects, called "Collision", 0 is false 1 is true. Also i prefer to control the overlapping points myself so i do invisible sprites that i call "enemycol" or something, sometimes its better to use the "on collision" , since its hard getting already overlapped things to not overlap again, especially if the object is not moving. You could use instance variables to detect collision, you will figure it out trust me, theres alot of ways!

    basicly > if object1 collision with object 2 set instance variable "col" of object 1 to 1,

    and do a invert event same as above but right click and click invert on the "is overlapping" , wich means you set the col to 0 cuz its invert, it means it only executes if its not overlapping.

  • Ive been scouting around for solutions, im wondering, if i for example, have a level on my character, and a name, i would like to have this in a db for the player, so it can load next time he logs in, and so it can be altered on my website instead of my app. so, first question,

    if i want to create a variable in .JSON , called characterlvl , and if i would like to use execute json commands to add or substract from the value inside this .json data file, is this possible?

    also i have a hard time understanding where to put the Access-Control-Allow-Origin: * when i use the AJAX plugin, tips?

  • Not sure if i understand you correctly but if i do theres alot of ways to alter The variable, for example you can create 3 global variables, 1 called "plus" one called "minus" and The third called "volt".

    Now use a invisible collision box for example a transparent Sprite, do two of them actually call 1 pluscol and 1 minuscol and place them where you want The drag and drop to check for collision. Minus goes where The minus is and plus one goes where plus is.

    Create a instant variable on each collision Sprite, call it col and set it to 0.

    Now you can use The is overlapping or on collision in the event sheet, i would click The minus col Sprite in the event sheet, and set to is overlapping another object (this object is The one you use The cable or whatever) if so then set instant variable to 1, then do another event that checks that instant variable, if col=1 then set plus(global variable) to 1, then do another event

    That checks if system>global variable plus minus is both 1, if they are both 1 write text 12 v. The rest you Will figure out I can help you by showing it if you uoload2your project here, happy newyears

  • I am studying mysql and php and html at the moment, im looking for ways to save some data to the browser then use my website html and php skills to add or delete from database(SQL) , im trying to find out how to use a timer, and how to add the experience the player gets in-game to a rooster page of his user.

    also, any tips on addons with features like DB, or auth features ?

    edit: i have used construct 2 since 2012, i know my stuff, i just need to know more about construct 3.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Im trying to figure out how to get the elapsed time that the user has been away from the app, so a 20 minute timer to get more health would run in the background, i used the rex_timeawayL plugin on construct 2 to make this work. Any ideas?

    Also , would getting and writing data to a sql server be possible in construct 3? im new to construct 3. Im in school studying mySQL , would be dope to combine construct 3 with my running website, since i have some ideas.