![]() Label it exit and trace lines at the exits. ![]() Whatever works better for you Next, duplicate your maze sprite. To keep things simple, you can replicate the maze sprite example or even make one with less lines. ![]() If you have any idea, knowledge or advice, it would be very appreciated. With your maze, you can use raycasting to create the 3D effect. I guess another approach could be to use an UI texture button but I thought that 2D nodes were a cleaner and more appropriate solution, mainly because of the static nature of UI, but I may be completely wrong.Īn ultimate but important point is that I need to be able to draw each polygon texture procedurally, I would like to implement a biome system, with cells as sea and moutain among others. For instance, AI enthusiast Ammaar Reshi used GPT-4 to generate code for a game of Snake. I thought that instantiating a general-purpose RigidBody2D scene with a script might be the solution, but I’m afraid that I would a heavy process to instantiate dozens, not to say hundreds, of scenes. ChatGPT can produce the code for a video game, but the video game can’t run in ChatGPT. Do the same thing if it has a third evolution level. Add code so that when the pokemon reaches a certain level using the variable (in this case, Level 16) it will evolve into the next evolution. At this point I have no idea how to connect the input (as a mouse click) of the RigidBody2D, because this newly generated RigidBody2D obviously doesn’t have a script. Step 3: Our third step is broken down into 3 parts: Make a variable for the pokemon level. My first approach was : generate a CollisionShape based on each cells’ corners (given by the module), then a RigidBody2D and add the CollisionShape as a child of it. My goal is to set up clickable polygons for a stategy game, one per province - I guess, even if this idea might be questionable. I’ve been implementing a Voronoi module in order to compute a map composed of randomly generated Voronoi cells, here is what it looks when I use the godot-built-in _draw() function. Topic was automatically imported from the old Question2Answer platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |