Code

Discussion on Ultra Squares - Highly Addictive Game Template

Discussion on Ultra Squares - Highly Addictive Game Template

By
Cart 97 sales

50 comments found.

I’m trying to test on Kindle Fire but when I go to open my live test version, I get a message saying the app closed unexpectedly. Can you help? The app works on virtual emulator.

Kindel Fire? Never test it on it, but it does run android??

First of all, great app, the gameplay is fun and fast-paced!

Sorry for all the comments, but I’m new to this so I do have several questions, and I thought I would try to ask them all in one comment instead of several replies :-)

Like I asked above, is there any way you can clarify the names of the assets with what is actually show in-game? I’m not sure what the labels such as “square”, “hero”, etc refer to.

Can the central square be changed to another graphic in the same way that the “enemy” square can? Where is this file located?

How do you change the rotating square on the menu screen?

Can the backgrounds be changed (besides changing the colors)?

It seems that when I tried to change the asset named “square” it caused me to have a blank white screen. I tried to change back to the original graphic, but I didn’t have a restore point so I had to guess. Now all the squares and rectangle buttons are off-center with a kind of drop shadow behind them. How can I fix this?

What exactly is the function of the random gold dots that fall? And what is the function of the in-app purchase of gold squares? Are they needed for the player to continue the game from a certain point?

Is there any way to have the option to add our own music, with an option to mute sounds? Some fast-paced music would really help set the mood of this game.

I did figure out how to resize the enemy, but you may want to add it to your tutorial for others…

Again, great game, and thanks for all your help!!!

I am having some trouble when I try to test on desktop:

[code removed]

Process finished with exit code 0

Can you help?

Hi, it seems that you have done something wrong. Go to the desktop configuration and set it like is on the tutorials, with the working directory like is set there. It is probably that what is causing hte problem.

Yes, this worked, thanks for your help! Also, do you have a guide as to which asset name corresponds to what graphic in the game? Dot, square, hero, enemie, etc?...

Also, I’d like to resize the falling squares?

Keep getting this error after changing the package name and trying to run on my device:

Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.madtriangle.ultrasquares/com.cantonecreations.squarefall.AndroidLauncher } Error type 3 Error: Activity class {com.madtriangle.ultrasquares/com.cantonecreations.squarefall.AndroidLauncher} does not exist.

Go to android>build.gradle and change the package name there.

without changing any of the settings for this game, when i try and run it in the AVD i get an error “Unfortunately, Ultra Squares has stopped.”. how do i fix this?

You have probably change the package name wrong. Add me to skype: gikdew

1) Can we get a Help link on the home screen which provides instructions to play the game? 2) I have noticed that in some devices the game works perfectly while in others there is a delay in changing the tile’s color once you tap – what can be the issue? One of such a device in question is a fresh new device with 2GB RAM and 1.5 GHz with a great touch response and no other games or downloaded apps installed.

Hi, When clicked on Leaderboards and Achievements buttons, it returns error – “Failed to connect to the internet”, though my device is already connected. Please suggest.

Send me a screenshot

mail sent to madtriangl3@gmail.com. please check and let me know the fix.

Error:Gradle: A problem occurred configuring root project ‘Ultra Squares’. > Could not resolve all dependencies for configuration ’:classpath’. > Could not download artifact ‘javawriter.jar (com.squareup:javawriter:2.5.0)’ > Could not GET ‘https://repo1.maven.org/maven2/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar'. > repo1.maven.org

Do you have JDK installed?

Thanks for your response, I got it resolved on its own now.

Great game so far having fun with it just a few questions.

1. How do I change the color of the background for the square coming down, like when I press on the bottom to change it as its coming down to match the square cant find that value anywhere in the config.

2. How do I change the splash screen when it is loading?

Thank you!

The splash screen logo is inside android>assets>logo.png

Hi can you help me to reskin your app with eclipse if i bought it ?

Yes you can. But it is easier in Android Studio.

okay thank you

Hello gikdew, The Game is at its best. It has a great UI with flat design that isn’t generally expected in Arcade games; Really Thanks :bigsmile: .

I’m ready to buy it if you are adding an option for game sounds along with the user customisation feature to choose the sound and set the volume :) After all every game brings boredom to the people when it doesn’t have a soothing music playing in the background :(

Music is not integrated at the moment, but I can add it for you cause it is like 2 lines of code that I already have in other games, user customization it is not that easy, but I will see your plan for sure.

As you can see in my game Circle Pong has music too

Faced some problems! (I want just to rename the game, replace your MadTriangle Logo to mine, delete the InApp Pursache button, change the icon and I need help with the Leaderboard and achievement things..)

In what folder i can change it? And what about the Notification Feature how it works?

Have you added me to skype?? The folder is Android > Assets, there you have all the images that you can change whenever you want.

Notification feature works with Pushbots, create an account there and follow their steps if you want custom notifications to pop up to engage your users.

Yes I added you..

Hi , I have a question. I would like to change the shape but when I try to open squareaura it doesn’t open it says this one “can not complete your request because the module interface to the file can not process the document”, but when I was writing this I was also looking to anything that will solve it so I tryed irfanview which have succesful opened the file if I am right. But is the image a white square like the normal square.png? So I know I am right and can save that as a new file with irfanview so it opens with photoshop. Thank you in advance for your answer and thank you for your great work :)

