Share My Creation Orchard Crush (LibGDX) Game

Discussion in 'Share Your Creations' started by andymc, Aug 20, 2014.

  1. andymc

    andymc Well-Known Member Licensed User

    2nd September Update:
    Okay, because I love you guys, have the source code!!!
    https://www.dropbox.com/s/r7ycca71klqf645/OrchardCrush_public.zip?dl=0

    You'll need the libGDX library to compile it.

    Have fun and sorry for the messy code in places. It could probably be made more efficient.

    UPDATE:

    This has now been loaded onto the Google Play Store:

    https://play.google.com/store/apps/details?id=uk.co.coffeeinducedgames.orchardcrush



    I've updated the graphics and fixed a few bugs and also added a couple of other tweaks. I'm planning to add a Google play service high score board and acheivements in the future.
     

    Attached Files:

    Last edited: May 11, 2018
  2. ilan

    ilan Expert Licensed User

    looks very nice but i cannot install it, i get an error says i have an other app with the same signature ...
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    This will happen if you installed a previous version of this app that was signed with a different key. You should manually uninstall it first.
     
  4. andymc

    andymc Well-Known Member Licensed User

    Do I need to generate a new key for each app I make? I don't get this error when I install it on my devices.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    No. It is better to use the same key.

    I guess that ilan had an app with the same package name signed with a different key.
     
    Peter Simpson likes this.
  6. ilan

    ilan Expert Licensed User

    yes maybe i have used your cloneybird or invaders project and installed it to my phone with my key...
    but why dont u use an other packagename for your new app.. did you use invaders project for this app and forgett to change the package name?
     
    Peter Simpson likes this.
  7. andymc

    andymc Well-Known Member Licensed User

    I have forgotten to change the package name. thanks for pointing that out.

    oh dear! I left the package name as b4a.example !!!!!!
     
    Peter Simpson and Erel like this.
  8. Douglas Farias

    Douglas Farias Expert Licensed User

    @andymc nice work again
    The B4A GAME MAN XD
     
  9. andymc

    andymc Well-Known Member Licensed User

    susu likes this.
  10. Himred

    Himred Member Licensed User

    Nice game !

    Two suggestions:
    1: When you get a phone call while playing, when you finish your call the timer is 0, you should stop the timer on pause and restart it on resume
    2: A tiny tutorial would help, it took me 30 seconds to understand, thats few, but maybe some users will uninstall the game without a tutorial.

    5 stars from me

    Himred
     
  11. Douglas Farias

    Douglas Farias Expert Licensed User

    @andymc how can i make to fix the lag on menu?
    for example, the game start perfect i see the many fruits flying, but later 1 min 2min the menu is very very lag
    the fruits is very very slow *-*
     
    Last edited: Sep 2, 2014
  12. ilan

    ilan Expert Licensed User

    thanx andymc, great to learn from you...
     
  13. andymc

    andymc Well-Known Member Licensed User

    Looks like a memory leak. The fruits aren't removed from the list on the title screen. you can fix it by adding the lines:
    For x = 0 to fruitlist.Size-1
    Dim fruit as typFruit
    fruit.intitialize
    fruit = fruitlist.Get(x)
    if fruit.y < -100 then
    fruitlist.RemoveAt(x)
    exit
    end if
    next

    to the region that draws the title screen, there's a region in there called background fruits.
     
    Douglas Farias likes this.
  14. abhishek007p

    abhishek007p Active Member Licensed User

    nice.... but i hope the code is not that complicated for learning it.. haha.. thanks,
     
  15. ivan.tellez

    ivan.tellez Active Member Licensed User

    Hi, do you use a tutorial for this code?

    Jus curious about the commented lines:

    Code:
    'If mouse clicked on already selected area Then clear Fruits away AND increase score
    Thanks for the great work
     
    Last edited: Oct 31, 2014
  16. andymc

    andymc Well-Known Member Licensed User

    Hi,
    no I originally wrote the game in a language called Blitz Basic on PC, then I ported it across to B4A, that's why the comments appear to be for a PC game, talking about mice and clicking.
     
    Peter Simpson likes this.
  17. omarruben

    omarruben Member Licensed User

    can you please re-post the code, the link is not working anymore, thank you
     
  18. andymc

    andymc Well-Known Member Licensed User

    LucaMs likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice