Make a DOOM CLONE in Unity || E1M8 8-Directional Sprites

  Рет қаралды 17,968

SpawnCampGames

SpawnCampGames

Күн бұрын

Пікірлер: 53
@wcs5069
@wcs5069 2 жыл бұрын
Thank you for your generosity in creating this tutorial. This actually helps me a lot.
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
Ya, I struggled with it not gonna lie.. its not the best system but it works lol.
@dylanbraamse8365
@dylanbraamse8365 3 күн бұрын
how do you play first-person shooter (doom clone) in augmented reality goggles?
@petlahvickaanimations1
@petlahvickaanimations1 2 жыл бұрын
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
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
thanks! sorry u had trouble with your animator..
@petlahvickaanimations1
@petlahvickaanimations1 2 жыл бұрын
@@SpawnCampGames No worries, the only times I had any issues with your tutorials were caused by me, keep up the good work!
@Tugezu
@Tugezu 2 жыл бұрын
Oh man finally i can continue the project!!! Thanks man
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
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
@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
@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
@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
@SpawnCampGames Жыл бұрын
thats cool! im glad that part of it could help you out
@Subaru69420
@Subaru69420 Жыл бұрын
Hello, just wanted to say thank you for the videos, I love your video/tutorial style.
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
5:34 "AngleToTarget" 🦻
@Hersatz
@Hersatz 2 жыл бұрын
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.
@charg1nmalaz0r51
@charg1nmalaz0r51 2 жыл бұрын
Looking good man
@sopothetocho
@sopothetocho 2 жыл бұрын
I was waiting for this!Thanks!
@MindSweptAway
@MindSweptAway 7 ай бұрын
Keep up the good work!
@Bishmanrock
@Bishmanrock 2 жыл бұрын
Really digging this method, thanks for the help!
@Soturi_the_paladin
@Soturi_the_paladin 2 жыл бұрын
22.5 + 45 is 67.5. Keep adding 45 for each of the other angles
@Jicefrost
@Jicefrost 2 жыл бұрын
Im so long look for it! Thank you for video!
@Nevermore101
@Nevermore101 2 жыл бұрын
This is great, thanks a bunch!
@PDJazzHands
@PDJazzHands Жыл бұрын
instead of hand authoring angles, precompute them by dividing 360 by the number of angles, then subtracting 180 from them all
@SpawnCampGames
@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 :)
@elcerebro4480
@elcerebro4480 2 жыл бұрын
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)
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
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
@elcerebro4480
@elcerebro4480 2 жыл бұрын
@@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
@Degroid
@Degroid 2 жыл бұрын
Thanks man , this helped a lot!
@sttxrzz
@sttxrzz Жыл бұрын
Hi! The tutorials are great! But I can't wrap my head around this error: "'EnemySprite' AnimationEvent has no function name specified!"
@saberleaf3659
@saberleaf3659 2 жыл бұрын
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
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
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
@saberleaf3659
@saberleaf3659 2 жыл бұрын
@@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.
@personanongrata4419
@personanongrata4419 2 жыл бұрын
Trying to find a solve for this problem led to me abandoning my project about 8 months ago. Guess I gotta revisit it now.
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
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
@jobvanwijngaarden Жыл бұрын
Hi, how do you show the preview window in preview area in blend tree?
@DylanSnider
@DylanSnider 11 ай бұрын
What do I do if my line rays into the void?
@SpawnCampGames
@SpawnCampGames 11 ай бұрын
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
@watercat1248
@watercat1248 2 жыл бұрын
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
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
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
@mangedrabbit
@mangedrabbit 2 жыл бұрын
🙏 Thank you.
@zyranlord7507
@zyranlord7507 2 жыл бұрын
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.
@LesusGames
@LesusGames 2 жыл бұрын
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и
@ИльяКотов-в1и 2 жыл бұрын
Hi man, can you do a lesson on switching weapons
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
Yes I can! :)
@the-guy-beyond-the-socket
@the-guy-beyond-the-socket 2 жыл бұрын
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-socket
@the-guy-beyond-the-socket 2 жыл бұрын
actually, its Y axis, not Z
@SpawnCampGames
@SpawnCampGames 2 жыл бұрын
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-socket
@the-guy-beyond-the-socket 2 жыл бұрын
@@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.
@66ogg
@66ogg 2 ай бұрын
Nice game
@thusky4399
@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
@SpawnCampGames Жыл бұрын
which asset? i don't delete messages btw, so not sure what happened
@thusky4399
@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.
@claycabes2143
@claycabes2143 2 жыл бұрын
Yes yes yes!!!
Make a DOOM CLONE in Unity || E1M9 Damage Triggers
10:29
SpawnCampGames
Рет қаралды 11 М.
I made 60fps Flipbooks using A.I.
8:04
Andymation
Рет қаралды 21 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 22 МЛН
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 196 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 49 МЛН
Why Stairs Suck in Games... and why they don't have to
11:24
Nick Maltbie
Рет қаралды 1,5 МЛН
How to make a DOOM CLONE in Unity || E1M2 Enemy Hit Detection
23:00
SpawnCampGames
Рет қаралды 17 М.
Doom engine - Limited but still 3D
6:57
borogk
Рет қаралды 590 М.
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,6 МЛН
Doom style sprites
4:42
Schizoid propaganda network
Рет қаралды 6 М.
ТОП-10 АССЕТОВ UNITY для создания игр | Арталаски Геймдев
11:50
ARTALASKY CG - Как создать игру
Рет қаралды 89 М.
How to make a DOOM CLONE in Unity || E1M3 Enemy AI and NavMesh Part 1
16:39
I made DOOM in Unity!
14:07
Code Monkey
Рет қаралды 92 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 22 МЛН