YianPanda's Recent Forum Activity

  • Thanks so much for answering and I most say that your 5 steps did help, because of you I checked the whole code again and found the bug, caused by a tween calling that ran at the exact same time and overruled the one I checked for.

  • Sorry my bad, I was trying to call the tween with the tag.. "DashboardUP"

  • Hello!

    I have tried everything, now and cannot seem to find out why my tween is not responding. The tween im trying to use tween with is on a UI layer and is overlayed over the game, it moves like it should but the command "Any tween finished" does not do anything.. :(

    Hope someone will help to find the problem

  • cesisco

    Again thanks for the help.

    Been a great help for me and for my project/game, really just couldn't see a way though it.

  • cesisco

    Just hitting my head towards a new wall, the puzzle game is on an other layer with, parallax and scale rate set to 0. So a UI follows the player but the problem is when I'm showing it in the game the mouse and all the controls are totally off... I now the thing with the mouse absolute and all that with different layers according to parallax, is there a fix?? :(

  • The tutorial randomizes the tiles by literally setting them to random values. To make the puzzle always solvable you’d want to start with the solved state and have it do say 100 random moves, but I guess that’s a different problem to solve.

    Yeah okay, will try playing around with some ideas I have just been sketching down... But thanks for the answer.

  • cesisco

    Maybe a stupid question, but have been playing some games now and some seems impossible to solve is there a way to minimize that risk or remove it totally ?😅

  • Hi, you can achieve this in a more dynamic way, such as storing pieces position in an array and track that, or checking their positions in relation to others. However, you can always hard code it like this:

    Assign an instance variable called 'id' to the pieces (ranging from 1 to 8 in order) and check the X position of the last piece (with id 8).

    Thx! a lot Cesisco. Just implemented it into the game, and It works good.. Still needs some more testing on it. But thanks again

  • Try Construct 3

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

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

    I stumbled upon a nut I cannot crack used far too long yesterday and really can't think of any more solution for this, I hope someone in here can help...

    Have been trying to make a Sliding Puzzle, following this tutorial.

    https://www.youtube.com/watch?v=uk2B1ja9mVc&ab_channel=GameDesignwithReilly

    Wanted to make some changes to it myself to match what I wanted to use, but the problem is this, when playing the game is completes when the numbers is in the right order 0 to 7 in this case.

    I want them to stand in line, and not with the space between them, all these pictures are being completed because the Frames are in the correct order.

    The code to check for completion are this:

  • Hello all!

    I really got a nasty problem, that I don't seem to find a way around.

    I got my player sprite, and one arm that is a sprite for itself, but when I mirror it's like there comes this 1px gab between the two sprites, have tried to both use the pin behavior and the set position to object and used a image point that is at the same px on all the animations.

    Hope someone can help me fix it.

    also have been trying pixelrounding and double checking the imagepoints

  • Nice one. Gonna try that right away thanks for the help with decoding the logfile.

  • Hello all!

    Im trying to export my app to and android signed bundle already done it about 10 times for this app never had a problem before, but now I get a error with a log.. have been seaching on the forum for help but nothing have been helping yet.

    I use construct 3 version: r285.3 and use plugins from "construct master collection" the version are 33.0.

    Log:

    Error: Checking Java JDK and Android SDK versions

    ANDROID_SDK_ROOT=~~/androidSDK (recommended setting)

    ANDROID_HOME=~~/androidSDK (DEPRECATED)

    Using Android SDK: ~~/androidSDK

    The project name 'Wheel Of Colors' contains at least one of the following characters: [ , /, \, :, <, >, ", ?, *, |]. This has been deprecated and is scheduled to be removed in Gradle 5.0. Set the 'rootProject.name' or adjust the 'include' statement (see https:/~~/org.gradle.api.initialization.Settings.html#org.gradle.api.initialization.Settings:include(java.lang.String[]) for more details).

    at cdv_gradle_name_c8usth3ws55ctmqyomahterqj.run(~~/cdv-gradle-name.gradle:2)

    (Run with --stacktrace to get the full stack trace of this deprecation warning.)

    :wrapper

    BUILD SUCCESSFUL in 0s

    1 actionable task: 1 executed

    Subproject Path: CordovaLib

    Subproject Path: app

    Configure project :app

    WARNING:: Using flatDir should be avoided because it doesn't support any meta-data formats.

    Task :app:preBuild UP-TO-DATE

    Task :app:preReleaseBuild UP-TO-DATE

    Task :app:writeReleaseApplicationId

    Task :app:analyticsRecordingRelease

    Task :CordovaLib:preBuild UP-TO-DATE

    Task :CordovaLib:preReleaseBuild UP-TO-DATE

    Task :CordovaLib:packageReleaseRenderscript NO-SOURCE

    Task :app:compileReleaseRenderscript NO-SOURCE

    Task :app:generateReleaseResValues

    Task :app:generateReleaseResources

    Task :CordovaLib:compileReleaseRenderscript

    Task :CordovaLib:generateReleaseResValues

    Task :CordovaLib:generateReleaseResources

    Task :CordovaLib:packageReleaseResources

    Task :app:createReleaseCompatibleScreenManifests

    Task :app:extractDeepLinksRelease

    Task :CordovaLib:extractDeepLinksRelease

    Task :CordovaLib:processReleaseManifest

    Task :app:processReleaseMainManifest

    Task :app:processReleaseManifest

    Task :app:processApplicationManifestReleaseForBundle

    Task :CordovaLib:compileReleaseLibraryResources

    Task :CordovaLib:compileReleaseAidl NO-SOURCE

    Task :CordovaLib:generateReleaseBuildConfig

    Task :CordovaLib:parseReleaseLocalResources

    Task :CordovaLib:generateReleaseRFile

    Task :CordovaLib:javaPreCompileRelease

    Task :CordovaLib:compileReleaseJavaWithJavac

    Task :CordovaLib:bundleLibRuntimeToJarRelease

    Task :app:checkReleaseDuplicateClasses

    Task :app:compileReleaseAidl NO-SOURCE

    Task :app:generateReleaseBuildConfig

    Task :app:javaPreCompileRelease

    Task :CordovaLib:writeReleaseAarMetadata

    Task :app:checkReleaseAarMetadata FAILED

    Task :app:mergeReleaseResources

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

    You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

    See https:/~~/command_line_interface.html#sec:command_line_warnings

    26 actionable tasks: 26 executed

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':app:checkReleaseAarMetadata'.

    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction

    The minCompileSdk (31) specified in a

    dependency's AAR metadata (~~/aar-metadata.properties)

    is greater than this module's compileSdkVersion (android-30).

    Dependency: androidx.work:work-runtime:2.7.0.

    AAR metadata file: ~~/aar-metadata.properties.

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    * Get more help at https:/~~/help.gradle.org

    BUILD FAILED in 4s

    Command failed with exit code 1: ~~/gradlew :app:bundleRelease -b ~~/build.gradle

    Hope someone can help me.

    Will send more information if needed.

YianPanda's avatar

YianPanda

Member since 3 Feb, 2015

None one is following YianPanda yet!

Connect with YianPanda

Trophy Case

  • 9-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies