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.


Messages - pascal_mueller@gmx.net

Pages: [1]
1
Support / Re: iOS Setup
« on: December 21, 2013, 01:44:01 am »
Cool thx for the answer.

About the sprite sheets. Lets say I have like 8 different animations for my main character ( jumping, running.....). Each Animation consists of 8 frames. My character has a resolution of 450x550.
If I pack all my sprites in one atlas, I easily get very big atlases. From my understanding unity renders only one sprite per frame from this atlas (e.g. mainCharacterRunning0001), but loads the whole atlas. Doesn't that end up using more memory than having a single small sprite for each frame of the animation?
It makes perfect sense to me to use one atlas for a lot of textures of different objects, when they all appaer at the same time in the scene.

Cheers Pascal the confused

2
Support / iOS Setup
« on: December 19, 2013, 03:39:39 am »
Hey,

first of all I have to say I am a great fan of the 2d Toolkit. You have done an awesome job so far. I used 2dToolkit with my first iOs project and I run into a couple of memory problems. I read quite a few posts and articles about that and there seem quite a lot of things to keep in mind when setting up everything with your game. I read a lot of posts from people with the same problem, so is there any tutorial that deals with getting a good performance with 2d games on iOs?
So before I setup something wrong for my second game I would like to get some feedback from the professionals. 

I am working on a 2d Jump and Run, like the old Mario games. The game should be able to play on all iOs devices ( Including iPhone 3). All textures are hand drawn.

1. Camera Settings. I am thinking about which Resolution is optimal. The 2d Camera uses 960x 640 as Standart. Is there a special reason to it? We were thinking about a resolution of 1024x768, like the iPad? Does that lead to memory problems with the older devices, like Iphone 3?

2. Backgrounds. We got a lot of very huge textures for our Backgrounds. What would be the best way to deal with that? My Idea would be to split the backgrounds into multiple textures and pack them into different atlases? About the atlases in general, is it smarter to have one big atlas for one big background or split it into multiple smaller atlases?

3. Activating/ Deactivating gameobjects. I read that deactivating gameobjects with big textures ( like our backgrounds) should be deactivated when they are off the screen to save memory. I thought about a system of triggers which are placed at the screen borders and activates/ deactivates the textures. Is that a good solution or are there any better suggestions?

Are there any more pitfalls I shoud be aware of? Like I wrote in the beginning, from all the posts there are a lot of people struggeling with that, but I was still not able to find a good tutorial dealing with this?

Cheers Pascal

3
Support / Re: Collider not working
« on: November 08, 2013, 07:13:24 am »
Sorry. Attached the wrong pic.

4
Support / Collider not working
« on: November 08, 2013, 07:12:42 am »
Hey Guys,

I ran into a very strange problem. I am programming a 2d side scroller. I want that my player can only jump when he is on the ground. Unfortunatly the isGrounded variable from the Unity CharacterController is not working properly.
To solve this problem, I attached another collider at the feet of my character. This collider sets a variable on true when it collides with the floor. This is working great, but certain parts of the floor don't react with the trigger. When I pause the game, I can clearly see that the collider overlap. I attached a picture. The floorplane which is inside the red rectancle works perfectly, but for some strange reason the floor in the blue rectancle does not work with the collider. In the picture you can also see that the feet collider is inside the collider of the floor.
What am I doing wrong here? If you have any other ideas how to overcome this problem that my player is only able to jump when he stands on the floor.

Cheers Pascal

Pages: [1]