Search found 4171 matches

by albinopapa
July 14th, 2020, 1:06 pm
Forum: Everything
Topic: Implicit call on object declaration
Replies: 2
Views: 11

Re: Implicit call on object declaration

I can't seem to find the exact reason, but it seems that you must use copy initialization or list initialization when giving default values to class members. Initialization Copy initialization: Animation marleRight = Animation(0,0,32,48,4,surf,0.1f); List initialization: Animation marieRight = { 0, ...
by albinopapa
July 11th, 2020, 3:33 am
Forum: Everything
Topic: Git failed with a fatal error
Replies: 3
Views: 454

Re: Git failed with a fatal error

Wow, I would be also
by albinopapa
July 5th, 2020, 6:11 pm
Forum: Everything
Topic: Raycaster In Chili Framework
Replies: 3
Views: 60

Re: Raycaster In Chili Framework

There's another youtuber that goes over ray casting to make a game like wolfenstein 3d, "The Coding Train" if I recall.
by albinopapa
June 26th, 2020, 4:38 pm
Forum: Everything
Topic: Awesome tutorials
Replies: 2
Views: 72

Re: Awesome tutorials

Hey Art, welcome to the community.
by albinopapa
June 21st, 2020, 2:38 am
Forum: Everything
Topic: Anyone like music?
Replies: 2
Views: 134

Re: Anyone like music?

That's pretty neat as well. I didn't read the code on that one, I'll have to rewatch it.
by albinopapa
June 15th, 2020, 3:10 am
Forum: Everything
Topic: Anyone like music?
Replies: 2
Views: 134

Anyone like music?

Mili - sustain++

K, trolling a bit, but this music video has some C# or Java style code in the video, though it was kind of neat how the code went along with the lyrics.
by albinopapa
June 11th, 2020, 5:30 pm
Forum: Everything
Topic: Snek game bug
Replies: 1
Views: 91

Re: Snek game bug

Not sure what the bug is. If something is happening that is unexpected, you could run through the debugger and check values of variables. When you have issues you can't solve on your own, it's best to upload a cleaned solution or a link to a github repository instead of posting code that might not e...
by albinopapa
June 10th, 2020, 5:47 pm
Forum: Everything
Topic: SFML Project help (or FML project... at the moment)
Replies: 8
Views: 198

Re: SFML Project help (or FML project... at the moment)

Definitely use those assertions. As stated, I haven't made it to doing TDD myself. I rely on assertions and the debugger. It's odd, I've been running across some posts around the web claiming you shouldn't rely on the debugger and instead do your own testing ( TDD ). I still like using the chili fra...
by albinopapa
June 10th, 2020, 3:03 am
Forum: Everything
Topic: SFML Project help (or FML project... at the moment)
Replies: 8
Views: 198

Re: SFML Project help (or FML project... at the moment)

Yeah, there is one more step in programming that I haven't yet ventured into, Test Driven Development. In TDD, you write tests for each "feature" of your program and verify that they pass or fail as expected. Say you have a class that takes an float. class Angle { public: Angle() = default; Angle( f...