Thank you for your generosity in creating this tutorial. This actually helps me a lot.
@SpawnCampGames2 жыл бұрын
Ya, I struggled with it not gonna lie.. its not the best system but it works lol.
@dylanbraamse83653 күн бұрын
how do you play first-person shooter (doom clone) in augmented reality goggles?
@petlahvickaanimations12 жыл бұрын
After hours of debugging, I realized that my Enemy GameObject had a different Animator Component that the script was applying the lastIndex to. Just saying this in case anyone else has this issue :) Great tutorial btw
@SpawnCampGames2 жыл бұрын
thanks! sorry u had trouble with your animator..
@petlahvickaanimations12 жыл бұрын
@@SpawnCampGames No worries, the only times I had any issues with your tutorials were caused by me, keep up the good work!
@Tugezu2 жыл бұрын
Oh man finally i can continue the project!!! Thanks man
@SpawnCampGames2 жыл бұрын
Hopefully we'll kick it into high gear! The new year got me every which way but I plan on doubling up on content to make up for it! :) Cheers
@sanyawaffles Жыл бұрын
Your tutorial series is is the only tutorial I could grasp on how to prototype a basic FPS. You explained it fairly well. The only real hiccup I had was I accidentally put the animator on the wrong thing, and that was my bad. I skipped a few parts of the tutorial for now (the keys/doors/hazards) but this was a nice crash course. I come from GZDoom engine for commercial projects, and I've wanted to learn Unity. Tried Godot and couldn't get very far. Next I intend on a weapon system and state machine for my prototype.
@SpawnCampGames Жыл бұрын
glad it helped you.. i been slacking and need to continue this one and do another one thats more of an Apex type controller.. Thanks for watching :)
@LaGamerLia666 Жыл бұрын
I only did up to the part with the sprite array because it's what works for me and the type of game I'm making. Once I get to more serious game development I'm coming back and doing the full tutorial. Great video still! Keep up the awesome work!
@SpawnCampGames Жыл бұрын
thats cool! im glad that part of it could help you out
@Subaru69420 Жыл бұрын
Hello, just wanted to say thank you for the videos, I love your video/tutorial style.
@SpawnCampGames2 жыл бұрын
5:34 "AngleToTarget" 🦻
@Hersatz2 жыл бұрын
Exactly what I needed to understand the idea behind the doomlike sprites for a project I am working on. The code is so clean and straight to the point that I think I won't even have to change much of anything as far as signature and definition goes. Tanks a lot for the explanation.
@charg1nmalaz0r512 жыл бұрын
Looking good man
@sopothetocho2 жыл бұрын
I was waiting for this!Thanks!
@MindSweptAway7 ай бұрын
Keep up the good work!
@Bishmanrock2 жыл бұрын
Really digging this method, thanks for the help!
@Soturi_the_paladin2 жыл бұрын
22.5 + 45 is 67.5. Keep adding 45 for each of the other angles
@Jicefrost2 жыл бұрын
Im so long look for it! Thank you for video!
@Nevermore1012 жыл бұрын
This is great, thanks a bunch!
@PDJazzHands Жыл бұрын
instead of hand authoring angles, precompute them by dividing 360 by the number of angles, then subtracting 180 from them all
@SpawnCampGames Жыл бұрын
Thank ya for the tip, I plan on re-writing it, atleast for myself, and possible updating a new video.. I tried many times to do a more simple code that would calculate them all using 1 line or so of math but i couldn't ever get the correct offsets or something.. I have a community of coders (some alot more advanced than me) that helps me quite often, and they would send me ways of doing it by using the index of the array and the modulo operator... they seemed very confident thats the way to go, but I couldn't get it to work and I felt like I had bothered them enough lol.. I will definite try again tho.. I never get tired of learning... Thanks again and I appreciate you watching :)
@elcerebro44802 жыл бұрын
excellent video, a suggestion (lol I don't get it) how would I apply the sprites of my own player (so I can see myself in the mirror in the game)
@SpawnCampGames2 жыл бұрын
Actually a really good question lol.. I haven't been think of this but perhaps i could do a spinoff tutorial for just the mirror mechanic :D.. not sure doom had it.. but i know that duke nukem did.. Gif of current state of Doom Guy :rofl: gfycat.com/illiterateangelickatydid
@elcerebro44802 жыл бұрын
@@SpawnCampGames uff that would be great, also it will surely have a lot of repercussion in the doom videos :) pd: yes i was thinking about duke nuke and ion fury xd
@Degroid2 жыл бұрын
Thanks man , this helped a lot!
@sttxrzz Жыл бұрын
Hi! The tutorials are great! But I can't wrap my head around this error: "'EnemySprite' AnimationEvent has no function name specified!"
@saberleaf36592 жыл бұрын
can this idea for the 8d part work for other things like vrchat?.. this is the only video i found that is helpful in any information to do 8'd sprites
@SpawnCampGames2 жыл бұрын
not sure about VR chat.. but VR in general, sure I would guess. I haven't done much in VR yet but I'd assume you have a world position for where ever the player or the (viewer) is.. If you have your position and forward direction, and the other objects position and forward direction then ya, maybe :D
@saberleaf36592 жыл бұрын
@@SpawnCampGames alrighty. Cause I'd like to make something like that style for like desktop play. But never find any good ways of doing it, explained in a helpful way more or less.
@personanongrata44192 жыл бұрын
Trying to find a solve for this problem led to me abandoning my project about 8 months ago. Guess I gotta revisit it now.
@SpawnCampGames2 жыл бұрын
LOL! yea thats why there was a big gap in the tutorials.. this Directional sprite setup had me scratching my head myself.. still not the best system but it'll be good enough to finish this series :D and then I might revisit it and come up with a better system and do a stand-alone tutorial on it :)
@jobvanwijngaarden Жыл бұрын
Hi, how do you show the preview window in preview area in blend tree?
@DylanSnider11 ай бұрын
What do I do if my line rays into the void?
@SpawnCampGames11 ай бұрын
when you use a raycast you can set the distance look up the documentation for a raycast in the Unity Docs.. it'll show you versions of it.. You can set a maximum distance so your ray stops at a certain point
@watercat12482 жыл бұрын
I have a tips for you 1. If you want to use one axis rotesion with not animesion you by able to use the line redering the work's perfectly fine the only slightly problem is that your image need to rooted 90° the image other than it works perfectly fine and with multiple cameras as well And to be honest I was hoping to show a shader that das that rotesion magic in the order to work in multiple cameras
@SpawnCampGames2 жыл бұрын
Hi, yea a shader setup would be great... I'm not a pro at shader graph, but have friends that are close.. might go over that at the end during polish phase, if enough interest is presented
@mangedrabbit2 жыл бұрын
🙏 Thank you.
@zyranlord75072 жыл бұрын
I don't know if this was made clear in the video, but when the enemy's would rotate while walking around, would that be able to change their sprite to correspond to the angle that your looking at it? For example, lets say you walk behind it. You will see its back right? Well what if the enemy then had to turn around since it was walking back and forth. Would it still be showing its back? Or would the sprite change to you seeing its front.
@LesusGames2 жыл бұрын
I sorted this problem out. I rotate the enemy object (Not the sprite, which rotates towards the players camera) towards my NavMeshAgent's destination using transform.LookAt(agent.destination). However, it seems to be causing some jerkiness in the animation as it switches between two angles... I'll edit when I find the cause.
@ИльяКотов-в1и2 жыл бұрын
Hi man, can you do a lesson on switching weapons
@SpawnCampGames2 жыл бұрын
Yes I can! :)
@the-guy-beyond-the-socket2 жыл бұрын
Hello! very helpful tutorial! but i cant find just how to rotate a spite in player direction. is there a way just to rotate the Z axis of a sprite to make it look to the player?
@the-guy-beyond-the-socket2 жыл бұрын
actually, its Y axis, not Z
@SpawnCampGames2 жыл бұрын
I usually use an empty container parent object and rotate that instead. Most times I use LookAt(ModdifiedPosition) where moddified position is the players position .x , the players position.y, but the objects own z axis so it only turns side to side and only faces a point thats directly forward of it.. i go over it in a few tutorials before this one.. its in the pick up tutorial, i know for sure.
@the-guy-beyond-the-socket2 жыл бұрын
@@SpawnCampGames thanks for the answer! I already solved it by writing a direction to player to Vector3, making the z axis zero, and then just setting rotation by Quaternion. LookRotation(LookDir) ; Its a bit simplier.
@66ogg2 ай бұрын
Nice game
@thusky4399 Жыл бұрын
It seems like my last comment was deleted, I was curious to have your opinion on incorporing your script with another asset from the unity asset store, do you have any email we can contact you on?
@SpawnCampGames Жыл бұрын
which asset? i don't delete messages btw, so not sure what happened
@thusky4399 Жыл бұрын
@@SpawnCampGames Must have been youtube, that happened to me on another video as well (of someone else). Ultimate Character Controller, I wondered if I could just use your script for rendering the sprite, everything else would come from UCC (by Opsive). I aim to make a Doom clone.