jessejoh's Forum Posts

  • smitchell - ill work on this tonight,

    I highly recommend using the iframe for user tweets for now though! Tonight I will add the "style" functionality to the iframe plugin, and then you can just take off the border with CSS style, and use the iframe to show a blank page containing only your user tweets

    deal? I'll message you tonight regarding the updated plugin :D

    or if you need it now, you can insert an iframe into your HTML_div object's innerHTML and style the border out. For example:

    <font color=#0a67b5>Set HTML_Div innerHTML to</font>

    <font color=#880000>"<iframe src=""tweets.html"" style=""width:100%;height:100%;border-width:0px;""></iframe>"</font>

    The problem with what you're describing is that I think there is an interference of the scripts, and I would need to probably talk to Ashley regarding what can be done (as I'm unable to determine what's causing it to not function) about using other scripts on the same document alongside the runtime.

  • I can't get that code to work. If anyone has any ideas, on how to overcome that, let me know.

  • I use this plugin - great work :)

  • <font size="4">Thread Discontinued - Go Here Instead</font>

    Want to display formatted HTML text / links, PHP generated HTML content, youtube videos, facebook like buttons, images, widgets, news listings, comments and much more HTML/PHP stuff into your games and apps? Well with this plugin you can.

    You can create an HTML Div with this plugin. By default, it is a blank square that allows you to type HTML formatted text into. Included are the abilities to change the content/innerHTML of the div, and even change the style (for example, you can restrict the size and add scrollbars to your text div box by adding the overflow:auto; style)

    Also supported is the ability to load the content with AJAX! You can load text files, the results of PHP files, and more with this feature. This feature only works on web servers (much like the AJAX plugin). You can even pass GET and POST data while requesting content from HTML/PHP pages.

    Included in the download is the plugin, example and documentation - but I assure you if you know HTML, this will be a breeze to use (no advanced learning curve).

    Download HTML_Div Plugin, Example, Docs

    Enjoy!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You're exactly correct :)

  • Perfect, thanks for your response :)

    We'll figure some stuff out for the web devs.

  • Septeven - :)

    That's where the DIV plugin will come in handy. It will have the ability to act like an iframe, and load pages.

  • <font size="4">Thread Discontinued - Go Here Instead</font>

    My second plugin for the day is an iFrame plugin that allows you to view web pages from within your game or app. Implementation of the HTML iFrame into Construct :)

    Hope it works for all - let me know :)

    Download iFrame plugin

    Some time soon I will add functionality for styling, removing border, etc. I'm assuming this will be most useful for many of you.

    After thinking of what next, I think the following is a good list of what to expect

    • Cookie storage object (set/get variables that your game / app can remember)
    • IMG object for loading images on the fly
    • DIV object which will also come with a loadpage command that will use Ajax to load content into the div
  • For saving, there is always the the canvas.toDataURL() method

  • Well, I had an idea a few weeks ago, and it's prompted me to further investigate the new "live" web that's just around the corner. I've decided to invest in HTML5 for the future development, and remembered you guys with the changeover from CS classic.

    Anyways, after purchasing the business license today, I must say I'm already very excited with the ease of plugin development, and the power that the software provides.

    I'd like to start by releasing my first of hopefully many plugins aimed at Web Application developers (but also useful for Game Developers).

    It is a modification of the original AJAX plugin, that allows you to supply POST data to a url. I created this because it appears there is no existing plugin for this.

    Edit by Ashley: this third party plugin's features are now built in to the official AJAX object. You should not use the third party plugin any more.

    Download AJAX POSTer

    My next plugin will likely be for setting and retrieving cookies.

    Just a quick question: how many of you are using PHP/MySQL? Would it be worthwhile developing plugin + PHP combos that can act together? What if we had something such as a MySQL plugin that only needed a .php file to exist with your construct app on the live server? Would these pre-programmed solutions make sense for you?

    In either case -- count me in on exciting development. There is however one thing that concerns me, and that is the lack of a simplified pre-HTML 5 run time. I have a question relating to this - is there any way to get the basic runtime to work with preHTML? It doesnt matter to me if things like sprites etc. do not work, but does construct require a canvas in order for its basic engine to run?

    If it could run without the need for the fancy HTML5 stuff, it could be very very useful immediately (and I would be willing to create many many plugins right off the bat)