[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/r9k/ - ROBOT9001


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: poolgame.png (13 KB, 805x637)
13 KB
13 KB PNG
i made a pool game
for a school project.
coding class
basically
it had some physics and some math and some pretty cool algorhitms, and uh. well theres friction so the ball stops eventually and uh, there's a power meter you can see it rises and falls

pretty cool game right?
>>
>>82869609
Yeah pretty cool. What language/libraries did you use
>>
Yes. I like it, reminds me of the hours I'd spend playing yahoo pool with strangers
>>
>>82869613
i used C# and something called raylib for graphics
pretty basic stuff, you could do the same thing with python and pygame, or C++ and SDL
>>
>>82869609
congrats anon, it looks very clean, do you have any videos/gifs?
>>
File: levelEditor.png (24 KB, 805x635)
24 KB
24 KB PNG
also made a level editor so you could place stuff to your liking, i was planning to make 3 levels but i didnt have time

i was inspired by the NES game lunar pool which features many levels
>>
>>82869627
sorry no video or gif :(
>>
>>82869609
that's pretty damn cool, good job anon
i remember i had to do a chess game for when i learned OOP back in uni, it's way simpler than pool to implement i think, but it was good to learn the concepts
>>
>>82869609
That's breddy cool anon.
>>
>>82869646
well if i have to be perfectly honest i did rely on chatgpt for some of the collission with the other balls, and also the triangular shaped pieces. that was a bit too difficult for me



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.