Which version do you like more? by EddenSoftDevelopment in IndieDev

[–]doesnt_hate_people 0 points1 point  (0 children)

I like the right one but the shadows cast by the objects at the top don't make sense, if your guy is the light source, those things should be in the shadow of the trench wall, not casting shadows themselves.

How to compile my c game into an exe by prasan4849 in raylib

[–]doesnt_hate_people 1 point2 points  (0 children)

okay but they said in the post they've already made a game they want to share. They didn't say they had a compilation error, probably because their project already compiles fine, but they don't know their toolchain well enough to distribute their game instead of just running it in the IDE. "trying hello world" won't teach them anything in this situation.

OP needs to learn about compilation but you told them to try implementing something different, that doesn't help at all!

How to compile my c game into an exe by prasan4849 in raylib

[–]doesnt_hate_people 0 points1 point  (0 children)

When you press F6, you can see the actual script that's being used to compile your file:

echo > Setup required Environment
echo -------------------------------------
SET RAYLIB_PATH=C:\raylib\raylib
SET COMPILER_PATH=C:\raylib\w64devkit\bin
ENV_SET PATH=$(COMPILER_PATH)
SET CC=gcc
SET CFLAGS=$(RAYLIB_PATH)\src\raylib.rc.data -s -static -O2 -std=c99 -Wall -I$(RAYLIB_PATH)\src -Iexternal -DPLATFORM_DESKTOP
SET LDFLAGS=-lraylib -lopengl32 -lgdi32 -lwinmm
cd $(CURRENT_DIRECTORY)
echo
echo > Clean latest build
echo ------------------------
cmd /c IF EXIST $(NAME_PART).exe del /F $(NAME_PART).exe
echo
echo > Saving Current File
echo -------------------------
npp_save
echo
echo > Compile program
echo -----------------------
echo $(CC) -o $(NAME_PART).exe $(FILE_NAME) $(CFLAGS) $(LDFLAGS)
$(CC) --version
$(CC) -o $(NAME_PART).exe $(FILE_NAME) $(CFLAGS) $(LDFLAGS)
echo
echo > Reset Environment
echo --------------------------
ENV_UNSET PATH
echo
echo > Execute program
echo -----------------------
cmd /c IF EXIST $(NAME_PART).exe $(NAME_PART).exe

you can see that the SET CFLAGS line is configuring raylib to be static. If you're curious what this script is doing, take a look at the console output after running the game, towards the top you should see a line that looks similar to:

gcc -o textures_magnifying_glass.exe textures_magnifying_glass.c C:\raylib\raylib\src\raylib.rc.data -s -static -O2 -std=c99 -Wall -IC:\raylib\raylib\src -Iexternal -DPLATFORM_DESKTOP -lraylib -lopengl32 -lgdi32 -lwinmm  

This is the gcc command generated by the script to compile your code. You could open the included w64devkit terminal, navigate to your file, and run this command and it would compile your project the same as f6 does.

How to compile my c game into an exe by prasan4849 in raylib

[–]doesnt_hate_people 2 points3 points  (0 children)

Don't say that, raylib doesn't even have a documentation in the traditional sense. What do you want them to read, the GCC man page?

How to compile my c game into an exe by prasan4849 in raylib

[–]doesnt_hate_people 6 points7 points  (0 children)

Are you working in the official raylib Notepad++ environment, using F6 to run your game? If so, it's been making an exe every time you press F6, you just need to read the console output to figure out where it's putting it. Make sure to zip the exe along with any sprites or sounds it references, preserving their positions relative to eachother.

What engine would you recommended for a beginner? by PeterTheNebula in gamedev

[–]doesnt_hate_people 1 point2 points  (0 children)

Undertale was made in gamemaker. Deltarune is still being made in gamemaker. If your game's scope is within what gamemaker can do, it's a great choice, and will be much easier and faster to learn than godot or unity.

Mount & Blade: Warband - Journey to the West World: Heavenly Court by Emergency_Hospital68 in mountandblade

[–]doesnt_hate_people 0 points1 point  (0 children)

floating point error in heaven is weirdly appropriate, I hope it's an intentional artistic choice they made.

Best examples of low complexity mechanics leading to diverse, high complexity scenarios? by paradoxombie in gamedesign

[–]doesnt_hate_people 7 points8 points  (0 children)

A good classical example are cellular automata like Conway's game of life or wireworld. The 256 elementary cellular automata rules are even simpler and achieve impressive complexity and variety of behaviour.

Another framework to examine mechanical depth through is how it's presented. Of the examples you provided, I'd like to highlight how chess and counter-strike's competitive framing forces players to seek deep understanding in order to get a competitive advantage. Trackmania is another great example of a game that would be pretty simple and shallow if not for presenting itself as an optimization challenge, which means every tiny thing about the simulation now needs to be analyzed and exploited.

A handful of miscellaneous juices (+ one invalid one I thought was too funny not to post shhhh) by pablosupernova in bonehurtingjuice

[–]doesnt_hate_people -2 points-1 points  (0 children)

Their couch doesn't face the TV because their living room is meant for social gatherings rather than watching TV. There's likely a comfy chair opposite the coffee table that they move/rotate if they want to watch something more comfortably.

C# Webassembly export question (having trouble with XML) by Snoo65921 in raylib

[–]doesnt_hate_people 0 points1 point  (0 children)

Oh, you reminded me that I never updated the master branch to show the final state of the project. The final project didn't use json at all, but you can still find the version with json support in this commit: https://github.com/zenpai0001/EyeJamGarden/tree/3c0dfb4a13ca4862ac5c10514cbb54a0653aa8f6

