gumshoe2029's Forum Posts

  • And why from flash and other games in the same site the external links in a new windows are allowed without problems but the same thing from my game are blocked?

    Because they use ActionScript, which is inherently insecure and annoying. :-p

  • Can we find this group some other way... This daily changing URL idea is terrible.

  • You can get around this already.

  • This is no legal advice.

    Lol. Best part. We use Ltd. though since we are founded in Canada.

  • Best advice I ever received from a grey beard:

    "Sometimes the best thing you can do is break for coffee and talk."

    and

    "When in doubt, threaten the little computer with mortal harm. Remind it what happened to the last little computer, and how we still have not found all of the pieces."

  • When I am building complex JSON in C2, I build it in the C2 object that I want to use first, then I output the .asJSON to a TextBox (so I can copy/paste it elsewhere), and only then do I tweak the raw JSON and build programs to build it dynamically.

    So make the most complex dictionary object that you can in Construct first and then output it to asJSON, so you can see the schema that Construct uses.

    Or better yet, switch to rexrainbow 's Hash plugin, and then you can use JSON like:

    https://www.stormforgedproductions.com/ ... ?op=galaxy or

    https://www.stormforgedproductions.com/ ... =structure

  • Who is not receiving? Your client? Is the server sending anything?

  • Your question is kind of vague.

  • Did you look at the debugger in your test browser?

    ctrl-shift-i in Chrome

    Pay close attention to the Network tab.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can't. Those are anti-spam devices integrated into browsers to prevent annoying advertisement developers from doing exactly what you are trying to do.

  • How are you attaching it to the mouse?

    In our instances we use an:

    Every tick; if(locked==1):

    Object.X = Mouse.X; Object.Y = Mouse.Y

    then we just set locked = 0 and it stops

  • Your background for the layer is black yes? I assumed that you used an appropriate background color.

    If you want to avoid that altogether, than you need to use unbounded scrolling and then manually limit your scroll at the edge of your background image. Something like:

    compare:

    backgroundImage.X - backgroundImage.Width/2 (assuming your hotspot is in the center) >= ViewportLeft("mainUI")

    and

    backgroundImage.X + backgroundImage.Width/2 (assuming your hotspot is in the center) <= ViewportRight("mainUI")

    and

    backgroundImage.Y - backgroundImage.Height/2 (assuming your hotspot is in the center) >= ViewportTop("mainUI")

    and

    backgroundImage.Y + backgroundImage.Height/2 (assuming your hotspot is in the center) <= ViewportBottom("mainUI")

    and if you want to keep your critter in the center of the screen, then you have to use a suitable layer background color and just suffer the sidebars... you can't have your nice scrolling and eat it too.

  • You have to store your save games outside of the application, either in a file on a server or in a database.

  • It is very much feasible. You will just need to form your data structures appropriately.

    You want to make it such that you can input quizzes by XML or JSON (I am partial for JSON, myself), then you can just input new JSON into the server each week. Like:

    {

    "quiz":

    {

    "questions":[ { "questionId":1 "question":"What color is the sky?", "answerKeyWords":["blue"],

    },

    {

    "questionId":2

    "question":"Choose the image that matches the Eiffel Tower?",

    "answers":["../images/TajMahal.jpg","../images/AngorWat.jpg","../images/EiffelTower.jpg"],

    },

    {

    "questionId":3

    "question":"Name three countries on Europe.",

    "answerkeyWords":["Germany","France",'United Kingdom","Belgium","Holland","Poland","Austria","Italy","Spain","Portugal","Montenegro","Moldova"],

    }

    }

    }

    Then you can do a comparison or contains character search to see if their input answer matches any of the key words.

  • Use Scale Inner or Scale Outer layout "Fullscreen in browser" setting.