Jakub's Forum Posts

  • 8 posts
  • a request, is it possible to add the transition time?

    So priority for me right now is to rewrite the js library I'm using because I think it may be currently causing performance issues in some cases. After that I'll start adding more features.

    The transition time may be more complex to solve than it appears on the surface but I can definitely see how it may be really useful so it lands on my "possibly to-do" list. I can't promise when or if it'll land in the plugin but I'll try.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, example is not working for me. c206

    Are you completely sure you properly set your bridge IP and that you have light 1 currently connected to the bridge?

  • Hello lovely humans!

    I needed a plugin that would allow me to control my Philips Hue lights directly from Construct 2. So I made it. And now I'm sharing it with you.

    I guess it's one of those super niche plugins but I hope someone will make a good use of it.

    Download current version (2015-05-27)

    Example project

    Project on github

    Current set of features

    • Authenticate with the Hue bridge.
    • Set and get hue, saturation, brightness.
    • Turn and switch lights on/off.
    • Get current on/off state of the light.

    Features planned for future releases

    • Conditions based on the current state of the light.
    • Better handling of authentication.
    • Better reporting on turned off and unavailable lights.

    Requests and things that would be nice to have at some point

    • Transition time.
    • Automatic bridge discovery.

    Let me know if you actually have a chance to use it!

  • Hey fun thing, I actually made this game. :)

    I haven't tried to recreate this in construct but I don't think it would be a problematic thing to do.

    I have a json file with all connections, something that looks more less like that:

    {
       "6":{
          "parents":[
             [
                3,
                2
             ]
          ]
       },
       "8":{
          "parents":[
             [
                6,
                3
             ]
          ]
       },
       "9":{
          "parents":[
             [
                1,
                1
             ]
          ]
       },
       "13":{
          "parents":[
             [
                1,
                4
             ],
             [
                15,
                1
             ]
          ]
       },
    [/code:130dsob3]
    
    All elements have a family variable with their id. Then use drag and drop to detect mixing and just go through the list to check if this pair exists in the library.
    
    As mentioned by Vuuv you could format this data so it fits the array or you can try using xml instead.
    
    Then for the progress I store pairs of parents and I go through it the same way when I load or reload the library.
    
    edit:
    You could also try using this:
  • I don't usually make much more than quick tests in C2 but this time I decided to use it for my Shark Jam game.

    You can try the result of those 48 hours here: Depths

    <img src="http://i.imgur.com/5ALdPIT.jpg" border="0">

  • win7 64 pro

    the only problem I've seen was the "program has stopped working" alert after closing the window

  • I have the same problem here.

    It has nothing to do with the closeness of platforms because I experienced that bug with just one platform. At some low values of max fall speed and gravity it seems to work well, but it's not the solution.

    Also browser doesn't seem to be the case (tested on chrome stable/dev, ff, opera, ie)

  • Hi,

    If I had to use some kind of authentication I'd:

    1) split the authentication process and the game itself

    2) use google/facebook or (something else you'd like) to authenticate users

    So when user enters the page you can ask him to log in using his existing account on other website. If he agrees to authorize your page and you can display the game. Then if you need to get the ID of the user or some other data connected to the account you can safely ask some php script by ajax and it doesn't matter if it's get or post. Because of the fact that php is authorized you don't need to pass any sensitive data to the script.

    here you have some links

    authentication using oauth with google account:

    code.google.com/intl/pl-PL/apis/accounts/docs/OAuth2.html

    and authentication using facebook:

    developers.facebook.com/docs/guides/web

    facebook makes it easier to implement it but I'd suggest to use either oauth or both

    I hope you get the idea. If something is not clear I'll try to answer any questions as good as I can. :)

  • 8 posts