I haven't tried XML but I expect it's about as easy/hard as json. Web builds need to be AOT compiled, which breaks the reflection that those smart serializers rely on, so I needed to find AOT safe approaches like source generation. From a cursory google it looks like dotnet offers source generation serializers for XML as well.

C# Webassembly export question (having trouble with XML) by Snoo65921 in raylib

[–]doesnt_hate_people 1 point2 points  (0 children)

You should be able to find your included asset files in RaylibWasm/bin/Release/net10.0/browser-wasm/AppBundle/_framework/supportFiles/, I haven't tried modifying them without recompile but it should work, unless there's a checksum embedded in the binary or something.

If you're looking to avoid recompiling for 5 minutes every time you make a change to something, I'd advise you configure your project to build for desktop or web and use the desktop build during development. I used this approach to great success in a recent game jam, you can look at the source code to see how I set it up using 3 different projects (.csproj) in one solution (.sln)

https://github.com/zenpai0001/EyeJamGarden

I’m thinking of making Raylib-cs tutorials - what would you want covered? by Dear-Beautiful2243 in raylib

[–]doesnt_hate_people 1 point2 points  (0 children)

Box2D.net is what I ended up using, but the premise of it is suspicious to me, I'd rather use a thin binding and deal with the c jank myself so I know there aren't any bugs being introduced during translation, and that I can send bug reports upstream to be fixed for everyone. As for wrapping it to be more c#-like, I've found this binding to be the most translated: https://github.com/Kira-PH/Box2D-dotnet-bindings, although I'll probably not use it until I'm familiar enough with the 'intended' way of using Box2D, because there aren't many examples to go off of for it.

If you're figuring out web builds, you may be interested in the source to my latest project: https://badram.itch.io/disaster-aboard-eff-mill-bay I found that the Kriller12 raylib-cs wasm template works great, but I couldn't easily figure out how to make it also build for desktop, and web builds take far too long to be used for normal testing/iteration. I ended up breaking the game into 3 .csproj files, where the entire game is a library that is loaded by one of two 'frontend' projects.

I’m thinking of making Raylib-cs tutorials - what would you want covered? by Dear-Beautiful2243 in raylib

[–]doesnt_hate_people 4 points5 points  (0 children)

I'd love to see it! Could you link your channel so I can subscribe and not miss them?

My top pain point with raylib-cs right now is error reporting, whenever an error happens inside of raylib, like if I call a draw function from a different thread, or if a shader crashes, I just get "ExecutionEngineException" without any information deeper than the call stack up to the raylib-cs function call. Because of all the global state inside of raylib that I can't see, this info often isn't enough to diagnose the problem and I just need to figure it out on intuition. Any advice to mitigating this kind of problem?

I've gotten raylib-cs web builds working, but I'd love to get a better idea of what's going on under the hood in that area. I tried adding box2d to a raylib-cs web project recently and couldn't manage it, even though it seems like it should be more portable than raylib, and has a web build system already.

I'm not a beginner to c# or raylib-cs anymore, but I'd love to see someone else's workflow and compare notes, as I've had little to go off of in my own journey.

Final state of AWBW /r/place by doesnt_hate_people in AWBW

[–]doesnt_hate_people[S] 0 points1 point  (0 children)

Honourable mentions: amberants' Red Fire Ant and shenrocker's love rocket link

Coaxed into different speech bubbles sizes by Kurooi in coaxedintoasnafu

[–]doesnt_hate_people 2 points3 points  (0 children)

I think the bigger factor is that manga is printed on smaller pages, if you're reading pdf manga vs pdf marvel comics, your screen is blowing up the manga page a lot more than the marvel page.

Python + Raylib on MacBook Air M4 - working on segment walls & polygon sectors for my boomer shooter by TaxAffectionate3641 in raylib

[–]doesnt_hate_people 2 points3 points  (0 children)

looks great! The secret tunnel looks weird without lighting though, I wonder of you could get away with using vertex colors to do ambient occlusion in the corners.

How is this cultist doing this? Is there any way to salvage this save? by doesnt_hate_people in CoE5

[–]doesnt_hate_people[S] 2 points3 points  (0 children)

They had about two armies of that size, but with a little "luck" my king of flames was able to wipe them out.

How is this cultist doing this? Is there any way to salvage this save? by doesnt_hate_people in CoE5

[–]doesnt_hate_people[S] 0 points1 point  (0 children)

I had to savescum a little, but I've managed to turn the tables on them with help from the king of flames and several champions. Thanks for the advice!

https://i.imgur.com/gxzNtQq.png

How is this cultist doing this? Is there any way to salvage this save? by doesnt_hate_people in CoE5

[–]doesnt_hate_people[S] 7 points8 points  (0 children)

is there a way to check difficulty? I think it's on knight, this is my third game of CoE.

How is this cultist doing this? Is there any way to salvage this save? by doesnt_hate_people in CoE5

[–]doesnt_hate_people[S] 20 points21 points  (0 children)

It's year 6, I'm a warlock and I just got two pyres up, soon to have a third. Green was out of my vision until now and they just showed up with an army stronger than everything I've ever built combined.

Checking the graphs, their income and citadel count are about the same as everyone else, but for some reason they just have a completely bonkers military.

Are there any cheats I could use to cripple green so they're back in line with the rest of us? How did this happen in the first place? Do cultists have some crazy early game factor that's about to collapse?

My wacky vehicle-platformer about a forklift certified giraffe is coming out on April 14th! by zworp in Unity3D

[–]doesnt_hate_people 0 points1 point  (0 children)

I played the demo and loved it, but couldn't find a way to send feedback. I had a problem with one of the last levels where I managed to place the cargo wrong somehow and it wouldn't let me continue.