teacherjon's Forum Posts

  • 4 posts
  • As a teaching tool, would there be a way for students to type javascript code in a textbox accessing the runtime.js functions and test them in realtime on a game?

    I am really interested in this and my students seem to like this type of thing. I read the manual entry on realtime.js but am still not sure how this might be done. Thanks

  • Try Construct 3

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

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

    First I want to thank Tom and Ashley for providing the multiplayer plugin. It is amazing and my students have had so much fun using it. A number of them don't have computers at home and I would love for them to be able to play the games they make on their mobile phone.

    I made slight modifications to the Multiplayer Ghost template.

    http://wintolearn.com/ghost22

    Here is the link to the file:

    http://bit.ly/1iHjUqX

    I changed the mechanics so that the player follows your mouse.

    The vectorX and vectorY are determined by the aimspot. Performance seems to be fine using Google Chrome on my computer.

    When I go to the link using the mobile Chrome browser on my Galaxy S4, and click a part of the screen, the player moves, but the performance is less than ideal. The movement and laser work, but it is slow.

    In particular, the player seems to stall when it gets close to the aim spot. It ignores other touches on the screen until it gets through whatever it is processing when close to the aim spot. I am pretty sure the issue is something related to processing the aim spot to check for a hit.

    I tried changed the mechanics so that touching the screen would result in simulating an 8 direction left, or right, up or down, but I didn't see any improvement in performance.

    Any suggestions would be much appreciated.

    Thanks,

    Jon

    p.s.

    Here is one game I made combining pong and the Ghost multiplayer template:

    http://win2learn.com/lazapong

    (10 shots on the other person's paddle makes it move)

    Here is a modification by a student which we did in about an hour:

    http://wintolearn.com/lucpong

  • Sorry, I copied the file to plugins instead of behaviors.

    This will be very useful--thanks!

    Jon

  • Hi Joe,

    I would like to use your plugin to teach student how to use the cartesian coordinate system as part of their games.

    I get an error when the plugin loads though.

    It says found getpluginsettings but it is not a function. Is there a more recent version of the plugin that I can download?

    Thanks,

    Jon

  • 4 posts