AppDude27's Forum Posts

  • 7 posts
  • This worked perfectly, thank you so much for helping!

    Just to confirm my solution.

    Scenario A: Lowercase file names and lowercase requests

    1. Made all my xml files lowercase

    2. Request URLs have lowercase XML names

    Scenario B: Request Project File

    1. I switched all my "Request URLs" to "Request Project Files"

    Thank you so much again!

  • I created a dialogue system for my game that takes in a .xml project file.

    Steps:

    1. Use AJAX to call the project file

    2. On return, loop through the XML dialogue elements

    3. Display the dialogue elements until the end of the conversation

    On PC, this works perfectly.

    When I export to Android APK, it fails. No errors, nothing.

    I ended up downloading Android Studio, and the error I'm getting in there is "Cannot find "JoeIntro0.xml". I also found an additional line that's looking for "www/JoeIntro0.xml".

    I did a search in my android studio project for that file and it DOES exist in there in the path specified. I'm not sure what to do.

    Has anyone had issues with Android AJAX calls in Android before?

  • I can't find a good tutorial or reference that shows me how to connect my game to my database.

    I set up an Azure server with a database. I have a connection string, credentials and everything I need to start the process.

    Literally all I'm trying to do is have my game upload player scores to a Leaderboard to show others what the top 10 players are.

    Websockets, AJAX, and other implementations for Construct 3 are available, but I can't find any good examples or tutorials that can help me with this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was having similar issues and posted in the forums myself before finding this post.

    Thanks for sharing, this worked for me as well!

    Effect: "Set Color"

    Parameter: 0

    Value: rgb(RedSliderBar.Value, GreenSliderBar.Value, BlueSliderBar.Value)

    What's cool is that you can call values from other controls on your layout!

  • So the above comment works for Construct 2, but it didn't work for me for Construct 3.

    I did some digging in the forums and actually found a solution:

    If the link above is no longer active for whatever reason, here's an abridged version of the solution:

    "@SteamPoweredPix Hi, I was having the same exact problem - it really seemed as though effects that require color parameters were just broken in Construct 3, but they're not! Here's how pass color values to effects now.

    Instead of the C2-style "parameter 0 = red, parameter 1 = green, parameter 2 = blue", C3 color parameters are just a single value of "rgb" type. To get that you use the System expression "rgb" and pass it three numbers between 0-255 (not 0-100 like in C2).

    CODE: SELECT ALL

    Solid red:

    Set effect "SetColor" parameter 0 to rgb(255, 0, 0)

    Solid green:

    Set effect "SetColor" parameter 0 to rgb(0, 255, 0)

    Solid blue:

    Set effect "SetColor" parameter 0 to rgb(0, 0, 255)

    Solid grey:

    Set effect "SetColor" parameter 0 to rgb(128, 128, 128)

    And so on. Hope this helps!"

    -- Quote is from JerkTheRipper

    Thanks!

  • I have a plain, white sprite.

    I added a slider into my project to act as a color changer.

    In my logic I have:

    SliderBar -> OnChanged ---> WhiteSprite -> SetEffect "Color" to SliderBar.Value.

    The issue I'm having right now is that the SliderBar is only changing the R in the RGB values.

    I'm also not allowed to put comma delimited numbers in the value textbox. For example (SliderBar.Value, SliderBar.Value + 50, 0).

    Does anyone have any experience with coloring sprites and what an ideal practice should be for using the SetEffect properties?

    Thanks!

  • I seem to be having an issue with my Construct 3 project.

    I exported my files and chose the XCode project. I then loaded it up and connected my iPad to my Mac. The Construct 3 splash screen appears and loads. As soon as it's finished loading, the screen goes white for a split second and then reboots the same splash screen all over again. It seems to do this repeatedly unless I close the app.

    I then exported my files and chose the cordova project. I loaded the project up on PhoneGab Build and downloaded the iap file. I installed that file to my iPad as well. The same Construct 3 splash screen appeared, telling me the project is loading. When it finishes, I get the same exact white screen flash. The game never loads. It just keeps reloading over and over again with the same white flash.

    Has this happened to anyone before? I'm at a loss here. I have no idea what to do.

    Exporting my game via Cordova to android works perfectly. I can install the apk file and run the game just fine. It's iOS where I seem to be having the issues here.

    Thanks!

  • 7 posts