G
When comes to compiling the instructions are very detailed how to use scons, to build editor , templates. But how about under hood operation? I’m currently taking course on Zenva to learn more about C++ Learn Object-Oriented C++ by Building a Game, currently in half of it - Inheritance . So I thought, this sounds like much of the concept from Godot. Why not have look, but I’m a bit overwhelmed with amount of files and not sure if start in core, main, scene or somewhere else to get practice.…
G
99Studios: The game is currently planned to have 97 areas, 141 bosses, and 12 endings. Why do you trying to sticking to specific numbers?
G
I think I saw @artemisia make actually polls, maybe you could ask how to do that
G
I forgot about this thread too so here’s some (probably) new content! Also, I took on a challenge to fight my instinctual urge to make more guns than I have maps to use on (most of the new guns I’ve made, prior to this challenge, were only avaliable on one or two of the ~150 maps I started with), trying to finish the first 300 maps of the game by the end of this school year. So there isn’t much new weaponry to show. Some maps here weren’t made by me and were submitted by a friend: Ether03,…
G
Thanks a million. It took some time to find the option in my new Blender version but it worked in the end.
G
Thank you! Yes, a lot of older scripts are just straight messes with 40 lines of untyped variables thrown around at the top :3 I’m going for a nostalgic and brutalist look so that’s good it’s showing! My main inspiration is STRAFTAT which features similar themes, but is also the main gameplay inspiration.
G
Hi everyone! Making pixel UI art and then turning it into a Godot theme has always been one of the slowest (and boring) part of a project for me, so I made a tool for it: Bevelsmith. You pick one of the styles, or drop in a screenshot of your game so the UI uses your own palette, then tweak borders, bevels, shadows, 19 textures and the mouse cursors. When you export for Godot you get: - a ready theme.tres with every Control styled: buttons in all states, panels, tabs, sliders, checkboxes,…
G
Hello Godot community! My game Puzzle Rush was just published to the Google play store this morning and I’m very excited about it play.google.com Puzzle Rush: Block Attack Swap blocks, build chains & combos, and attack rivals with trash blocks... Free Anyone familiar with puzzle league games like Tetris Attack or Pokemon Puzzle League should enjoy this, and it’s packed full of features: - Versus Mode: 12 animal rivals, each with their own 3D world. Chain combos to dump trash blocks on them to…
G
How do you know it’s connecting but not triggering the function? What function are you talking about?
G
I can’t tell from the screenshots exactly which files it lists, but this pattern (the scene won’t open in the editor, yet the game runs fine) is usually a UID mismatch rather than truly missing files. Each ext_resource line in a .tscn stores both a uid:// and a res:// path. At runtime Godot falls back to the path when the UID doesn’t resolve, so the game still works, but the editor’s dependency check flags it. It typically happens when files were moved or renamed outside the editor (file…
G
Control nodes have mouse entered and exited signals. As long as the mouse filters for each set as pass (not ignore or stop), you can track when mouse is on each individual control node. So you can do something similar to what you’d do with 2D collision nodes
G
Godot Version 4.7.2 Question Hellou, I am trying to make a simple drag and drop system with control nodes and I was wondering if one can get all the control nodes under the mouse position. I know there is the gui_get_hovered_control() but that only gets the top one, or the one hovered rather and that doesn’t really work in my case because I am dragging a control node all over so the dragged control node always gets the hover and so far I didn’t find a way to disable the dragged control to not…
G
If you need subviewport for your shader, then it’s ok to have it. But if you only add the subviewport because of the z_index issue, then it’s probably overkill. It may also cause performance issues if you have a lot of ‘characters’ that requires their own subviewport. jonPS: you will have to change your levels front/back background’S to very high values like 1000, -1000 Why that high? You have around 15 body parts. That’s why I said make 50 as your character main node z_index. Then you can add…
G
Looks like this is the new way to set it:
G
subViewPortContainer/subViewPort, Is the only way to go, or you will have to change your levels front/back background’S to very high values like 1000, -1000. And im using viewport texture on a sprite2d to apply the shaders. Plus are you sure that when 2 characters, meet their legs/arms/torso, wont intertwine with each other ?
G
The documentation specifically tells you not to use ini files as save files. I recommend reading the docs that explain saving and loading a game, it was already linked in here. I also recommend giving more context because “it didn’t work” won’t tell us much.
G
real solution: all hail the .ini file
G
What’s you reason to have the floor as a child of the camera? I can’t think of any reason to do that and don’t remember seeing it like this anywhere. I understand what you are doing, player placing objects in the world, but I think you’ll have a much easier life if you have those objects to be placed directly in the world with all the other objects.
G
nevermind, all deleting the JSON got me was a single-use save file. I give up. I’m going to try something else. or just hire somebody. probably that.
G
my JSON was just borked lmao. fixed it
G
I was on that track, but I tried to just directly set it backwards glo.difficulty = data.get(“difficulty”) and it just… didn’t work. Even though “difficulty” was the variable I wanted
G
I don’t really like your attitude. I’m trying to get you to be cooperative so we can solve the problem, but you insist on giving me one-sentence replies. Go read the documentation (such as the link I initially provided). It could help you if you are willing to put in the effort.
G
func example(): var y=3 var x=y y=4 print(x) print(y) 3 4 Assigning an integer value copies the value, it doesn’t link the variables together. Some variable types, like arrays, get passed by reference instead of value by default. You can read more about this here: Godot Engine documentation Object - GDScript reference GDScript is a high-level, object-oriented, imperative, and gradually typed programming language built for Godot. It uses an indentation-based syntax similar to languages like…
G
“The entire script for the save/load logic (if the previous code snippet is not complete)” That, uh… is, everything.
G
Kindly provide more context about your program so we can move forward. There is no way I can debug your problem remotely without having access to, at least, the code that you’re a referring to. Provide the following: The difficulty definition The entire script for the save/load logic (if the previous code snippet is not complete) …any other relevant information. Also, is it possible that you have previously saved a value of 1 to the file and then never overwritten it? I’m not sure how your…
G
The problem is that the savefile and the actual variable don’t actually align. The goal is “3,” but what I get is “1”
G
You mean it’s an Autoload? I assume this means you defined difficulty like this: const difficulty = 3 If this is the case, it makes perfect sense why your savefile contains 3. That’s literally what you’re inserting into the file. What’s the confusion here; and what’s your desired result? I suddenly don’t understand what your problem is. Maybe you can explain this in a more clear manner: blueizcuteio: “difficulty” is 3, but glo.difficulty isn’t “difficulty,” even if literally and directly set as…
G
“glo” is the global variable setup. Also, I don’t know how to cast into an enum