28
u/NvrConvctd Sep 13 '21
Man, You suck!
But seriously, cool game. Work on those spawn points though!
7
4
1
27
u/acroporaguardian Sep 13 '21
Neat, so you used raylib.
I will have to check that out sometime.
9
1
u/dromance Feb 29 '24
How’d you know it’s raylib?
1
15
u/ptchinster Sep 13 '21
My bot should link this whenever somebody asks "how do you do graphics in C?"
2
5
u/FStorm045 Sep 13 '21
gimme your learning resourses
6
u/siddharthroy12 Sep 14 '21
Internet
2
u/halucciXL Sep 14 '21
pls elaborate this looks really cool
5
u/siddharthroy12 Sep 14 '21
I have used a lot of resources available on the internet
4
u/halucciXL Sep 14 '21
Would you be able to link any or mention any?
3
u/siddharthroy12 Sep 14 '21
Sorry I don't remember any
2
u/halucciXL Sep 14 '21
All good!
7
u/siddharthroy12 Sep 16 '21
"c programming a modern approach 2nd edition" is the book I highly recommend for learning C
1
2
u/RstarPhoneix Sep 13 '21
Name of OS plz ?
5
u/siddharthroy12 Sep 13 '21
Linux Mint
2
u/RstarPhoneix Sep 13 '21
How did you learn such advanced C ? Can you share your journey?
8
u/siddharthroy12 Sep 13 '21
I started coding when I was in 7th grade now I'm in first year of college
And it was tuff when I first started because I'm self taught but I eventually got better.
So In the end I did a lot of practice by making projects
Start from small dumb projects to big complex projects
Now I just impress my noob classmates at college by my superior coding skills lol
2
u/RstarPhoneix Sep 13 '21
I would love to see you on YouTube.
3
6
1
u/GaminKnee May 16 '25
We just started using C, im new to this and want to ask is all of this just C? No other language? And its all contained in just code and no externals?
2
u/siddharthroy12 May 16 '25
Just C. I'm using raylib for graphics and audio which is also written in C and it's inluded in the repo so all you need to do to compile it to just clone and follow the setups in the readme
1
1
u/batman-not Nov 27 '23
Hi OP, how long did it take for you to completely develope this game?
1
u/siddharthroy12 Nov 27 '23
First commit: Aug 29 2021
Last commit: Oct 3 2021
So around 1 month
1
Jan 18 '24
That’s how long it took me to develop a winsock file sharing GUI app. Pure winapi, no libraries except my own, and of course.. cJSON. I put the build date in the about dialog at the time I started, it aligns this timeframe (only Oct 2023) lol. That’s interesting.
1
u/dromance Feb 29 '24
How does winsock file sharing work
1
Mar 02 '24
Uses the sockets API built into Windows (updated a few times and finalized by 1997). Your best bet is to print the full protocol spec sheets and study one night. It was about 8 pages for me. Now I breeze through it. It’s good knowing how NAT and the firewall api plays a role as well.
2
2
Sep 13 '21
Greetings, Starfighter. You have been recruited by the Star League to defend the frontier against Xur and the Ko-Dan armada.
2
2
2
2
2
2
2
Sep 14 '21
i want to dip my fingers in c and seeing fun, simple and intelligent stuff like that pumps my motivation. good work.
2
u/nantrippboi Sep 14 '21
I can see a esport out if this. Anyone want to spawn camp that arrow thing?
2
2
2
1
1
1
1
1
1
u/dromance Feb 29 '24
This is awesome. Simple yet fluid and exciting. Constantly having to evade being shot makes it interesting
1
u/dromance Feb 29 '24
How exactly does the map render as you scroll across ? Is all that already loaded in memory or does it load or render in real time as you move across the map?
11
u/siddharthroy12 Sep 13 '21
Source and binaries: https://github.com/siddharthroy12/kosmos