Skip to first unread message

Jacob Mellott

unread,
Nov 18, 2015, 11:51:18 AM11/18/15
to MIT App Inventor Forum
I am making a flappy bird app and I have my pillars and bird put in and programmed to move across the screen but when I connect and try to play the game, it doesn't do what it is supposed to do like just glitches in the corner and the bird goes invisible. I need help cause I need this project done. If you need anything to help me please tell me and I will give you it.

Italo

unread,
Nov 18, 2015, 11:53:39 AM11/18/15
to MIT App Inventor Forum
You are going to have to post your blocks, or even your aia for us to know why your app is not behaving like it should.

Jacob Mellott

unread,
Nov 18, 2015, 11:54:22 AM11/18/15
to MIT App Inventor Forum
Here is my aia file if you want to look at it.
Tad_App.aia

Italo

unread,
Nov 18, 2015, 12:20:43 PM11/18/15
to mitappinv...@googlegroups.com
The first thing you should do to make your app better is to size down the images you are using.
The file clouds-01, which I see is your background, is 2.16 mb and is 3504x2336 which is totally unnecessary to be that big.
The file content1.jpg is 5556x5556 1.82mb, again totally unnecessary to be that big.
The file TadFace.png (I guess that's the "bird") is 1080x1920 1mb. Guess what? TOO BIG.
Also, the red button image is duplicated (button.png and unnamed.png)

Start by reducing the images to what is really needed and then we will continue "debugging" your app.


Jacob Mellott

unread,
Nov 18, 2015, 12:47:39 PM11/18/15
to MIT App Inventor Forum
Could you possibly do this for me? Instead of the clouds, I am using the screenshot so it is only 462x521. I don't understand why this is affecting it

Italo

unread,
Nov 18, 2015, 1:26:37 PM11/18/15
to MIT App Inventor Forum
Is not the whole problem, but it's helping to make things slow and glitchy.
The main problem, will be in your blocks, for sure.

I'm sorry but I don't have the time to do the whole thing for you.
Use a software like Photoshop, or Gimp to reduce the images.
Delete the pictures you don't use in your assets folder.
After you reduced the images, visit tinypng.com and drag and drop your images you reduce them even more.



Jacob Mellott

unread,
Nov 18, 2015, 1:36:42 PM11/18/15
to MIT App Inventor Forum
Could you at least take a look at my blocks and see what might be the problem so I know where I should change stuff.

Jacob Mellott

unread,
Nov 18, 2015, 1:55:12 PM11/18/15
to MIT App Inventor Forum
Can you look now and see. I put the pictures in the tiny thing.
Tad_App-2.aia

Taifun

unread,
Nov 18, 2015, 2:24:04 PM11/18/15
to MIT App Inventor Forum
as Italo said, the first thing to do is to reduce the image sizes
then you should test your app, these tips can help  

Top 5 Tips: How to learn App Inventor


and: If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...

which means in your case post a screenshot of your relevant blocks...

To download the aia file, upload it to  App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         

Italo

unread,
Nov 18, 2015, 2:48:02 PM11/18/15
to MIT App Inventor Forum
Yes, it's not that I don't want to look at it right now. I really have to finish a couple of things before the day ends at my job. I will have time to look at your blocks later today. 
Sometimes I wish I was retired already ;-)

Jacob Mellott

unread,
Nov 18, 2015, 2:58:03 PM11/18/15
to MIT App Inventor Forum
Please look at it and I can post some of my block if that will make it easier

Jacob Mellott

unread,
Nov 18, 2015, 3:00:53 PM11/18/15
to MIT App Inventor Forum
Screen Shot 2015-11-18 at 1.59.47 PM.png
Screen Shot 2015-11-18 at 1.59.26 PM.png
Screen Shot 2015-11-18 at 1.59.34 PM.png
Screen Shot 2015-11-18 at 1.59.05 PM.png
Screen Shot 2015-11-18 at 1.59.41 PM.png
Screen Shot 2015-11-18 at 1.59.16 PM.png

Scott Ferguson

unread,
Nov 18, 2015, 8:43:48 PM11/18/15
to MIT App Inventor Forum
The 'when Tads_Face.Collided with' event block indicates that Tads_Face collided with one of the columns.
It doesn't matter which one so all you need in that event block block is one notifier and to set the score to 0.
You don't need the 'if' tests at all there.
I see that you have the bird falling but where do you raise it up?
It looks like it will just fall to the bottom of the Canvas.
You need to subtract from Tads_Face.Y when the player touches something to raise Tads_Face up.
---
sf



Jacob Mellott

unread,
Nov 19, 2015, 10:21:19 AM11/19/15
to MIT App Inventor Forum
Can you look at the blocks and try to help me cause if you look at the aia file, all it does is glitch it up

Jacob Mellott

unread,
Nov 19, 2015, 10:25:43 AM11/19/15
to MIT App Inventor Forum
Look at the block where the canvas is touched, that is when "tads face" moves up

Scott Ferguson

unread,
Nov 19, 2015, 8:46:17 PM11/19/15
to mitappinv...@googlegroups.com
I have made changes to get it to work.
I have reduced the size of the head which is why it did not display.
You need to reduce some of the other images or delete them.
Columns 1 and 2 are OK.

You need to get the score, best score to display the correct info.




---
sf
Tad_AppBugFixes.aia

Jacob Mellott

unread,
Nov 20, 2015, 2:06:41 PM11/20/15
to MIT App Inventor Forum
Thanks for all the help

Reply all
Reply to author
Forward
0 new messages