Edelplastic's Forum Posts

  • I only have tested with Physics, because the Ball hanging on Edges.

  • Hello.

    I have a Question to the Rotate feature of C2.

    I already have create a Circle with a collision Polygon, so that i can move the Player inside the Circle (The Player is a Circle too). But now at this point, my problem starts.

    I have use the Platform Behavior for the Player and set the Acceleration and the Deceleration to 0, so the Player only can Jump.

    Next at the Circle i have use the Rotation behavior, which is rotating left or right when i press the Left or Right Key on my Keyboard. That all works great, but when i insert some platforms , the player hanging on the edges and don´t falling down or slide down bevels when the Circle is rotating.. then i test it with the Physics Behavior AND then i get a Errormessage

    Uncaught node.js Error

    Assertion failed: 3 <= count && count <= 8, at: Box2D_v2.2.1/Box2D/Collision/Shapes/b2PolygonShape.cpp,122,void b2PolygonShape::Set(const b2Vec2 *, int32) at Error

    at Error (native)

    at x.___assert_func (http://localhost:50000/Physics_behavior.js:233:28)

    at dc (http://localhost:50000/Physics_behavior.js:213:73440)

    at nQ (http://localhost:50000/Physics_behavior.js:214:142833)

    at Q.Set (http://localhost:50000/Physics_behavior.js:482:367)

    at createPolygonShape (http://localhost:50000/Physics_behavior.js:568:11)

    at behinstProto.createBody (http://localhost:50000/Physics_behavior.js:1469:24)

    at behinstProto.postCreate (http://localhost:50000/Physics_behavior.js:1083:8)

    at Runtime.createInstanceFromInit (http://localhost:50000/preview.js:2839:28)

    at Layer.createInitialInstances (http://localhost:50000/layout.js:1316:25)

    How i can fix the hanging on edges?

    Here a Picture of the Problem:

    s14.directupload.net/images/140720/jdxn2vye.jpg (Ball is not falling down.. it is hanging there)

  • Is there now a Manual available? I don´t know how to use the Q3D Plugin....

  • Thank you Guys. Now i got the Mail with the Password.

  • I have buy it, but when i get it?

  • thank you

    EDIT:

    Now i have copy the files to the "Plugins" Folder and if i start C2, i get a error message, the same happens if i copy the Files in the "Behaviors" Folder.

    I download Version5 from the Website

  • Use Intel XDK

    Build your App in Construct 2 to Android

    At the Intel XDK you select "Use a existing Application" and then press "Build" - At the Buildsite you choose "Crosswalk Android". Upload your Code and Logos and then press "Build" - 1 Minute later, you can download your APK-File

    To test your APK, you need a Android Device with Android 4.2 (Jellybean)

  • How i can install this to C2?

  • Hello,

    i would ask you how i can make a Text, which i can scroll up and down with the "Text" Plugin and the Touch Plugin (for Smartphones / Tablets)?

    I will use a Informationtext which the user can scoll per touched screen. if he wipe up, so the text scrolls up and down to scroll down, but the textfield should been at a specified positio,n, than a another text shall under there and i don´t will that the scrollable text will mixed with the text below.

    I hope you understand what i mean.

  • You found the Intel Folder at:

    C:\Users\YourName\AppData\Local\Intel

    If you start a new Project in the XDK, you found your Work:

    C:\Users\YourName

    If you will use a existing Project, the XDK save a File to your ProjectFolder (Where you save your Project)

  • Thank you Guys. I have found the Problem. This is no Construct2 Problem, it was really a Intel XDK Problem. I have named my PNG Files with Special Characters like "Ö, Ü, Ä" (German alphabetric letters) and the Intel XDK can´t handle it. Every Datafile must named with lower case letters and do not include special letters and special Symbols like _;/ etc..

    Now i have my APK File and it runs at Phone.

  • Hello part12studios.

    I have programmed my App in 1920x1080 Resolution with the Options "Inner Scale" and "Browser Request Fullscreen".I do this because the new Smartphones in Future are designed for FullHD. Most i use PNG Graphics, than if i use the Construct2 Text Plugin, the Framerate will go down to 18FPS (so i have make my Texts to PNG Graphics).

    Now i test to compressing the PNG´s to get smaller Datasizes.

    What you mean with "optimized for mobile (using powers of 2 for all graphics "?

    Best Regards.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello there, I use the Intel XDK, but they don´t compile correctly, if i start the App on my Android Device, the App stop loading at 92% and freeze. Before in the XDK Emulator, the Programm runs good.

    At the Intel XDK Forums was other Guys with the same Problem and they say that the XDK is broken. Cocoonjs i can´t use for my Project (Cocoonjs can not handle Text Boxes, which i need in my App) and i don´t know how i can use the Android SDK to compiling my App... is there some Tutorial or a Tutorial Video?

  • Wow, thank you very much. Your Example is perfect.

  • Hello Guys,

    i need a BMI Calculator for my App, but i don´t know how i can insert my Javascript Code in Construct 2. Before i have try to open the Code with the Browser Function, but then it open my iPhone Safari Browser.. and that i don´t will, i will that the Java run Fullscreen in the App. Can anyone help me, how i can insert the Code?

    The Code:

    <script type='text/javascript'> <!--
    function berechnen() {
       var bmi;
       var weight = document.bmiform.gewicht.value;
       var height = document.bmiform.groesse.value;
       if (weight < 10 || weight > 200) { alert("Falsches Gewicht.nBitte Daten erneut eingeben"); return null; }
       if (height < 50 || height > 250) { alert("Falsche Grösse.nBitte Daten erneut eingeben"); return null; }
       bmi = Math.round(weight / (Math.pow((height/100),2)));
       output = "Ihr BMI beträgt " + bmi + ".\n";
       if (bmi < 18) output += "Sie haben starkes Untergewicht.";
       if (bmi == 18) output += "Sie haben deutliches Untergewicht.";
       if (bmi == 19) output += "Sie haben leichtes Untergewicht.";
       if (bmi >= 20 && bmi <= 24) output += "Dies liegt im idealen Bereich.";
       if (bmi >= 25 && bmi <= 29) output += "Sie haben leichtes bis mässiges Übergewicht.";
       if (bmi >= 30 && bmi <= 39) output += "Sie haben deutliches Übergewicht.";
       if (bmi >= 40) output += "Sie haben sehr starkes Übergewicht.";
       alert(output);
    }
    //-->
    </script>
    <form name="bmiform">
    <input type="text" name="groesse" />
    Größe in cm<br />
    <input type="text" name="gewicht" />
    Gewicht in kg<br />
    <input type="button" name="submit" value="berechnen" onclick="berechnen();">
    <br />
    </form>
    <br />[/code:1ln1apxi]