Search found 3948 matches
- February 9th, 2020, 7:23 am
- Forum: Everything
- Topic: My first game!
- Replies: 9
- Views: 5363
Re: My first game!
For the inputs, you want to use an event-driven system. The keyboard/mouse already supports events, you just loop through all events every frame and process the ones you're interested in. The rules for tetronimo is, every 14 tetronimos you will see each type twice. So generate a sequence of each typ...
- February 8th, 2020, 7:29 am
- Forum: Everything
- Topic: Learning and messing around
- Replies: 34
- Views: 21572
Re: Learning and messing around
Seems like you got a few mechanics coded up nicely there. Could definitely be worked into a more polished little game.
Not sure how it's supposed to be beat tho. Maybe some feedback on when you're doing damage to the enemy or on what the actual goal is.
Not sure how it's supposed to be beat tho. Maybe some feedback on when you're doing damage to the enemy or on what the actual goal is.
- February 8th, 2020, 7:25 am
- Forum: Everything
- Topic: My first game!
- Replies: 9
- Views: 5363
Re: My first game!
Cool stuff man. Got some nice polish on this one. Sound effects sound like they are from Tetris 99 :D The animation for clearing is nice too. I think the input on the left/right movement is a little sluggish. Rotation is fine, but fast dropping maybe a little to fast. Also, how are you generating th...
- January 23rd, 2020, 6:02 am
- Forum: Everything
- Topic: C++20 Ranges Makes My Wiener Feel Funny and I Like It
- Replies: 3
- Views: 2066
Re: C++20 Ranges Makes My Wiener Feel Funny and I Like It
To each their own I suppose, but pipes are a very natural choice if you've spent any time with a linux/unix shell cli environment.
- January 22nd, 2020, 9:01 am
- Forum: Everything
- Topic: C++20 Ranges Makes My Wiener Feel Funny and I Like It
- Replies: 3
- Views: 2066
C++20 Ranges Makes My Wiener Feel Funny and I Like It
#include <iostream> #include <vector> #include <range/v3/all.hpp> #include <algorithm> #include <iterator> #include <functional> #include <memory> struct Foo { Foo(int a, int b) : a(a), b(b) {} int a; int b; }; int main() { namespace rn = ranges; namespace vi = ranges::views; auto v1 = vi::ints | v...
- January 22nd, 2020, 8:55 am
- Forum: Everything
- Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
- Replies: 9
- Views: 4036
Re: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Damnit did I fuck something up >:[
- January 16th, 2020, 7:55 am
- Forum: Everything
- Topic: weird issue with vertex shader
- Replies: 5
- Views: 2928
Re: weird issue with vertex shader
Saves me the trouble of cloning
Eventually I'd like to have some kind of analysis in place that checks for missing bindables like this.
Eventually I'd like to have some kind of analysis in place that checks for missing bindables like this.
- January 14th, 2020, 12:41 pm
- Forum: Everything
- Topic: What to do?
- Replies: 28
- Views: 10339
Re: What to do?
I've been cockblocked by the inability to forward declare inner classes in the past. It's another indication that I need to curb my inner class fetish.
- January 14th, 2020, 12:39 pm
- Forum: Everything
- Topic: weird issue with vertex shader
- Replies: 5
- Views: 2928
Re: weird issue with vertex shader
It sounds to me like you're missing some crucial bindable with your box. When you draw with other entities those entities bind it and then it carries over to your box draw.
Sharing code over a pdf filled with screencaps is weird. Post a link to your repo on github.
Sharing code over a pdf filled with screencaps is weird. Post a link to your repo on github.
- December 27th, 2019, 4:26 pm
- Forum: Everything
- Topic: Merry Christmas!!!
- Replies: 7
- Views: 3362
Re: Merry Christmas!!!
Merry xmas man, hope you had a good one with the fam.