immadisairaj / gyro_maze

A simple maze game played using gyro sensors.
BSD 3-Clause "New" or "Revised" License
13 stars 0 forks source link

Create Finish to return another page #1

Closed Eflay closed 1 year ago

Eflay commented 1 year ago

Hello,

Firstly, thanks a lot for your game. I have one question :

Is it possible to turn over a new page when we have reached the end of the maze ?

immadisairaj commented 1 year ago

Hello @Eflay. I am sorry, I missed the notification.

Currently the application is only in the beginning stage. So, there is only one maze to play with. But, once it is refined free, we can have something like levels or other mazes for free play?

If you have anything, please feel free to re open the issue. Also, I am open for any contributions.

Thank you.

Eflay commented 1 year ago

Hello,

Don't worry, we have successfully implemented the feature.

Let me know, if you want the code.

immadisairaj commented 1 year ago

Don't worry, we have successfully implemented the feature.

Wow. That is great..

Let me know, if you want the code.

Can you please open a PR for it? Thank you..

Eflay commented 1 year ago

Well, in ball.dart, we just need to add this condition :

if(other.type == EntryExit.exit){ //code }

In the onCollision function, after the first condition :

if(other is Wall){ }

immadisairaj commented 1 year ago

Thank you..

Please don't forget to add this repository as source and tag me when sharing anywhere.. It would mean so much to me.. 🙂

Eflay commented 1 year ago

Yes for sure don't worry