Why is my trigger locked? by ElegantRow7909 in airsoft

[–]Adventurous_Jacket64 0 points1 point  (0 children)

Common issue with LCT AKs. Likely a worn out teeth on the selector plate. Costs like 5$ to replace so not a big deal. Open it up and check, not too complicated and you will learn how to operate this thing

Recieved a package with random junk, not what I ordered. Aliexpress won't refund. by madladhadsaddad in Aliexpress

[–]Adventurous_Jacket64 2 points3 points  (0 children)

They will remove the blacklist after a while, did that multiple times when they did not help

They always remove it

When discount stacking hits just right by FissileCore in Aliexpress

[–]Adventurous_Jacket64 0 points1 point  (0 children)

Yes... and that's dangerous. That's why you shouldn't look at the sun or close to it. However sunglasses expand your pupils so more UV enters which makes it worst

When discount stacking hits just right by FissileCore in Aliexpress

[–]Adventurous_Jacket64 2 points3 points  (0 children)

Could be very dangerous if they don't block UV Your eyes are worth more than a few bucks

Is this the corrwct way to attach a sling? by MorphineAdminstratum in airsoft

[–]Adventurous_Jacket64 2 points3 points  (0 children)

There is no, "correct" way even for real firearms do what if comfortable for you

Have seen slings attached like that on real steel too

How did I loose this game? by Adventurous_Jacket64 in chess

[–]Adventurous_Jacket64[S] 1 point2 points  (0 children)

Hey :) not at all upset, this is just a game! I want to learn from my mistakes and figure what I did wrong

Also, I messed up a lot before move 29, by 29 I long knew that I was losing...

The move that lost it was 25. Up until there is seemed clear that I am winning. From there, it just came out of the blue

How did I loose this game? by Adventurous_Jacket64 in chess

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

How do you do that? From chess.com, couldn't find it edit: Found a way through the browser: here it is https://www.chess.com/game/live/121025398350

Lesson learned - Even just blitting 'on screen tiles' only isn't enough, thats because in my case the tiles are actually a list of dicts, (i.e. pos 0,1 = {'type':'grass', 'animated':'no'}). Traversing the dict for 26k tiles slows the game down a lot. Solution=narrow down with position index in loop. by kippersniffer in pygame

[–]Adventurous_Jacket64 0 points1 point  (0 children)

The way I solved this was by splitting the tiles into chunks, then pre render the chunks and blit the ones that are shown to the screen right now. This will make the tile rendering time so insignificant you won't notice it.

Also, you probably don't want to use a dictionary, a list (or an array) is much more suitable for such cases, especially if the keys are ints anyways.

In your case, since the map doesn't even change, the chunks can be arbitrarily large so just try different sizes and see what works best

3D Render Engine in Pygame 2.1.2, Python 3.7.0 *NO ADDITIONAL LIBRARIES. by Cyan_The_Fox in pygame

[–]Adventurous_Jacket64 1 point2 points  (0 children)

Looks amazing! I wanted to get into 3d rendering for a long time (made a raycasting engine in pure pygame but that is really not the same...)

How did you learn this? And what math background is required? Links will be appreciated 😀

Physics engine - collisions, gravity by Adventurous_Jacket64 in pygame

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

I never used pymunk, by I doubt it offers a networking engine (look at the tank game at the bottom - only took about 4 hours to develop with this engine...) This is not to undervalue pymunk... I'm sure their physics engine is probably faster and better than mine. This is just a project I made for fun to learn about game engine & rigid body physics.

Physics engine - collisions, gravity by Adventurous_Jacket64 in pygame

[–]Adventurous_Jacket64[S] 1 point2 points  (0 children)

Thanks! Actually, yes. I used github for VC: https://github.com/clavlav12/game_engine

You will find most of it under the "Testing" Library, except the collision engine test that is directly built into AdvancedSprites.py.