Topic List | |
---|---|
Trumble 03/11/24 2:04:18 AM #101: |
Did you add the fart button yet? You could use this as an opportunity to learn particle effects (for a green gas cloud).
--- Do, or do not. There is no Trumble. ... Copied to Clipboard!
|
TheGoldenEel 03/11/24 11:34:19 PM #102: |
Trumble posted...
Did you add the fart button yet? You could use this as an opportunity to learn particle effects (for a green gas cloud).no but rest assured it's on the todo list along with sound effects of any kind I've done some work with particle effects before in a previous project where I had explosions --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/12/24 5:56:08 PM #103: |
It is very annoying coming from flutter (which I use for work) where you can make a change and hot reload and see your changes instantly, to having to wait two minutes for everything to re-compile every time you make a minor change in Unity
--- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/13/24 12:26:22 AM #104: |
running into a problem with saving.
I have 8 objects tagged "Collectable" and in code I use a FindObjectsWithTag("Collectable"), and it's always returning 7 objects instead of 8. It breaks my serialization and saving. Can't figure out what's happening. I tried deleting the problem object and creating a new one and copy/pasting a working one, but it still doesn't work --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
divot1338 03/13/24 11:32:13 AM #105: |
TheGoldenEel posted...
running into a problem with saving.Did you make a typo somewhere in one of the Collectable objects and its different from the orhers? --- Moustache twirling villian https://i.imgur.com/U3lt3H4.jpg- Kerbey ... Copied to Clipboard!
|
TheGoldenEel 03/13/24 12:15:54 PM #106: |
divot1338 posted...
Did you make a typo somewhere in one of the Collectable objects and its different from the orhers?No, that wasn't it After I typed that out I had somewhat of a eureka/d'oh moment. I was setting the objects as inactive when they were collected, and FindObjectsWithTag() only finds active objects. So I have to keep the parent object active and deactivate the child which contains the trigger and mesh. Also, it wasn't even necessary to do a FindObects where I was doing it, because all I have to do to save is save an array of booleans, where the index of the boolean corresponds to the ID of the given collectable. So, on loading the game, FindObjectsWithTag, set each collectable status to active/inactive based on the boolean value of the saved array, and then I just update that array in-game as the collectables are picked up. After a bunch of fiddling and testing, I got it working: https://youtu.be/YgHe_ewUtdc next: i think i'm going to continue with the enemy AI training I had started a few weeks ago, coupled with implementing an attack button --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
josifrees 03/13/24 12:25:13 PM #107: |
Tag this is a very helpful topic
--- Quit Crying ... Copied to Clipboard!
|
PokemonExpert44 03/13/24 12:25:53 PM #108: |
Tag
--- I just might 6-0 you in Pokemon. Watch out for my awesome teams. ... Copied to Clipboard!
|
TheGoldenEel 03/13/24 12:50:20 PM #109: |
josifrees posted...
Tag this is a very helpful topiccool, if there's anything you're working on feel free to post it this sort of came from me not being able to find any documentation on the full process of making a game --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/14/24 10:36:22 AM #110: |
Man, every little new addition is a whole new set of problems to solve
to add enemies you need -models and animation -ai behavior -attack scripts with hit box triggers -the ability to track health/remove health in the enemy and player --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
kirbymuncher 03/14/24 12:40:59 PM #111: |
I'm currently struggling with boss AI as well. it's easy to have a stationary boss that just shoots out a bunch of projectiles but as soon as I consider making it move around (and then having to choose moves based on position in room / relative to player / amount of space) it gets so much more complex
--- THIS IS WHAT I HATE A BOUT EVREY WEBSITE!! THERES SO MUCH PEOPLE READING AND POSTING STUIPED STUFF ... Copied to Clipboard!
|
TheGoldenEel 03/14/24 12:58:49 PM #112: |
kirbymuncher posted...
I'm currently struggling with boss AI as well. it's easy to have a stationary boss that just shoots out a bunch of projectiles but as soon as I consider making it move around (and then having to choose moves based on position in room / relative to player / amount of space) it gets so much more complexYeah I made a simple boss fight for my last project it moved back and forth and shot three different types of projectiles at random intervals, so nothing in reaction to the player, all deterministic https://github.com/dm-2028/scrolling-shooter/blob/main/Assets/Scripts/Boss.cs --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/15/24 12:37:18 AM #113: |
I'm doing this Unity tutorial on ai for beginners
https://learn.unity.com/course/artificial-intelligence-for-beginners?uv=2021.3 it's getting real heavy into the A* algorithm for waypoint finding which I can conceptually see how it applies to game but I'm having trouble imagining how it would actually be useful for the case I'm trying to learn AI for (enemy behavior) --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/16/24 1:21:04 AM #114: |
TheGoldenEel posted...
I'm doing this Unity tutorial on ai for beginnersNow I got to the step of this tutorial where it basically says you don't actually need to know any of this; here's how Unity handles it all for you (NavigationMeshes) I appreciate learning the underlying ideas behind things the engine already handles but it went super in depth into the algorithm only to blow it all away --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/17/24 12:04:43 AM #115: |
working on creating an NPC to go along with the AI course I'm taking. It's gonna be a basic enemy
https://gamefaqs.gamespot.com/a/forum/3/3cf8cef6.jpg don't like how the legs and nose look yet, and of course there are no feet but imo it's off to a decent start. I'm "freehanding" this one--not using any reference images or drawings --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/18/24 12:04:29 AM #116: |
not bad?
https://gamefaqs.gamespot.com/a/forum/3/332fa688.jpg with smoothing applied https://gamefaqs.gamespot.com/a/forum/6/6b11a1d0.jpg --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
solosnake 03/18/24 12:08:25 AM #117: |
wow, this has come a long way since the first time i checked this topic. Keep it up!
--- "We would have no NBA possibly if they got rid of all the flopping." ~ Dwyane Wade ... Copied to Clipboard!
|
TheGoldenEel 03/18/24 11:44:08 AM #118: |
solosnake posted...
wow, this has come a long way since the first time i checked this topic. Keep it up!Thanks! just realized its been a month since I started this topic. Doesnt necessarily feel like a month worths of work but I only get a few hours max to work on this at night after my kid goes to bed. Any progress is progress --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/19/24 5:29:57 PM #119: |
man, animation is really hard to make look natural
https://giphy.com/gifs/9UwjtyTpvZXipJIMdn --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/19/24 5:45:34 PM #120: |
https://giphy.com/gifs/hPFX5ZVdKCqjWCT5z1
--- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
RetuenOfDevsman 03/19/24 5:51:03 PM #121: |
I made my own engine. It's been a rewarding experience but I wouldn't recommend it. ... Copied to Clipboard!
|
TheGoldenEel 03/19/24 8:40:14 PM #122: |
RetuenOfDevsman posted...
I made my own engine.Sounds like an insane amount of work. what kind of game are you making it for? --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/19/24 11:18:15 PM #123: |
i just discovered some of the bones in the rig must not have been set up correctly because I tried pasting a flipped pose and it got all wonky. now i fixed that and it broke my other animations
https://giphy.com/gifs/GENxKzX1cqxt5ulFzN --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
RetuenOfDevsman 03/20/24 1:10:46 AM #124: |
TheGoldenEel posted... Sounds like an insane amount of work.Turn based RPG. But it's meant to be reusable for any genre. ... Copied to Clipboard!
|
TheGoldenEel 03/20/24 11:30:02 AM #125: |
got it textured and imported into unity now
https://gamefaqs.gamespot.com/a/forum/1/166436f6.jpg RetuenOfDevsman posted... Turn based RPG.nice how long did it take to custom build a game engine? --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
RetuenOfDevsman 03/20/24 11:34:25 AM #126: |
TheGoldenEel posted... got it textured and imported into unity nowWell, I didn't sit down and do that part all in one chunk, and I'm not done yet either. I've spent a lot of time on the game itself, assets and supporting tools. But FWIW I've been at it for almost eight years lol. ... Copied to Clipboard!
|
TheGoldenEel 03/20/24 11:34:51 AM #127: |
I'm pretty happy with how this turned out. Obviously it's not the most detailed thing ever, but I didn't use any reference models or drawings for it or anything, I created it from nothing. I started with a sphere and molded it until it's what you see now
in future iterations I would fix some of the weird edges but it serves the purpose I need it for now which is to implement a basic enemy RetuenOfDevsman posted... Well, I didn't sit down and do that part all in one chunk, and I'm not done yet either. I've spent a lot of time on the game itself, assets and supporting tools.yeah I'm expecting even this that I'm working on now to be a many years project, can't imagine just completely starting from scratch --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/20/24 2:21:22 PM #128: |
Dammit, I have the day off actual work and was going to try getting through the rest of this ai intro course on the unity learn site and it looks like theres some issue with loading videos on the site today
--- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/21/24 11:47:09 AM #129: |
As usual, there are a lot of ways to implement simple enemy AI and Im not sure whats best
i think I want to aggro the enemy of the player is within a certain trigger area. I want them to attack somewhat methodically, I.e. not just swarm the player. Once they get within a certain distance theyll strafe around the player and come in for hits. thinking of using a combination of a trigger area, with the navigation mesh to help with path finding for the enemiesbut Im not sure if thats a lot of overhead for a simple enemy --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
RetuenOfDevsman 03/21/24 1:49:59 PM #130: |
Sounds like a variation of the dining philosophers problem. With all the instances sharing the same code, coordination is oddly difficult. One solution is to use an external control. Either an invisible object or something that's tied to the player. This would tell the enemies where to go and when to attack. ... Copied to Clipboard!
|
TheGoldenEel 03/21/24 5:05:21 PM #131: |
RetuenOfDevsman posted...
Sounds like a variation of the dining philosophers problem. With all the instances sharing the same code, coordination is oddly difficult. One solution is to use an external control. Either an invisible object or something that's tied to the player. This would tell the enemies where to go and when to attack.I wasnt familiar with that problem but I think thats beyond what Im trying to do here at the moment i do think Im going to try with an invisible trigger object that handles spawning the enemies when they die. But handle their individual behavior wholly independently in the enemies themselves --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/23/24 12:24:07 AM #132: |
Not much progress today. The unity videos are back up, seems like it was an issue on the backend that got fixed, so still working through the basic AI lessons
It's going into setting up a state machine for enemy movement right now which I basically already had set up in my code, but it looks like it'll get in to a little more complex behavior trees. Don't want to try and get too far ahead of myself only to find there's a way easier way to handle it --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/24/24 2:39:58 PM #133: |
Bumping this
haven't had time to get much done the past couple days but dont want it to die --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/25/24 12:28:23 AM #134: |
fuck, i went to create some attack animations for my main character and it turns out i must not have saved the last time i exported, so I'm missing a bunch of the animations I had created
and I can't reimport back from unity because unity doesn't save the armature connections properly smh --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/26/24 12:25:24 PM #135: |
Its real demoralizing have to re-do work
i know its not that big of a deal, but its caused me to just put off doing any more work for the past few days. Well, that plus Ive been very tired with my kid not sleeping well overnight not in a rush or anything just in a bit of a funk the past week or so when it comes to new development on this --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
RetuenOfDevsman 03/26/24 12:56:13 PM #136: |
What I do is set a time and stick to it. An hour a day, usually. ... Copied to Clipboard!
|
TheGoldenEel 03/26/24 5:10:53 PM #137: |
RetuenOfDevsman posted...
What I do is set a time and stick to it. An hour a day, usually.I try. The problem is the only time I usually get is after Ive my son down for bed, and hes been fighting bedtime recently so that isnt usually done until about 10pm some days of work is lighter I get an hour or two at the end of the work day --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
RetuenOfDevsman 03/26/24 5:44:12 PM #138: |
TheGoldenEel posted... I try. The problem is the only time I usually get is after Ive my son down for bed, and hes been fighting bedtime recently so that isnt usually done until about 10pmThat's a problem I've yet to have. Both of mine are in bed like clockwork. They love bedtime for some reason. You know, once they passed the newborn phase and actually had some sort of response to the day/night cycle. ... Copied to Clipboard!
|
TheGoldenEel 03/26/24 6:12:05 PM #139: |
RetuenOfDevsman posted...
That's a problem I've yet to have. Both of mine are in bed like clockwork. They love bedtime for some reason.Hes almost 2 and a half and it just started a few weeks ago. He slept like a champ for like a year before that --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
BucketCat 03/27/24 10:06:38 PM #140: |
TheGoldenEel posted...
to having to wait two minutes for everything to re-compile every time you make a minor change in Unityin case you haven't found a fix for this, split your code up into assembly definitions. that way, for example, if you make a change in whats defined as the "character" assembly, only those scripts will recompile rather than everything in the project. https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html lots of great progress, btw. keep it up!! --- ? ... Copied to Clipboard!
|
TheGoldenEel 03/28/24 12:04:50 AM #141: |
BucketCat posted...
in case you haven't found a fix for this, split your code up into assembly definitions. that way, for example, if you make a change in whats defined as the "character" assembly, only those scripts will recompile rather than everything in the project.oh this is great, thank you I didn't come across this when I was searching for a solution to this. --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/28/24 2:14:48 PM #142: |
got a very simple enemy spawner going with some dumb AI
https://www.youtube.com/watch?v=tjZ_OjKfndA enemies will wander randomly until the player is in their line of sight, at which point they'll chase. It's very easy to break their line of sight right now; I'll have to add some kind of "memory" for that purpose. The random wandering can also cause the enemy to wander right into a wall as seen early in the video, so I'll have to address that as well. No actual attack yet, although I have the animations ready for that I need to look a little more into how that's implemented --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/28/24 6:26:08 PM #143: |
now with attacks (that still don't do anything)
https://youtu.be/9eJQYgm7tc4 --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
kirbymuncher 03/28/24 7:20:38 PM #144: |
do you mind if I share progress stuff here too? seems like a good anti-procrastination strat
--- THIS IS WHAT I HATE A BOUT EVREY WEBSITE!! THERES SO MUCH PEOPLE READING AND POSTING STUIPED STUFF ... Copied to Clipboard!
|
TheGoldenEel 03/28/24 8:30:18 PM #145: |
kirbymuncher posted...
do you mind if I share progress stuff here too? seems like a good anti-procrastination stratGo for it yeah thats part of the motivation for this topic haha. I keep wanting to have something new to post --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/30/24 11:33:48 AM #146: |
So I was having a problem where the player could just push NPCs by walking into them, and it would break their navigation and make them just float around
I had made the NPCs collider and navigation mesh agent (the collider used to determine where they can travel) exactly the same size. To fix the problem I made the collider just a smidge bigger than the nav mesh agent. So now the player cant push NPCs Im also looking into how to how to do hit boxes. Think Im going to just add a child collider that only gets activated during certain frames of the animation. That seems to be a way that people do this --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
kirbymuncher 03/30/24 12:17:20 PM #147: |
TheGoldenEel posted...
Im also looking into how to how to do hit boxes. Think Im going to just add a child collider that only gets activated during certain frames of the animation. That seems to be a way that people do thisthat's basically how I do it. got some base classes EnemyHitbox and EnemyHurtbox and just attach them to enemies + resize as needed. Also makes it convenient to build an enemy out of multiple hurtboxes to have them do different effects or have weaknesses or whatever (though I haven't actually used that feature yet, but I might) I'm actually stuck in hitbox land as well since I've been trying to design boss attacks. I've played so many 2D action games that have bosses yet somehow it's so hard to think of ideas for interesting attacks --- THIS IS WHAT I HATE A BOUT EVREY WEBSITE!! THERES SO MUCH PEOPLE READING AND POSTING STUIPED STUFF ... Copied to Clipboard!
|
TheGoldenEel 03/30/24 5:55:03 PM #148: |
kirbymuncher posted...
that's basically how I do it. got some base classes EnemyHitbox and EnemyHurtbox and just attach them to enemies + resize as needed. Also makes it convenient to build an enemy out of multiple hurtboxes to have them do different effects or have weaknesses or whatever (though I haven't actually used that feature yet, but I might)haven't played around with it too much yet but I'm looking at using the animater for this purpose. It'll look something like this: https://giphy.com/gifs/Y7Z7Jkuw8ZuPr7XHFO --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 03/30/24 6:01:27 PM #149: |
I think I like the way this tutorial I found implements things but I haven't actually tried it yet:
https://strangewire.blogspot.com/2018/05/hitboxes-and-hurtboxes-in-unity.html --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
TheGoldenEel 04/01/24 12:48:33 AM #150: |
Very basic right now but I implemented some hitboxes based off that link I posted. Haven't worked out activating it in specific times in the animation but as a 'proof of concept' it works the way I want it. I have an "arena" where 2 enemies will spawn at a time up to four enemies; when you kill all of them the door to the next area opens
https://youtu.be/A-PejVdrsWg --- BLACK LIVES MATTER Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/ ... Copied to Clipboard!
|
Topic List |