Mar 4, 2017 Replies: 11 hi i am working on a nice mini game "Paper Paratroopers" I am almost finished with the ios version. it is not easy to make games for ios and Gameview is still hard to understand for me but i use gameview for playing sound and thats much better the using mediaplayer! a short video (video was recorded with reflector and it seems like the sound was not recorded right!. there is a small delay between sound and the game.): Link: https://itunes.apple.com/us/app/paper-paratroopers/id1211448298?ls=1&mt=8 Last edited: Mar 9, 2017 Click to expand...
hi i am working on a nice mini game "Paper Paratroopers" I am almost finished with the ios version. it is not easy to make games for ios and Gameview is still hard to understand for me but i use gameview for playing sound and thats much better the using mediaplayer! a short video (video was recorded with reflector and it seems like the sound was not recorded right!. there is a small delay between sound and the game.): Link: https://itunes.apple.com/us/app/paper-paratroopers/id1211448298?ls=1&mt=8
ilan Expert Licensed User Longtime User Mar 5, 2017 #3 LucaMs said: Simple and nice Click to expand... Thank you
ilan Expert Licensed User Longtime User Mar 9, 2017 #5 app has been approved. link has been added in the first Post.
ilan Expert Licensed User Longtime User Mar 9, 2017 #6 btw i have included 2 modes. - Classic (like in the 80s) - Paper (as in the video in post #1) to unlock classic mode you need to reach a Hi-Score of 300 first. (should not be that hard) please try the game and tell me if it runs smooth. i have tried it on my iphone 5s and it runs smooth but on my ipad 2 it runs a little bit slow when i shoot a lot bullets. but the ipad 2 is very old so i guess on iphone 5s and up it will run smooth and most people have those devices.
btw i have included 2 modes. - Classic (like in the 80s) - Paper (as in the video in post #1) to unlock classic mode you need to reach a Hi-Score of 300 first. (should not be that hard) please try the game and tell me if it runs smooth. i have tried it on my iphone 5s and it runs smooth but on my ipad 2 it runs a little bit slow when i shoot a lot bullets. but the ipad 2 is very old so i guess on iphone 5s and up it will run smooth and most people have those devices.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2017 #7 Tested on iPhone 6. Overall it runs smooth. Are you drawing the whole screen every cycle?
ilan Expert Licensed User Longtime User Mar 9, 2017 #8 Erel said: Tested on iPhone 6. Overall it runs smooth. Are you drawing the whole screen every cycle? Click to expand... thanx erel. yes i draw every cycle the whole screen. i wanted to use Gameview but i could not understand how it works. i know that adding imageviews with bitmaps and move them around will work much faster but this is not very comfortable. i would really like to see this game with gameview. when you are used to libgdx then it is hard to use a different logic. libgdx logic is very simple: 1. you intialize all sprites and all your types.. (create the game) 2. then you draw everything where ever you want in the render event. you also check everything inside like collisions... so if gameview could just create bitmaps and then draw them it would be very simple to use it but the asteroid example is very complicated for me.
Erel said: Tested on iPhone 6. Overall it runs smooth. Are you drawing the whole screen every cycle? Click to expand... thanx erel. yes i draw every cycle the whole screen. i wanted to use Gameview but i could not understand how it works. i know that adding imageviews with bitmaps and move them around will work much faster but this is not very comfortable. i would really like to see this game with gameview. when you are used to libgdx then it is hard to use a different logic. libgdx logic is very simple: 1. you intialize all sprites and all your types.. (create the game) 2. then you draw everything where ever you want in the render event. you also check everything inside like collisions... so if gameview could just create bitmaps and then draw them it would be very simple to use it but the asteroid example is very complicated for me.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2017 #9 Start with the attached project which only implements the shooting drawing. Do you find it to be faster? Attachments Paratroopers.zip Paratroopers.zip 33.4 KB · Views: 696
Start with the attached project which only implements the shooting drawing. Do you find it to be faster?
ilan Expert Licensed User Longtime User Mar 9, 2017 #10 Thanx erel i will try it when i get home. I have no possibility to test your example right now.
ilan Expert Licensed User Longtime User Mar 9, 2017 #11 Erel said: Do you find it to be faster? Click to expand... ok i have just tested your example erel and in my opinion it runs slow. the number on the left/top shows me 15 so if this is the frame rate then its to low. we should get at least 40 frames per second and ideal would be 60. i see that the maintimer interval is set to 15 so that should be 60 frames per second and i dont understand why it is so slow. EDIT: i test it in release mode on simulator.
Erel said: Do you find it to be faster? Click to expand... ok i have just tested your example erel and in my opinion it runs slow. the number on the left/top shows me 15 so if this is the frame rate then its to low. we should get at least 40 frames per second and ideal would be 60. i see that the maintimer interval is set to 15 so that should be 60 frames per second and i dont understand why it is so slow. EDIT: i test it in release mode on simulator.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2017 #12 You should test it in release mode on a real device. This is the only correct way to test performance.
You should test it in release mode on a real device. This is the only correct way to test performance.