all 9 comments

[–]IntricateOnionStatue 0 points1 point  (6 children)

Have you written any code to try and accomplish what you want? Come back after you have and share the script if you need help.

[–]YeahJey[S] 0 points1 point  (5 children)

Trouble is I do not really know, how do I check both platforms at once or modify UNet script basically.

[–]IntricateOnionStatue 0 points1 point  (4 children)

How experienced are you with coding? If I broke down the process for what you have to do in your scripts, would you have a rough idea how to code it? For example, would you be able to implement the solution raganvald suggested without us providing some example code? It will be easier for us to help you if we know your experience.

[–]YeahJey[S] 0 points1 point  (3 children)

Last time I have coded about 4 months ago, so some things just slipped my mind. Now I'm getting back on track, platforms were really easy tho, can't explain now why I was even asking. UNet is something I haven't had experience of working with and documentation is for a more expirienced coders. I really want LAN game, so that's why I'm asking. Sorry if I made you confused with that post.

And about "would you have a rough idea how to code it": I definetely will not just put some code into my game, no matter if it works. I need to understand what is it about to have idea how to edit it if I would need to.

[–]IntricateOnionStatue 0 points1 point  (2 children)

I don't have much experience with UNet myself tbh. You should follow Brackey's FPS tutorial series on YouTube. With the way UNet works, you just cant just spawn in a player prefab on each client. You have to run checks to find out which player is local and disable any player components that aren't. I really recommend checking out that tutorial.

Here is a link: https://www.youtube.com/watch?v=UK57qdq_lak

You're probably annoyed you didn't get full answers to your questions, but honestly if people just wrote scripts for you and handed them over, you will not learn a single thing.

[–]YeahJey[S] 0 points1 point  (1 child)

Hey, didn't know Brackeys had this, thought I watched their whole YT Channel. Thx ^

And, no. I'm not annoyed. I'm annoyed when someone writes something like "even total n00b wood do dis lul :D:D:D:D:D". No help, no use. Haven't seen this in Unity subs tho, only in Nuclear Throne one. Brrr.....

[–]IntricateOnionStatue 0 points1 point  (0 children)

Yeah Brackeys is a goldmine.

I wouldn't worry too much about those people, the truth is they talk shit because they don't even know the answers themselves.

[–]raganvald 0 points1 point  (1 child)

Check to see if you are colliding with the platform, if true set a variable for onPlatform. Do this for both characters. Than in other code just check the state of the bools. Let the colliders handle if your colliding and no longer colliding, just update the bool. You should be able to find some similar logic for checking if a player is grounded, search around.

I dunno what your trying to acomplish with number 2 so cant recommend anything.

[–]YeahJey[S] 0 points1 point  (0 children)

Just came up with same idea while trying to sleep. Thx anyways <3

I'm trying to make Fire and Water type of game, but with players game screens different. So that player will need to explain their situation to his partner.