Your build failed due to an error in the DX stage

.....If "tahta" does not move, Make Canvas1 the same size as "tahta" and set "tahta" as it's background image.

In your crocodile, you are using logic Blocks where ideally maths Blocks should be used - but we want to replace the crocodile with something more efficient that requires less blocks.

Unfortunately, without your description of how this game should work, we can't offer a fix.

There are so many issues with Screen "oynanan" GUI, but to fix them means that your XY ordinates would need to be modified. For example, Canvas1 width is set to Fill Parent. That means the X ordinates will be different on different phones! Therefore the Canvas should be a fixed size, and "oyunfoto" should be the Canvas background image.

Essentially, when your code wants to move "at_bir" or "kurt_bir", you have a number of If-else calls to discover where it is now - this could be stored in a simple variable and thus we could eliminate a lot of code.

It would seem that often as not, each move of "at_bir" or "kurt_bir" is by the same distance, so the move-to ordinates could be calculated on-the-fly instead of being hard coded, which would eliminate even more "If-else" code.

That would leave "If -else" code to only be required if "at_bir" or "kurt_bir" got to a position where the next move would involve a change of direction.

The images for "at_bir" (600 x 500) and "kurt_bir" (1024 x 848) should be reduced to the size the App requires: 20 x 20. Details like this determine whether or not the App will run.

Oyun

Does the Forum System let you open a new Topic? If not, looks like we have to wait until tomorrow but hopefully you understand my posts. Please go through each of my posts and answer the questions.

Here is another question - when have you got to hand-in your Project?

Hi Oyun

MIT have increased the number of Posts you can write :grin:

You may try this one if it works as it should..

proje2.aia (416.1 KB)

1 Like

Hi Oyun

Boban's edit of your Project builds and runs here, hopefully it will for you too.

Note: you must fix the Screen Management.

If the School is going to run your App on a different phone, you must fix the Canvas size issue (see my previous posts).

Here are your images, Optimised:
OptimisedImages.txt (99.1 KB)

Rename this file from OptimisedImages.txt to OptimisedImages.zip

1 Like

Thank you very much i trying this

Hello, Boban Thank you very nice and it works without any problems, but in the "oynanan" screen "kurt_1" or "at_1" should come to the "G" point on the "tahta", how can I do all the possibilities ..., whoever gets to the first "G" point wins ,And Chris, I just need to shoot a video of the app and send it to my teacher.

Boban can you help me again...
I have to do all the possibilities and when I tested what you did, some parts were wrong in the "oynanan" screen

Try this one proje3.aia (413.0 KB)

its not working to for my homework but thanks ı take my video before this not problem

see you next time

Good Luck Oyun! :grin: