|
02.03.2025 - 22:57
One of my hobbies is programming games for fun. My one and only experience with AI was in a fighting game I made. It was pretty simple: I made the computer measure the distance of his fighter and the player's and categorize in low distance, mid distance and long distance, then switch their prefered attack patterns based on the category. As for when the player tried unleashing spells or attacking, the computer would normally try yo block and dodge. But making it so it always succeeds defeats the purpose of the game, so I added some timestamps on which the computer would be allowed to try and counter the player's actions, and these timestamps would have a random interval. For instance, 10miliseconds + something random from 0 to 10 (just an example, I don't recall the exact numbers) After I programmed the things this way, the only thing I had to do to program the "easy mode", "normal mode", "hard mode" and so on... Was shrinking or expanding the timestamp interval!! The AI would react slower or faster and thus end up being harder or easier to beat. In the end, the AI was pretty satisfying, I made 5 levels of difficulty, and it was indeed very easy on the very easy and nearly impossible on the very hard (I couldn't beat it) Anyone has experience with AI like that? What are your projects? I am currently thinking on getting back on game creation. I was studying on how would I go about making an RTS. But the AI there seems a bit more advanced to tackle, hehe...
---- "Aah! The cat turned into a cat!" - Reimu Hakurei
Loading...
|
|
|
15.03.2025 - 08:15
My little brother will join college with AI and Data Analyzer. I tried programming html css and c++ its hard and boring as well. What software you use to program ?
Loading...
|
|
|
15.03.2025 - 14:58 Written by User 6041 on 15.03.2025 at 08:15 Well, when it comes to game programming I use GameMaker. It has their own language (gml). It is very similar to C as it works running C as its core, but additionally it has several inbuilt functions made for game programming that make the job far easier to do.
---- "Aah! The cat turned into a cat!" - Reimu Hakurei
Loading...
|
|
|
16.03.2025 - 13:40
Been doing all kinds of machine learning things for years, not some game AI, more like data and statistics, mathematics, facial recognition, chatbots, video and image recognition, etc. more practical stuff. They're actually very simple to tinker with and it's quite easy to think of some usable applications you could create using these techniques. I'm not currently working on AI or programming stuff, so this is more like a hobby. I just think it could be smart move to have some understanding of this tech stuff and have some actual projects to show for it if I ever need to start looking for another job. I highly encourage people to do the same.
---- You've got a lot of guts. Let's see what they look like!
Loading...
|
|
|
29.03.2025 - 04:49
Programming? No... but I do train AI bots as part of my work, as well as in normal life. It's definitely a productivity magnifier in many different roles as part of my work. That is honestly more fun for me than the actual programming side of things. The difficulty is training the laymen to communicate with them in very logical ways with a very specific objective...
Loading...
|
|
| |
29.03.2025 - 10:53
Yes cynic can do it and in a way that Vlad/that he worships) can not save his ass
---- I stand whit Ukraine and Israel. They have right to defend own citizens. Stormtroopers of Death - "Speak English or Die" I better die, because I never will learn speek english, so I choose dieing
Loading...
|
|
26.12.2025 - 10:22
What you need is called weighted decision tree. Weights in this context would be delays and chances to do things. For pathfinding you use A* (A star) and it is same thing. Hope this helps (I have written so much NPC and enemy AI for games and to be honest most of them is simple if-else to mimic having AI).
---- "Cross is only an iron,hope is just an illusion,freedom is nothing but a name..." "Build your walls of the dead stone...Build your roofs of a dead wood..Build your dreams of a dead thoughts"
Loading...
|
Are you sure?