Joe7's Recent Forum Activity

  • Kyatric: thanx, the plugin works great with that. ("Hello" & newline & "World") <img src="smileys/smiley1.gif" border="0" align="middle" />

  • hi,

    because the Ajax-post-Plugin isn't available i've created a new one (based on the AJAX-Plugin).

    Usage like AJAX-Plugin with the difference that you can post the data via POST. <img src="smileys/smiley1.gif" border="0" align="middle">

    <img src="http://dl.dropbox.com/u/31151399/Construct2/Plugins/ajaxPost/usagajaxPost.png" border="0">

    Plugin ajaxPost

    postExample.capx (HTML-Div Plugin for the example)

    ajaxexamplePostData.php

    All suggestions are welcome. <img src="smileys/smiley2.gif" border="0" align="middle">

    Joe7

  • Thanx septeven ,

    in that cases your plugin works perfektly. What I want is to produce a linebreak when there "comes" a text: "line1 \n line2"

    action: textobject.set Text to("line1 \n line2")

    output:

    line1

    line2

    I've found out, that i can do this with the plugin "JesseJoh's HTML Elements Pack" with <br>-Tags.

    Edit:

    Ok it works with \n when I read strings from php or external javascript.

    g, Joe7

  • Hello Pode,

    how can i create a new div-object? Whenever I create one I get in Preview

    "Assertion failure: No project JSON model available Stack trace: assert2((void 0),"No project JSON model available")@http://localhost:50000/preview_prelude.js:12 ()@http://localhost:50000/preview.js:217 ([object HTMLCanvasElement])@http://localhost:50000/preview.js:112 ("c2canvas")@http://localhost:50000/preview.js:10 ((function (a, b) {return new e.fn.init(a, b, h);}))@http://localhost:50000/:86 ([object HTMLDocument],[object Array])@http://localhost:50000/jquery-1.7.1.min.js:2 ([object HTMLDocument],[object Array])@http://localhost:50000/jquery-1.7.1.min.js:2 ()@http://localhost:50000/jquery-1.7.1.min.js:2 ([object Event])@http://localhost:50000/jquery-1.7.1.min.js:2"

    In your example capx:

    When I create a new div-object I get the same error. When I create a new instance of your div-object and change the innerHtml it works fine? Strange.

    Edit:

    Ok, found out that the original Plugin (Download posted by Kyatric: "some temporary upload") doesn't have this problem. <img src="smileys/smiley2.gif" border="0" align="middle" />

    Edit2:

    With the original Plugin the preview works fine but in the exported project all font-colors are white and the background too <img src="smileys/smiley4.gif" border="0" align="middle" /> --> Add the style="color:red" and you'll see the characters.. <img src="smileys/smiley17.gif" border="0" align="middle" />

    thanx, Joe7

  • Hello septeven,

    is it possible to make a manual line break - perhaps with \n or <br>

    I haven't found out what's the different between the Property Linebreak "auto" and "manual". How can I make the text "line1 line2 line3" shown in three lines?

    thankx, Joe7

  • The most time Preview is ok for me.

    I often export a project when

    #) I forget that the Preview works fine in most cases,

    #) developing/testing a plugin,

    #) and using/loading external data (javascripts, JSON-data).

    Why? The "local" error logs are more confortable for me to handle. It's not very important but would be convenient.

    thanks, Joe7

  • What do you exactly mean? I can make a family of Text-objects. I suppose you cannot merge different object types.

    greet, Joe7

  • hi,

    is there a shortcut for exporting?

    If not - is it possible to implement one - eg CRTL+P

    greets, Joe7

  • ok. haven't seen that's already built in.

  • Try Construct 3

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

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

    this is a plugin for replacing character(s) in a string.

    There is only one expression <img src="smileys/smiley1.gif" border="0" align="middle"> :

    replaceChar("oldCharacter(s)","newCharacter(s)","theText",0 or 1)

    0.. replace only first match in the text

    1.. global replacement

    charRepl - Demo, Plugin

    All suggestions are welcome. <img src="smileys/smiley2.gif" border="0" align="middle">

    Joe7

  • What do you do to include the .js file when the project is exported?

    Nothing. <img src="smileys/smiley17.gif" border="0" align="middle"> The scriptfile has to be somewhere where it'll be found - e.g next to the index.html (->write only the filename in the properties) or in a folder next to the index.html (e.g myScripts/myScripfile.js).

    you can also refer to a scriptfile somewhere over the rainbow in the properties of the plugin: dl.dropbox.com/u/31151399/Construct2/Examples/callGoogleMaps/myScripts.js

    http://dl.dropbox.com/u/31151399/Construct2/Examples/callGoogleMaps/myScripts.js

  • Thank you Joe7 It looks like I was looking for.<img src="smileys/smiley1.gif" border="0" align="middle">

    Can you tell me wich plugin I need? I can not open this exemple.

    Plugin Random Array

Joe7's avatar

Joe7

Member since 14 Oct, 2011

Twitter
Joe7 has 3 followers

Trophy Case

  • 13-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

15/44
How to earn trophies