jugger87's Forum Posts

  • Hello,

    I'm having problems with the plugin when the game is hosted.

    In localhost everything is OK, but in the my host I'm no able even to login into facebook.

    I think the problen is the The redirect URL.

    In your plugin I noticed these two variables:

    AddStringParam("URL", "The redirect URL" ,'"http://lancelocke.yourhosting.com/Inbox"');

    AddStringParam("URL", "The redirect URL" ,'"http://lancelocke.yourhosting.com/Outbox"');

    Should I change them?

    If my host is https://www.myexamplehost.com/PRUEBA/PRUEBA/index.html

    Also in the facebook app settings what should I enter in advanced tab, Valid OAuth redirect URIs?

    Thanks,

    Sergio

  • Hello everyone,

    I've developed a game with facebook integration thanks to lanceal plugin. In localhost all is OK, but when I

    execute the game from my host it simple loads and stops when was supposed to open facebook login.

    I've wasted the whole day "searching" for a solution(again thanks Facebook for your lack of information), but I guess the problem is the url in advanced configuration of the facebook app:

    Valid OAuth redirect URIs

    What should I put there? If my game is hosted in https://www.myhost.com/PRUEBA/PRUEBA/index.php for example?

    I've tried with lost of combinations and none worked, while with http://localhost:5000/ works for localhost.

    Help please I'm desperate with Facebook!

  • Hello everybody,

    I've just created a new android game. It's about agility and reflexes, you'll have to interact with different types of balls as fast as you can.

    I've done it with crosswalk, in my brother's mobile and mine it works well, but I would appreciate to prove it in more different mobiles.

    This is the google play page: https://play.google.com/store/apps/deta ... zing_balls

    Regards,

    Sergio

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello again,

    I've been working with the plugin and all was going well, but today I got an error I didn't get before.

    The problem comes with the send request (object), it keeps loading the facebook windows but never shows the info and the send button. The extrange thing is that one week ago it worked well, I could ask my brother for an object many times.

    The only thing I've changed is the object ID, I deleted the one I was using and I created this new one...but it should work the same way isn't it?

    Thanks,

    Sergio

    Solved: It seems that it is now working well...I assume it was a facebook problem. Sorry for the unnecessary post.

  • Hello again,

    I've been working with the plugin and all was going well, but today I got an error I didn't get before.

    The problem comes with the send request (object), it keeps loading the facebook windows but never shows the info and the send button. The extrange thing is that one week ago it worked well, I could ask my brother for an object many times.

    The only thing I've changed is the object ID, I deleted the one I was using and I created this new one...but it should work the same way isn't it?

    Thanks,

    Sergio

  • Hello,

    I've recently added two games to the google play.

    Bat's Jungle was already done for facebook, but now I've been able to optimize the code to work on mobiles.

    https://play.google.com/store/apps/deta ... ats.jungle

    Blazing balls is my second game created, the one that make me know how to optimize construct 2 for mobiles.

    I made it with phonegap, and I BQ mobiles for example it makes zoom which makes imposible to play.

    I you can please tell me if you can see it well, because if not I may rebuild it with crosswalk.

    https://play.google.com/store/apps/deta ... azingBalls

    Hope you enjoy both.

    Regards,

    Sergio

  • Hello,

    I've recently added two games to the google play.

    Bat's Jungle was already done for facebook, but now I've been able to optimize the code to work on mobiles.

    https://play.google.com/store/apps/deta ... ats.jungle

    Blazing balls is my second game created, the one that make me know how to optimize construct 2 for mobiles.

    I made it with phonegap, and I BQ mobiles for example it makes zoom which makes imposible to play.

    I you can please tell me if you can see it well, because if not I may rebuild it with crosswalk.

    https://play.google.com/store/apps/deta ... azingBalls

    Hope you enjoy both.

    Regards,

    Sergio

  • jugger87

    I do have a share link action in the full version. Are you using that version and can't find it?

    Hello Lanceal,

    yes I've downloaded the full version. Indeed, there is a share link, but there is only a textfield to put the URL.

    I need to know how to attack a photo to the link, set a tittle, description...etc just like the official plugin, in which there is a textfield for each one.

    I've read that it has to be done with graph api, but I don't know how to do it. Could anyone give me a example of what I need to introduce in the URL to also set the tittle, description and attach a photo with the link?

    Thanks in advance,

    Sergio

  • Hello,

    can anyone please help me with the grap api? How can I change tittle, post a image with a share link just as it was done with the oficial facebook plugin?

    I attach a photo of what I currently do with the oficial facebook plugin.

    Thanks and sorry for my poor programming level!

    Sergio

  • Wait loopindex error

    It's simple, in a Repeat Cycle, I create 1 sprite in each iteration, on a different location depending on the loopindex. But when I put wait loopindex * 0.5 before creating them, then it does not work.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/234 ... nodon.capx

    Description of Capx

    The "Game" event sheet calls 2 functions to create the sprites. "AgujeroNegro" creates a black ball and you'll see it created a random number of ligh blue balls around them.

    The other function "BolaAmarilla" creates a yellow ball. This one you must click them 5 times to call the functions that doesn't work.

    When you've clicked 5 times the function "BolaAmarillaTouch" in the "Acciones juego comunes" event sheet.

    Just try deleting the wait loopindex * 0.4 and it works well, but with the wait action the other small yellow balls are not created.

    I don't understand it because the function "AgujeroNegro" in the event sheet "Acciones juego comunes" does the same but with different sprites, and it works perfectly.

    Steps to Reproduce Bug

      Wait until a yellow ball appears in the screen. Click it 5 times and I should appear small yellow balls.

    Observed Result

    Nothing is created with the wait action

    Expected Result

    Small yellow balls should appear close to the original yellow ball.

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    Windows 7 64 bits

    Construct 2 Version ID

    173

  • Hi,

    thanks for your comments. Well I took the base from flappy bird in the sense of click and fly and dodging obstacles...but as you say, there are a lot of flappy bird clones with 0 originality and I didn't want that.

    Well I finally manage to publish on facebook on the following link:

    https://apps.facebook.com/bats_jungle

    I also made a facebook page which I think is basic for every facebook developer game:

    https://www.facebook.com/batsjungle?fref=ts

  • Hi all,

    after more troubles than I would have desired, I finally manage to upload the game in clay io.

    I have to say that IOS and ANDROID are a headache. After trying phonegap, XDK crosswalk, ludei...and not being able to make it work well (slow, some things don't show, audio problems) I decided to upload it to facebook.

    To my surpise, facebook has a lack of information to developers and I was lost at the time of publishing the game to it.

    I suggest everyone who wants to make a facebook game to do the same I did, upload first to clay io, and then just fill the facebook developers app details, as facebook requires you to have the game upload in a external server.

    Well, hope you enjoy it http://batsjungle.clay.io/

  • I found a solution, I putted a wait 0.2 before calling the function. It seems that the object had no time to set its instance values, because a simple bollean=true didn't picked me the object, but if I put a wait before calling it it seems to work fine.

    Sorry if it's my fault for not knowing how it works, you can close this post.

    Thanks all,

    Sergio

  • When I run your project in debug mode it appears there is no PuntuacionObtenida. Looking at your code, right after you set bOriginalFusion to true you destroy PuntuacionObtenida.

    Yes, PuntuacionObtenida is spawed when an insect collides with the bat, previously it doesn't exist. The destroy action I putted to check if that action was done, just toggle it or delete to see that the bOriginialFusion value remains 0.

    Thanks,

    Sergio

  • Problem Description

    It's simple, setting a value to an instance varaible does not work. When I create a Sprite, on its On Create I call function with its UID. With this UID I want to change a value of a variable, but it seems that it doesn't work. I putted another action to that sprite to check if it was not being picked, but with Destroy action(for example) it works. Also i save the X coordane and Y to a global variable and that works well.

    The Spire is called "PuntuacionObtenida".

    Attach a Capx

    dropbox.com/s/qw8z63p0nkx399a/Bug.capx

    Description of Capx

    I took a flappy bird template, you control a bat and insects come continuously from right to left. When a insect collides with the bat a number is spawed.

    Steps to Reproduce Bug

      Just ensure the bat eats an insect (but also take into account not to eat more than one, because changing the instance variable must only be done for the first number that appears). The variable bOriginalFusion remains 0 (despite setting it to true). You can disable the toggle in the destroy action and you can check that the number does not appear or see that the X and Y global variable have the sprite X and Y values.

    Observed Result

    The variable bOriginalFusion remains 0

    Expected Result

    The variable bOriginalFusion must be 1

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 7 Ultimate Service Pack 1 64 bits

    Construct 2 Version ID

    163