Can you please rate me??? http://codecanyon.net/downloads I appreciate it!

Hi, I have already rated you :). but now i was configuring my app and then I moved the com.android folder because my package is not a com because I have a dutch domain. But when I did that It no longer opens on the emulator it crashes instantly. These are the errors I am facing: 03-28 22:18:07.570 2155-2155/? E/AndroidRuntime? FATAL EXCEPTION: main Process: nl.example.examplegame, PID: 2155 java.lang.RuntimeException: Unable to start activity ComponentInfo{nl.example.examplegame/nl.example.examplegame.AndroidLauncher}: java.lang.NullPointerException: Attempt to invoke interface method ‘boolean java.util.List.isEmpty()’ on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) at android.app.ActivityThread.access$800(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) Caused by: java.lang.NullPointerException: Attempt to invoke interface method ‘boolean java.util.List.isEmpty()’ on a null object reference at nl.meekit.catchthehexagon.util.IabHelper.startSetup(IabHelper.java:265) at nl.meekit.catchthehexagon.AndroidLauncher.loadIAPstuff(AndroidLauncher.java:141) at nl.meekit.catchthehexagon.AndroidLauncher.onCreate(AndroidLauncher.java:67) at android.app.Activity.performCreate(Activity.java:5933) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)             at android.app.ActivityThread.access$800(ActivityThread.java:144)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:135)             at android.app.ActivityThread.main(ActivityThread.java:5221)             at java.lang.reflect.Method.invoke(Native Method)             at java.lang.reflect.Method.invoke(Method.java:372)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

What should I do should I copy the folder again from the original source to test if it works or is it easily fixable. It says about a null object. Thank you in advance for your response.

YEs do that, dont chagne the android folder from there. I have never tested that but I wouldn’t recommend it…

i have few problem :( my game score board is notworking and about coins buying is not working :(

E/IabHelper? In-app billing error: Illegal state for operation (launchPurchaseFlow): IAB helper is not set up. - beginning of crash 03-06 01:35:13.856 3028-3186/com.lucky.crazysquare E/AndroidRuntime? FATAL EXCEPTION: GLThread 252 Process: com.lucky.crazysquare, PID: 3028 java.lang.IllegalStateException: IAB helper is not set up. Can’t perform operation: launchPurchaseFlow at com.lucky.crazysquare.util.IabHelper.checkSetupDone(IabHelper.java:795) at com.lucky.crazysquare.util.IabHelper.launchPurchaseFlow(IabHelper.java:374) at com.lucky.crazysquare.util.IabHelper.launchPurchaseFlow(IabHelper.java:339) at com.lucky.crazysquare.AndroidLauncher.IAPClick(AndroidLauncher.java:557) at helpers.InputHandler.checkButonsUp(InputHandler.java:140) at helpers.InputHandler.touchUp(InputHandler.java:107) at com.badlogic.gdx.backends.android.AndroidInput.processEvents(AndroidInput.java:360) at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:420) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)

Ummm, did you touch anything in android>src>AndroidLauncher.java??? Are you using AndroidStudio, add me to skype:gikdew and Let me see your project with teamviewer, you should be doing something wrong :(

I have a problem with in app billing. When I click Get Gold Squares -> “Error: Authentication is required. you need to sign into your Google Account”.

You have to upload the app to google play on production. Then wait, this night I published my new game with same error, and it took all the night but now I don’t have that error. Publish and Wait

I don’t want to enable in app billing and have set it as false, now the get squares button acts as a share button. Is there a way to get rid of that button all together? Thanks

The text is in Menu.java

That did the trick, thanks

How do you change the background?

I’m always there…

Hey can I change the amount of gold squares they get for a dollar? Also can you send me those two lines of code for music?

The ammount of big squares is in AndroidLauncher.java, find .addBonusNumber(100)

i cant get android studio to work. Getting alot errors about SDK and gradle stuff, would you mind making a eclipe project ?

Teamviewer?

Hi. This is my first time using android studio. I’m getting some errors. Can I get your email so I can send u the code. Thanks

I could post error msg here but its too long so I rather email it. Thanks.

Install Teamviewer, add me to skype: gikdew and I will solve it for you!

I was able to solve the problems. Thanks for willing to help out.

Hey,

How to import this into eclipse ?. Never used android studio

can you help me in eclise , i am ready to do with teamviewer , i also need more chnage in game , please help in in eclipse

Have you added me to skype? Why not Android Studio?

yes i added

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey