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 - 8BitGuy

Pages: [1]
1
Showcase / Kill-Loot-Retro
« on: March 30, 2014, 04:16:34 pm »
Hello, I just released my first game using 2d toolkit.
The game is a dungeon crowler single and multiplayer (multiplayer with voice chat), is free for android.
You can get it here (free as I said)
 https://play.google.com/store/apps/details?id=kill.loot.retro

In the future I'm adding more enemies and more things to the game.

Thanks for your atention and enjoy!!

2
Support / Re: Lightning on android devices
« on: February 25, 2014, 05:19:07 pm »
Mmmhh thanks for your answer, it isn't possible to make dicing only if the device can't stand forward lightning ,it is?

And can you give me a little beginning guide to build my own lightning system?

Thanks.

3
Support / Lightning on android devices
« on: February 25, 2014, 12:57:15 pm »
Hello unikron, I've finally made an alpha that I published for my testers in google play and there is a problem I can't solve.

In my project I use lightning and on my android device it works very well, without problem but two persons that tested the alpha said that they couldn't see anything unless they quit the lightning settings.

I'm afraid that they GPU can't stand forward lightning and they use vertex lit, and with vertex lit you can't see my sprites (I don't know why but I imagine that it is because it is a sprite and non a geommetry or something like that).

So my question is if I can do something to that android devices could see the ligthnings or if it is impossible.

Here are some screenshots of how it should be (and is on my android):



Thanks a lot.

4
Support / Re: MultiPlayerGame
« on: February 22, 2014, 02:29:22 pm »
Resolved, I attached a simple script that pick the sprite id of the sprite script and if it changes it sends by RPC and set it.
I drop here the code if someone find it useful:


Code: [Select]
using UnityEngine;
using System.Collections;

public class SpriteRefresh : MonoBehaviour {
private tk2dSprite thisSprite;
private int idusingSprite;
// Use this for initialization
void Start () {
thisSprite=GetComponent<tk2dSprite>();
idusingSprite=thisSprite.spriteId;
}

// Update is called once per frame
void Update () {
if(thisSprite.spriteId != idusingSprite){
networkView.RPC("ChangeSprite",RPCMode.Others,idusingSprite);
idusingSprite=thisSprite.spriteId;
}
}

[RPC]
void ChangeSprite(int idSprite){
thisSprite.SetSprite(idSprite);
idusingSprite=thisSprite.spriteId;
}

}

Thanks unikron, I was new to networking but it was so easy I feel stupid asking these things -_-

5
Support / MultiPlayerGame
« on: February 21, 2014, 04:39:19 pm »
Hello Unikron, I've started a multiplayer mode in my game, and it all works fine but one thing, the sprites doesn't change.

I mean, if I use an animation with a sprite in the server the client see the same sprite, not the animation.

is there a way to refresh the sprite like networkview?

thanks a lot.

6
Support / Re: Problems with lights
« on: February 10, 2014, 03:26:34 pm »
The problem is solved, I have to change sprite by sprite to double sided as you said.

THANKS A LOT UNIKRON!!!

7
Support / Re: Problems with lights
« on: February 10, 2014, 02:50:06 pm »
hello I tried with different lights and positions, the player position.z is 0, a spot light at position z =  -7.3 it works on the player sprite rotation.y =0 but not at player sprite rotation.y=180

player rotation.y=0


player rotation.y=180


and the same with a point light at z = -2.5




8
Support / Re: Problems with lights
« on: February 09, 2014, 02:58:04 pm »
Thanks for your reply unikron.

Yes, I have turned normals and tangents

9
Support / Problems with lights
« on: February 08, 2014, 04:36:04 pm »
Hello, I have bought 2dtoolkit a few months ago and I am amazed with this incredible toolkit.

Now, I'm having a little problem, it is the first time I use lights with 2d toolkit and it works perfectly but in one case, if the sprite rotation.y =180 the sprite inmediatly has no light, I tried all the materials 2dtoolkit include in the version 2.1 final + hotfix 1.

I'm asking if there is a way to light a sprite if its rotation.y is 180 or 0.

thanks for your support.

keep doing a good job!!

Pages: [1]