Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mradebe_eti

Pages: [1]
1
Support / Help with High Score System
« on: October 29, 2013, 03:09:24 am »
Hi,

I need help setting up a high score system. I only want to save the current best score and time for each stage. These would need to show on the results screen as well as the high score screen.

I have attached screenshots where they would need to be displayed.

Any assistance is greatly appreciated.

Thanks.

2
Support / Text Alignment Issue
« on: October 29, 2013, 03:02:02 am »
Hi,

I've got a text alignment issue. The scene's in Unity show the screens with the correct alignment, but whenever I test them on the iPhone, the text is always incorrect. I have attached 2 screenshots with the alignment issue.

Is this a 2D Toolkit version problem? What can I do to fix the issue? And is there any code I can use to fix all the affected screens, instead of manually fixing each one?

Any assistance is greatly appreciated.

Thanks.

3
Support / Help with Level Unlock System
« on: October 08, 2013, 09:24:10 pm »
Hi,

I need help with creating a level unlock scene with 2D Toolkit. I tried following the tutorial on the thread below, but it was not very helpful to me.

http://forum.unity3d.com/threads/146955-Unity-Level-Unlocking-System-Using-PlayerPrefs

I have attached a screenshot of my scene.

I have 9 levels. The game starts with 3 unlocked levels (shown as blinking animated sprites). After completing the 3 levels (in any order) I need the levels to change (now shown as static sprites with a blue sphere) and then unlock 3 more levels which change color when completed, before unlocking the final 3 levels and completing the game.

I have created all the sprites. Do I need to layer the different sprites on top of each other like in the above tutorial? Should I have a separate script for each level or one script which controls everything?

Any assistance with this is appreciated.

Thanks.



4
Hi,

I built a 2D Toolkit Unity project for Android on my PC and then I copied the project onto a Mac (with the intention of switching it to an iOS project). When I open the project through Unity nothing shows up on both my Scene and Game windows, even though all the files are present.

What is the cause of this issue? Do I need to purchase 2D Toolkit for the Mac machine for me to view it? What should I do to fix it?

Thanks.

5
Support / Help with Lives System
« on: September 18, 2013, 08:31:57 pm »
Hi,

I need some help with getting my script to work for my lives system. I have already created 4 sprites showing all 3 lives to 0 lives. I need the player to lose a life if they score below the required amount of points (1500pts) or if they run out of time. This is what I have so far...can anyone help?

public class Lives : MonoBehaviour {

   public int startingLives = 3;
   public static int curLives;
   
   // Use this for initialization
   void Start () {
      curLives = startingLives;
   }
   
   void OnLevelWasLoaded(int level) {

         if (level == 08)

            if (Score.score < 1500) {
 
                  curLives--;
         }
         else if (curLives < 0) {
 
                  print ("Game Over!");
               guiText.text = "Game Over!" + curLives.ToString();
               guiText.material.color = Color.black;
            }
   
   }
}

Any help is appreciated.

Thanks :)

6
Support / Time Bar in 2D Toolkit
« on: August 20, 2013, 07:30:40 pm »
Hello,

I was wondering how I would go about making a decreasing time bar with 2d toolkit? I have already created a background and foreground image for the time bar.

Thanks!

7
Support / Blinking Button
« on: August 19, 2013, 09:32:29 pm »
Hi,

I'm new to Unity and 2D Toolkit. I want to create a button that blinks between 2 different color states. I  have already created the two sprites I would use for the buttons.

What do I need to do?

Thanks.

Pages: [1]