Joe7's Forum Posts

  • rafhelp:

    1) The file common.js has another task(it should contain scripts for runtime and edittime)- i think only few plugins use it.

    If you need/want external scripts/libs you can do it this way:

    Put your "global" functions in an seperate file "yourFileName.js" (placed in your pluginfolder)and make in edittime.js a dependency (- create a parameter by the return of the function GetPluginSettings()"): "dependency": "yourFileName.js"

    2) new XMLHttpRequest();

    To make browserindependet developing much easier this is probably a task for jQuery (ajax - jquery)

    When you have a look at the ajax-Plugin or the ajaxPost-Plugin(=fork of ajax) you'll see how you can handle data with jQuery. Easier to read and recommended in the manual is jQuery.foo() instead of $.foo()

    have fun, Joe7

  • Do you have another plugin - i cannot open your C2-project because C2 claims missing the "Scoreoid" plugin.

    Some suggestions after a short look in the runtime:

    #) Why do you init the instance-variables (or object-variables (?)) in line 70 outside any function? I suppose line 65 or 53 are better places for the initiation.

    #) When these vars belong to the object it's better to call them with the keyword "this" - when you declare them with the javascript keyword "var" you make them global for the whole website. In line 57/67 are outcommented examples from the developer.

    #) "blank grey screen and nothing works."

    For javascript-development it's a good idea to use the Firefox-Addon "Firebug" in Firefox or with Chrome the built in "Chrome Developer Tools" - shortcut [CRTL]+[SHIFT]+[ I ] - there you should see details for most errors.

    [edit]post above <img src="smileys/smiley2.gif" border="0" align="middle" /> [/edit]

    g, Joe7

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Arima: that's possible with ajax. I load json data at runtime - calling level1.php, level2.php.. ;)

  • Hi,

    in r80.2 and r81 a buttonfamily seems to don't work as aspected:

    i have two families - one with Buttons and one with Sprites

    <img src="http://dl.dropbox.com/u/31151399/Construct2/problems/buttonFamily/buttonFamilyProblem.png" border="0">

    in online action

    familyButtonClicked.capx (r81)

    --> The button family doesn't show any reaction. When I create instances of one Button-object then it works fine for all instances but not for a family of different button objects.

    Joe7

  • Keep up your good work!

    Maybe some people that have never worked with a Layoutmanager didn't realise for what or how to use your plugin...

    Much endurance for the edittime (-v8-) .. <img src="smileys/smiley2.gif" border="0" align="middle" />

    .. waiting for the gridbag.. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Good idea, rexrainbow.

  • Hi,

    this behavior gives you a relative Cartesian coordinate system.

    You can set a relative origin, rotate the coordinate system and define a function in the coordinate system.

    Demo + Behavior

    Properties:

    <img src="http://dl.dropbox.com/u/31151399/Construct2/Behaviors/joe7_Cartesian/postimages/properties.png" border="0">

    Actions:

    <img src="http://dl.dropbox.com/u/31151399/Construct2/Behaviors/joe7_Cartesian/postimages/actions.png" border="0">

    Expressions:

    <img src="http://dl.dropbox.com/u/31151399/Construct2/Behaviors/joe7_Cartesian/postimages/expressions.png" border="0">

    Have fun and all suggestions are welcome, <img src="smileys/smiley17.gif" border="0" align="middle">

    Joe7

  • Hi,

    "Math Function" is a plugin for drawing graphs of functions.

    Demo + plugin (1.0)

    Version 1.0: Drawing of graphs is possible.

    You can use Javascript-Math-functions for nice graphs. <img src="smileys/smiley1.gif" border="0" align="middle">

    Properties:

    <img src="http://dl.dropbox.com/u/31151399/Construct2/Plugins/joe7_mathFunction/joe7_mathFunction_release_1.0/postimages/properties.png" border="0">

    Actions:

    <img src="http://dl.dropbox.com/u/31151399/Construct2/Plugins/joe7_mathFunction/joe7_mathFunction_release_1.0/postimages/actions.png" border="0">

    Have fun and all suggestions are welcome, <img src="smileys/smiley2.gif" border="0" align="middle">

    Joe7

  • Nice plugin. <img src="smileys/smiley2.gif" border="0" align="middle">

    Pode: Do you want to render all the svg with your plugin (- I haven't looked in the source). Suggestion: Perhaps it's possible to build a plugin with svg-edit. With some luck this could work even during edittime.

  • Yes, it should be. As I understand the question - he asked only the encryption - e.g. post the "username"+"password" and store this encrypted string on the server.

    The username and the score can send without encryption to store on the server. The client that uses the C2 game knows who he is ("username") and the app calculates the "score".

    Second login: C2 encrypts username+passwort again --> send it to the server --> server: compares this string to the string stored before --> message success/fail to c2-client that wants to play

    Suggestion:

    If sending the username and the score unencrypted is to unsecure for you (-you can see the real-characters eg with wireshark <img src="smileys/smiley2.gif" border="0" align="middle" /> ) - why not merge it in the encrypted string:

    When the encrypted string for the

    user "Joe7"+"joelspassword"

    is --- "0123456789abcdef" ----

    and the score is "20"

    --> merge it in:

    • -- 01234567Joe789ab2cd0ef ---

    and post this string. If you know the right positions of the characters you can pick them out <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Kyatric: Thanks for the details. Should be fixed now.

    chrisbrobs: Yes. The model i used was quite komplex to see how long the rendering takes.

  • Propably with the CB Hash (MD5, SHA-1 and SHA-256)-Plugin.

  • In which major desktop browsers the Plugin (0.2) doesn't work completly?

    It should work as far as good in:

    Win XP: Opera 11.11, Firefox 10.0.2, Chrome 17.0.963.56

    Win 7 32bit: IE 9.0.8, Firefox 6.0.2

    games in browsers: Has anyone created 3d-games for browers - i.g with unity3d? I suppose that the rendering of the 3d-objects isn't done in the browsers in realtime, or not? The plugin renders an object in realtime.

    When you render the (animated) 3D-object to images (image1.png, image2.png,.., image10000.png) with a real 3D-software (-Blender is very good for that-) and put the images on sprites in Construct 2, it' will be much more faster for the user and should work in all browsers. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • ok, open the demo page and click on the Button "Load". After that perhaps you see a 3D-object and you can rotate,move and scale it with the buttons (values from the textfields). If it works be happy - if not have a smile - its only alpha this time. <img src="smileys/smiley17.gif" border="0" align="middle" />

  • rexrainbow: Thanks. I've made an update. However the preview don't work because a local obj-file get loaded. I don't know if or how i can get the path for C2 and/or the preview.

    delgado: Delete these both old-libraries and update the plugin. The needed library should become created now next to the index.html.