cjbruce's Forum Posts

  • I would love to see a Chromebook-able version of Construct 2, but I can't see it happening anytime soon. Most of the students in the Chicago suburbs have either a school-issued iPad or a school-issued Chromebook, and Construct 2 happens to be (IMHO) the best tool for making web-ready games and simulations that run on these devices. It would be awesome to give all of our students the ability to make games, but the cost of the mobile devices also means that we are getting rid of our real computers.

  • bhain7,

    Thanks for the tutorials! It appears that 3dswing.com is down.

  • > Check out . All 40+ science simulations on the site were made with Construct 2 by a group of physics teachers (and one AP Biology teacher).

    >

    > Our team loves Construct 2!

    >

    Hi I'm also teacher and wanna create such simulations and interactive applications like yours

    What's your advices and whats the begining point in order create such applications any tutorials or readings

    thank you

    I'm not sure what sort of background you have, but maybe the best place to start would be to come up with an idea and try to build it! Kyatric has some great Construct 2 youtube training videos that helped me understand picking in Construct 2. Understanding how picking works is really important when you are putting lots of instances of the same object onscreen.

  • lennaert,

    I think you are right. I'm not sure why I didn't think of that, but I will give it a shot.

    Thanks for the help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm looking to build an app that resides inside an iframe on a larger webpage. I would like to handle user authentication on the larger webpage, and then pass the username/password to the Construct 2 app in the iframe when it loads.

    I was considering the following possibilities:

    1. Store the authentication information as a php session variable, then modify the Construct 2 index.html to become index.php and load the username and password as javascript variables.

    2. Pass the authentication information via a GET request to the Construct 2 index.html (renamed as index.php) and load the username and password as javascript variables.

    In either case, I need to somehow create a javascript variable that Construct 2 will recognize in-game.

    Any ideas? Can this even be done?

    Thanks for your help!

  • chaoskool32, welcome to the forums!

    In addition to the having the ability to enter text, you will need to consider what needs to be done with the text after it is entered. If you need the ability to send the information from the teacher's device to the students, then you will need a lot more infrastructure:

    1. Use the "AJAX" object in Construct 2 to send the questions to a server.

    2. You will need a server running a server-side language like php to communicate with teacher and student devices. In addition, the server will need a database running mysql or similar to store and retrieve the questions.

    3. You will need to build a student version of the app to poll the server and display the questions. The student version will use the "AJAX" object in Construct 2 to retrieve the questions from the server.

    If you don't do this, then the teacher will need to type in all of the information into their device/computer, then give that device/computer to the student to use. This might be a little weird, depending on how the class is set up.

    I'm a teacher who is up to my eyeballs in all of this at the moment. If you have any questions, please feel free to PM me. Good luck, and happy Constructing!

  • septeven, thank you for the wonderful plugin. It is allowing me to make a professional-looking app without trying to build tables in Javascript.

    I'm having trouble styling the cells to word wrap correctly. I would like to be able to display multiple lines of text, but no matter what I try I only get a truncated line. Here is my most recent attempt at putting a <div> into an iscroll line:

    <div style='float:left;width:700px;word-wrap:break-word;'></div>

    Am I missing something here, or is it not possible to wrap text?

  • I would like to use the canvas plugin to create an image editor. My .capx does the following:

    1. Load an image (.png or .jpg) to a sprite using the FileChooser plugin.

    2. Move the sprite/resize it.

    3. Paste the sprite into a canvas.

    4. Use Canvas.imageURL to Base64 encode the contents of the canvas.

    4. Upload the Base64 encoded image to a webserver.

    Everything works fine for .png files loaded from a local directory, but I can't seem to Base64 encode the canvas if I start from a large .jpg file instead. Does anyone have any ideas for what I might be doing wrong?

    Here is my .capx file:

    [attachment=2:2pvy7d92][/attachment:2pvy7d92]

    Here is a correctly Base64 encoded .png file:

    [attachment=1:2pvy7d92][/attachment:2pvy7d92]

    Here is an incorrectly Base64 encoded .jpg file:

    [attachment=0:2pvy7d92][/attachment:2pvy7d92]

  • I should have posted this long ago when we completed the first few simulations, but I suppose it is better late than never:

    http://www.simbucket.com now has over 40 free simulations and games for science students!

    Inspired by the great free collection of Java/Flash simulations at http://phet.colorado.edu, we have found that Construct 2 is a natural fit for physics simulations. We hope you find them useful. Enjoy!

    Sincerely,

    Chris Bruce

    for the Conant High School Physics Teaching Team

  • Construct 2 will be featured at the Alaska Society for Technology in Education Conference, "Game On!" from February 21-23.

    http://www.aste.org

    During the opening night pre-keynote speech, the presenters will create and publish a game in 5 minutes. Construct 2 will also be featured in an all-day workshop on Saturday, and again all day Monday in the Game Room. We hope to have Kyatric give a talk via Skype as well. Thank you Kyatric!

    Is Construct 2 being featured anywhere else?

  • Check out http://www.simbucket.com. All 40+ science simulations on the site were made with Construct 2 by a group of physics teachers (and one AP Biology teacher).

    Our team loves Construct 2!

  • After a little bit of troubleshooting, it appears that the problem might be related to the "Touch" object.

  • Pode,

    Thank you again so much for the great plugins. As usual, they have saved my bacon on a project.

    On a new project I am attempting to use a div to show some text that users can copy to the clipboard and later paste into Excel. I can successfully copy on my Nexus 5 phone and on an iPad, but the CTRL-C copy doesn't work from desktop browsers. Any ideas?

    Thanks again!

  • [quote:svf3wu7h]Sprite already has On image URL loaded condition.

    Man do I feel like an idiot. Thanks for pointing this out!

  • Hi all,

    I've been struggling with this one for about six months and I still can't seem to get a handle on it. I am creating a quiz program with about 400 image files. When the user goes to the next question, it reloads the layout, recreating the image sprite. The image sprite loads the next image, which has a delay that seems to vary between approximately 0.10 seconds to 10 seconds or more. While the sprite is loading, the texture previously loaded into the sprite occupies the space of the new sprite, distorting the previous image until the new image replaces the old. The new text loads instantly, but the image may take a while. This could lead to confusion where a user is looking at a new quiz question but still has the previous image (typically a graph).

    Bottom line: the whole thing looks really sloppy and unprofessional.

    Is there a way to detect when a sprite is loaded so I can just show a "Loading, please wait..." or "Tap to reload..." sprite until the image is loaded? I have tried doing this with a set time delay of 2 seconds, but sometimes it takes longer than this.

    Would it be possible to get an "Image Loaded" callback similar to the callback that exists for AJAX?

    Please see the attached sample .capx (Release 178). A demo of the delay is shown in the link below.

    https://dl.dropboxusercontent.com/u/55106174/imageloadingdelay/index.html

    The link below is the actual app, which loads from locally stored files. This is as clean as I can get it, but it still isn't right:

    http://dl.dropboxusercontent.com/u/55106174/questionbank/index.html