gumshoe2029's Recent Forum Activity

  • 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.

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • gumshoe2029, i think i many not be using your capx correctly; because the zoom effect is not smooth and the jump from location to location seems with too big of a gap.

    You can adjust the amount that it zooms by. Simply adjust the parameter, "zoomSpeed" to see what I am talking about. If you want a smoother zoom, try a zoomSpeed of 0.05 or 0.01.

    Unless you are referring to the mouse pan. You can adjust the equation for that too to be smoother. On our live game client, I use a differential averaging process to smooth out the pan when you are zooming. You also need to make sure that your layout is sufficiently large and that you have unbounded scrolling set to yes, otherwise it will jump like my example does. If you set the layout size in my zoomTester to 10000,10000 then it will zoom more smoothly too.

    Our zoom and pan is below:

  • I could, but it would take me a lot of time that I cannot afford to spend.

    I have no problem helping when it is a 5 minute effort, but you are asking for an hour+, because I do not know how to use this service yet. So, I would have to go figure it out for you. You just need to look around Google until you find your answers. They are all out there, you just need to keep looking until you find them.

  • Look into using AJAX instead of WebSockets. It is far easier to use.

gumshoe2029's avatar

gumshoe2029

Member since 4 Mar, 2014

None one is following gumshoe2029 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies