[Pygame practice] laughing at the trembling little game "don't stop, eight note sauce", tearing, roaring and running with tears!
Introduction 🎼
Hi, big babies, it's the weekend again. Did you have a holiday today?
Weekends are always idle, idle. I've been thinking about playing some games to give you something new. Isn't that right?
Play games, find games, find materials and write code. Have you heard of this game?
Voice controlled 2D action game, its name is &quo ...
Posted by darkwolf on Fri, 22 Oct 2021 22:44:03 -0700
Chapter 5 DirectX lighting, materials and textures
In the computer three-dimensional world, if you want to simulate a real object and make its surface look more realistic, you need to use the "texture mapping" technology. In short, it is a way to map 2D images onto 3D objects. Generally speaking, texture is one or more 2D images representing the surface details of an object, also know ...
Posted by aftabn10 on Fri, 22 Oct 2021 01:47:57 -0700
Chapter 5 DirectX lighting, materials and textures
Using lighting in 3D scene is very simple. We don't need to assign color values to each vertex of the model object. As long as we use some kind of lighting and set the material of the model object, Direct3D will calculate the color value of each vertex according to the lighting model algorithm to make the model produce color. As we have roughly ...
Posted by marlonbtx on Fri, 22 Oct 2021 01:23:30 -0700
Chapter III DirectX graphics rendering
In the computer 3D world, all object models are approximated and represented by polygon meshes, which can be triangles or quadrangles. Polygon mesh is the basic unit of object model. From the perspective of storage, the essence of 3D model is realized through vertices. In Direct3D, Vertex Buffer is used to store vertex data. Vertex data can be ...
Posted by rick007 on Thu, 21 Oct 2021 09:20:11 -0700
Online Snake Snake
Summary
Suddenly I found that my snake was not online yet, so I made up a simple online snake program.
Main Implementation Requirements
The server's user link logic (main loop) and game run logic (in n threads) maintain a customer information vector s and a game information map. A match can have two users (as many as possible can expand ...
Posted by carefree on Thu, 14 Oct 2021 09:14:24 -0700
Python can't play games? The of game practice ---- ink spin
    Hi, guys, good morning, good noon and good evening,
    Through the study of Pygame in the first two chapters, we understand its basic use, and attach the link:
    1. Python can't play games? Make a game in an hour!
    2. Python can't play games? Do you know the objects in Pygam ...
Posted by cigardude on Sun, 10 Oct 2021 07:06:25 -0700
Use pygame to make the game in your heart ~ can it be included in your favorites
Use pygame to make the game in your heart ~ can it be included in your favorites
Chapter 1 basic operation of pygame Chapter 2 pygame creating character display (to be updated)
pygame basic usage operation
Does anyone like me learn programming to make games? c + + is the mainstream development of the game industry, but pygame has s ...
Posted by ingoruberg on Tue, 14 Sep 2021 19:59:06 -0700
[PyQt5] I'll teach you a trick. Use the timer to play a little game against gophers
Recently, when working on a project, you need to constantly refresh the interface and continuously trigger a function within a certain period of time. According to the previous idea in Python, the first reaction is to use the time function, but the actual effect is not good and often gets stuck. Later, you try to use the built-in timer in pyqt5 ...
Posted by Mobile on Mon, 06 Sep 2021 18:53:12 -0700
Test Page 2 on Game Development (C++)
Test Page 2 on Game Development (C++)
1. The function of the following prim function is to decompose the prime factor.What should be in parentheses?
void prim(int m, int n)
{
if (m >= n)
{
while ( ) n++;
( );
prim(m, n);
cout << n << endl;
}
}
A: m%n, m/=n.
What ...
Posted by micki on Mon, 06 Sep 2021 09:47:28 -0700