Jump to content
  • Advertisement

RobbyT15

Member
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

126 Neutral

About RobbyT15

  • Rank
    Member

Personal Information

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. The closest thing to an error message I get is in the image on this reply.
  2. I'm receiving the error in the attached image in Unity while trying to connect to my SQL Database. I'm assuming that it has something to do with a missing dll but I'm not sure. Can anyone explain to me what I need to do to fix it?
  3. RobbyT15

    Update

    I haven't made an update in a week or so and that's because I haven't really had the chance to do so. Besides, the goals I set for myself in my last post still haven't been met, again, I haven't had the chance to do anything with the project. I did, however, have the chance to look over some things and realize that what I was doing as far as the animal randomly moving to different points, was very ineffective and would run into some issues. For example, the animal would only move in a positive direction, meaning it would only move west(right) and north(up), never east(left) or south(down). Why was this happening? This was happening because of how I set my random point positioning. I always set it to start a 0 for both my X and Z positions. For the purposes of my previous demonstration, it was fine since the animal would always start out at that position and since it was the south west corner of my terrain, but what if I had set my animal's starting position somewhere else, say, in the middle of the terrain or in the north east corner? Since it would only move in a positive direction, it would potentially not move at all. What did I do? So I fixed this by resetting the random point to the animal's position each time the animal stopped moving, then when the idle timer hit zero, I set an negative value of the minimum position for the X and Z positions as long as the resulting value for each position is greater than zero. If not, then the X and Z positions would be zero. What else could go wrong? Halfway through writing about this fix I made another realization, the positive values for X and Z could potentially lead the animal off of the terrain. This isn't a big deal if I were to do a spherical world with endless terrain(which I intend to do) but for a terrain that ends, this could be a problem. So to fix this, the maximum X and Z positions will have a check to see if they are the same as the maximum terrain width and depth. Another issue that is going to come up is, what happens if the terrain drops below a certain height or rises above a certain height? Some animals can't climb, after all and avoid things like trenches, or cliffs. This leads me into my next issue. Rugged terrain issue Terrain isn't flat and animals can move over terrain, climb and walk down hills, etc. The current setup I have for my animal is assuming that the terrain is flat, which means, there are no hills or valleys. Once I begin sculpting the terrain, there will be random points that are on hills or in valleys. With the way I have it now, The point will actually set correctly, however, the animal will 'float' above a lower point in a sunken terrain and 'sink' under a higher point on a raised terrain. How do I fix? My instinct says that I need to sample the terrain's height on each frame while the animal is moving and set the animal's position and rotation equal to the sampled position and rotation. However, logic tells me that the great minds over at Unity have a way for me to do this without having to worry about brute forcing the animal into behaving the way it needs to behave when dealing with rugged terrain, and that's with the NavMeshAgent. So my current task and goal is to restructure my entire animal and make it behave as an agent on a nav mesh. Which means, the script that allows my animal to move around is going to change drastically in order to accomplish this. Impediments The only issue I'm constantly running into is setting the random point. Currently, I'm working with a flat terrain, so I have no need to change the height(Y) for the point, but once I sculpt my terrain, that will change. Again, my instinct tells me that when I set my random point to start the animal moving again, I'll need to sample the terrain height and allow that to be my height(Y-value). What's coming? Winter....... No...well, yes, it is, but.......anyway. I'm going to restructure my animal so that it behaves as a navigation agent. I'm going to allow my random point to change its height based on where it's at on the sculpted terrain. Once I have the performance right for a single animal, I'm going to add additional animals, which means I'll have to start considering what behaviors will occur when the animals interact(collide). At the very least, expect to see the movement behavior done right in my next post, as well as seeing it perform on multiple animals. I will also have a sculpted and designed terrain. Hopefully I'll be able to get that done by the end of the weekend, if not, it'll definitely be done by this time next week.
  4. RobbyT15

    Why I'm doing this

    Excellent point. What I may end up doing is while I'm working on this project, work on smaller games as well and implement what I've learned into the larger project.
  5. RobbyT15

    Why I'm doing this

    Thanks. I'm not taking it as discouragement, I'm taking it as advice. My whole mentality with this project is that I completely expect to fail, there's no possible way for one person to make something like this, it's too large. It's mainly a learning experience for me. I want to know how each system works together, I want to know why they work together, and I want to know why the don't work together when I inevitably break the whole thing(I've already broken it a couple times just working on the animal behavior). To me, it's a learning experience, I'll learn what not to do. I really do welcome advice like this as you all have much more experience at this than I do.
  6. RobbyT15

    Starting out: First pieces of life in the world

    I've always been pretty interested in figuring out how to get terrains to work on spheres. It makes sense that game engines would implement that already since worlds are spherical by nature. I'd love to take a look at your blog and learn how to do it, I've always really liked the idea because it makes creating a day and night system very easy. My aim is to make a persistent world, like Ultima Online was, so the spherical terrain would be perfect. I know many games don't do that anymore since it requires a constantly running environment with multiple backup environments, and it can get very expensive, but if I do end up getting to the point where I want to and can make this a viable thing, then I would worry about all that at that point.
  7. RobbyT15

    Solo RPG Challenge

    Album for Solo RPG Challenge
  8. RobbyT15

    Why I'm doing this

    Thank you It's pretty comforting to know that others are just as ambitious. You doing an RPG or different type of project? Agreed, it kinda forces you to learn, reevaluate your practices, and do some research into how things are done.
  9. I have an admission to make, I had already made some progress prior to creating this blog, it wasn't too substantial though and what I've done so far definitely requires some cleanup, modification, and improvements. So what have I done? Since I'm building my world first, I figured I would start with something that will exist in my world, animals. Since there are many types of animals that will exist, I decided that an abstract class or an interface would be needed to declare the common functionality that each animal would share, Walking, Running, Eating, etc., along with common properties, walk speed, run speed, etc. Once I did this, I made the specific animal class. In my case, I just made a cow, and inherited from the Animal class. Within the animal class, each animal will have a Wander function, which basically tells the animal to wander around the world, stop periodically for a random amount of time, then wander some more. This is a very simple function right now, but it will become much more complex later on. All it does is checks if the animal has reached a random point, sets a new random point, and then moves the animal to the new position once it's done waiting, it also rotates the animal towards the new random point to give the animal the appearance that it's turning while walking. Impediments and Issues There was a very small issue I had with the cow class. Originally I had the random point set up to change within the parent Animal class, but I quickly realized that this would cause each animal to move towards the same point , then move off into random directions.. One issue I've noticed I'm having is that occasionally, if the animal reaches the edge of the terrain, it'll 'skirt' the edge, meaning that part of it will hang off. On startup, the start wait time is always what I specify it to be in the editor, I need it to change to be a random value. However, When I set it to a random value in the start method, it triggers some conflicting animations and functionality when moving to the first random point. Fixes I moved the random point within the individual cow class which allows the cow to set its own starting direction, rather than using a generic one. This issue is nothing more than correcting the bounds in which the animal can move. Changing the minimum values from 0 to 1 fixes it. It's likely nothing more than moving the function call to the right place in the code, or creating the random value in the wrong place. This will need to be investigated. What's upcoming Naturally, for functionality like allowing animals to wander around, I would give the responsibility to a manager, rather than the instance itself, so I'll be building an animal manager and attaching it to the world, to handle an animal's behavior. I'll also be adding more animals to the scene to make sure that the functionality works on each animal, rather than one, and giving them behaviors for when they run into each other. Finally, I'm going to form my terrain, which will show that the animals can move over hills, walk around trees, etc. Wait, what's that? If you're looking at my code for the animal class, you may notice that there's some properties and a function that are commented out and some hidden points in my scene. My reasoning behind this is, eventually, I would like to give regions to each animal type. In the real world, certain animals are native to certain areas. You're not going to see a herd of cattle wandering around the desert unless they're severely lost, they're going to be closer to vegetation and a water source. So this functionality will allow for that. What would be fun, is to eventually give the animals the ability to get lost, which would then trigger the functionality to wander the entire world. Asset Credits As I mentioned, I'm using models, animations, audio, etc that others have created as I have no ability in these fields. Animal pack deluxe made by JANPEC Zombie made by PXLTIGER Fantasy Monster - Skeleton made by TEAMJOKER IAnimal.cs Cow.cs Animal.cs Unity 2018.2.13f1 Personal (64bit) - SampleScene.unity - New Unity Project - PC, Mac & Linux Standalone_ _DX11_ 10_26_2018 10_34_19 AM.mp4
  10. RobbyT15

    Why I'm doing this

    I recently opened up the Unity Editor for the first time in a couple years and decided to get myself back into game development, partly because I've always wanted to make a game, partly because I'm bored at work, and partly because, it's a great learning experience, even if you fail miserably at it. Like just about everyone else, I've always been advised that I should start small and work my way up, which makes perfect sense. However, since I've messed around with the Unity engine in the past and actually made a few smaller games like Roll-a-Ball or Space Shooter, it never really felt like I was making something I wanted to make. My dream has always been to make a game that I would want to play. I grew up playing games like Ultima Online, Final Fantasy 7, Dark Age of Camelot, etc. Games that pull you into the world and story, sink their hooks in, and hold on. So when I opened up Unity this time, I made a decision. No tutorials, no starting small and working my way up, I'm jumping in the deep end and either sinking or swimming. So I settled on making an RPG that I would want to play. Sure, there are some things I'm not doing myself, I'm neither an animator nor a graphic designer, so many of the visual and audio components I'll be using will be from the asset store. However, the functionality, game play, GUI, will all be done by one person, me. Yes, an RPG is a momentous task to undertake, even for a large team of people, and I fully expect to crash and burn, hard. However, I can think of no better way to truly learn the art of game development. If nothing else, I'll learn more than what I already know and become a better developer for it. So what's my process going to be? Well, like any developer, I'm going to think about the big picture but focus on individual tasks. Rather than doing what most learning tutorials tell you to do, I'm going to build my world first. this means that I'm going to focus first on how animals and creatures behave, build my world out, create my weather, and then, I'll focus on adding my player, story, quests, missions, etc. My reasoning behind this is, I already know what most of my world will behave and operate. Each week I'm going to post screen shots and video clips of the functionality I've completed.
  11. RobbyT15

    Developer looking for projects

    Hey James, Thanks for those links. I'll get registered on the forum and take a look at some projects and see what I can do. Thank you.
  12. RobbyT15

    Developer looking for projects

    Hey James, I don't actually have any experience in C++, but it's definitely a language I'm interested in learning and I'm certainly interested in helping out with a hobby project. Anything that allows me to get some experience and possibly get into the industry.
  13. I'm a front end web developer trying to get into game development and I was hoping that someone has a project they would like some assistance on. I've mostly done tutorials in Unity and made a couple games, roll-a-ball, space shooter, but would like to get more experience. If anyone is willing to give me a chance, please reply to this message or shoot me an email at robbyt15@bmail.com.
  14. RobbyT15

    Programmer/Voice Actor for projects

    Great, can you tell me more about tour current team and what you're looking for?
  15.   Unfortunately I don't have Skype.  Would you be willing to send it to my gmail?   robbyt15@gmail.com
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!