Sami424's Forum Posts

  • > Moved to "How do I" forum. Sami424 - I don't think the question involved AJAX.

    yes this is not related to AJEX it is on Dictionary

    yeah im sorry i read it wrong, i use AJAX for array and my php files , but i did not know you could use the dictionary that easy, just tested it lol. saved me alot of time. thanks.

  • I will gladly contribute to get c3 in swedish.

  • hii everyone.

    i want to know how do i get key and its value when key is not known in dictionary and we also know that there is only one key.

    i am using for each loop but it is not working . i think i am doing some mistake but i don't know what.

    try to post in the "how do i?" part of the forum, you use ajax.lastdata to recieve what values are in your dictionary

  • > > what alternatives do you recomend?

    >

    > Are you trying to get just users, or are you doing a pay2play game? you have alot of different options you dont have to use QR code, for c3, i managed to read QR code with a html script but i use the plugin HTML elements for that, as i said, you have alot of ways to do this you dont need the plugin from c2. If you set your c3 to c2 runtime and download the link above you should be able to read qr.

    can you send me a example?

    I am not home atm but i can later, for now, try to take that QR code plugin, and try to use construct.net/en/forum/construct-3/plugin-sdk-10/plugin-converter-123855 to convert it to a c3 addon, it will still be c2 runtime ofc.

  • Anyone got any information if steam got a developer console or if they have a "review game" etc before you can publish, if so where do i go to find this? Ive read people posting construct games on steam, but i know its harder than apple store and google play ofc, since steam does alot of checking before publishing your app, where do i go if i want to read more about this?

  • what alternatives do you recomend?

    Are you trying to get just users, or are you doing a pay2play game? you have alot of different options you dont have to use QR code, for c3, i managed to read QR code with a html script but i use the plugin HTML elements for that, as i said, you have alot of ways to do this you dont need the plugin from c2. If you set your c3 to c2 runtime and download the link above you should be able to read qr.

  • ok but how do i install the plugin on it??

    Is there a plugin out yet for C3?

  • I wanted to share my way of doing a HP bar, you can experiment alot to get a nice HP bar, this tutorial just shows some basics and the easy way of creating one.

    First, create 3 sprites, called BarRED,barGREEN & PLR . Fill the redbar with red color and the green with green etc.

    Now the pin behavior i have just added if you want it attached to the player, if the player is moving, this you can skip.

    Add the keyboard plugin for your project, also set 2 instance variables on either the PLR or barGREEN sprite. 1 instance var called CURHP and 1 called MAXHP

    like this:

    then, add a event, on KEYBOARD KEY PRESSED X substract 10 from curhp, set the redbar width to the instance variable MAXHP.

    Add every tick > set width of greenbar to object.curhp

    I set the bars to be containers with eachother, wich means if 1 is created, the other 1 is created to, if 1 is deleted, the other one is deleted to.

    I did this tutorial for a friend very fast, if u need help just ask.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, everyone:)How do I add first and last names, physical address (within the game - the user will not be typing in their real home addresses), and items chosen/purchased, to a Firebase database?

    I know the user won't be able to buy any digital items this way (just store the information about the (fake) purchases that the user made, while playing my game?

    Thanks all!

    Read alittle about databases and DB management, its easy once you just get a start of it. Firebase provides alot of documentation.

  • I have a game for a client, that uses the idea of read a qr code before get into the level one.

    The idea is when i press start it reads a qr code and validate before get in.

    The problem is that my game is in construct 3 and qr code plugin is on Construct 2.

    Is there a solution that i can use on Construction 3??

    I already asked for somenone to convert the plugin because i have tryed insucessfully.

    It might work with the c2 runtimes, click your project and switch from c3 runtime to c2 runtime, in the left properties bar.

  • I am tryin obg to resize ject in 8 seconds but i don't know how to use the tween i only know how to use the lite tween version for C2. The problem is that i am not able to start it...Can i have an example?

    Im actually working on a little tween tutorial , not many out there for the tween behavior for C3.

    But its not done yet, for now, add 2 sprites and a keyboard plugin, call 1 TWEEN and 1 of them POSITION.

    Add the tween behavior to the tween sprite, now this is just an example, put the position sprite on a position you want on the screen.

    Now go to events, now this is up to you how you want to experiment with the tween object, add a on key pressed "x" then

    choose tween sprite, now its up to you how you want it, try the "two properties" tween, there you can set the speed and the type of movement (position,scale etc) .. We will set it to position and we will set the position to our sprite "position.x" and "position.y" , this makes it so that when we press X on our keyboard, the tween will execute its properties and move to the sprite named position. And you can experiment on how it will move in out elastic etc...

    Also on start of layout you can change the playback rates of your tweens.

    I will try to finish the picture tutorial today, you can PM me if you need any help!

    EDIT: Litetween does not work with c3 runtime, only c2. tween does work with c3.

  • Hey dude! I managed to get the ads working. I hadn't set my payment info on Admob. As for the leaderboards, they suddenly started working hahaha thanks anyway!

    Wow, thanks man you just helped me to, i just needed to set payment info, big up!

  • I'll try lerp again. But I don't use a camera object. It's just used for scrolling up/down in a companion app.

    I'm curious how other people add scrolling. Please share how you do it. 🙂

    There is a "scroll to" behavior, and you can also set system > every tick > scroll to object(or position x-y)

    , the camera object was just an example on how i do it.

    You can experiment with the movement behavior and use a object that is invisible as camera, this gives you the possibility to control how fast the camera will move and how it will move.

  • Thanks!