purpl3grape / ModelCar_Repository

Blender project to create a 3d arcade car game.
1 stars 0 forks source link

How to run the game? #1

Open monjurulkarim opened 4 years ago

monjurulkarim commented 4 years ago

Hi, can you please tell me how to run the game?

purpl3grape commented 4 years ago

Hi there, the ModelCar_Repository contains just the physical Mesh Object for the car. This is implemented in a Unity Project found here (It is recommended to use Unity 2019.2.6f1): https://github.com/purpl3grape/PurplegrapeStudios_Repository

If you would like to see a quick demo with some further updates, you may download the latest build here: https://purpl3grape.itch.io/vgp142-lab01-tan-peter

Let me know if you've got any further questions.

monjurulkarim commented 4 years ago

@purpl3grape Thanks for your reply. To be honest, I am very new with blender. I have a very simple driving game made by blender game engine. The game doesn't have any traffic. I want to add traffic in the driving scene. Would you please give me any idea how to do that?

Thanks in advance.

purpl3grape commented 4 years ago

@purpl3grape Thanks for your reply. To be honest, I am very new with blender. I have a very simple driving game made by blender game engine. The game doesn't have any traffic. I want to add traffic in the driving scene. Would you please give me any idea how to do that?

Thanks in advance.

Hmm, depending on how sophisticated the AI traffic behavior to be, and what you'd like them to do. Personally, if I'm adding traffic AI, they would follow 'pre-determined' node positions within the game scene.

If you're making the game in blender, what language are you using to write the logic? - I mean I can come up with a simple traffic system in Unity and perhaps you may be able to replicate that logic in blender? Sorry, I'm not familiar with Blender's coding system, I'm using that just for 3D model creation.

monjurulkarim commented 4 years ago

@purpl3grape Thanks for your reply. I am using python for creating the logic in blender. It would be great if you could share your Unity logic of the traffic system. I think I can reproduce your code in blender. Many thanks!

purpl3grape commented 4 years ago

@purpl3grape Thanks for your reply. I am using python for creating the logic in blender. It would be great if you could share your Unity logic of the traffic system. I think I can reproduce your code in blender. Many thanks!

Unfortunately I don't have any personal examples of traffic, but I would point you to this example first, where it uses node based systems to create traffic behavior: http://wireddevelopments.com/trafficsystem/documentation.php#4

Because different intersections have different behavior, the traffic AI may become quite complex, so depends on your scope again, with more complex logic to handle more realistic scenarios and edge cases. (This would take some time to code out :) )

However, if it's basically just for populating a 'background scene' to make it seem more lively, just NPC cars, then it may get much more simpler to design that node system. You may want to start here, where cars pick certain predetermined paths, ignoring collisions to begin with, and you may scale up from there. I may assist you if you need guidance here.

monjurulkarim commented 4 years ago

@purpl3grape Thank you very much! I really appreciate your assistance.