I don't want to talk to anyone. People leave me alone.
I've put the source code for this game (with tutorial documentation) on quark.com/s/618fb9459029
Subdivision:
Snow in the evening in the neighborhood:
Nights in the neighborhood:
Home:
Downtown:
City streets:
Suburbs:
(i) Declarations
The 3D model of the neighborhood scene is from the unity package from UnityStore: Low Poly Japanese Housing Complex. a lot of people are using it, so it's not plagiarism for this same scene to appear in my game and other people's games. And that's just a 3D model, the program has to be written by yourself, everyone writes a different program.
City center, city streets, suburb scene from UnityStore's unity package: 258316_Anime_Tokyo_(Japanese_City), there are also a lot of game developers using this scene 3D model.
The character 3D model is from the common and commonly used 3D character model on the web, I did the bone binding, skinning, walking animation.
The snow program is from unity package: Global Snow and the sky box is from unity package: AllSky.
(ii) Basic operations
W key (long press): go forward.
S button (long press): go backwards.
A key (long press): turn left.
D key (long press): turn right.
Mouse left, right, up and down to control the camera view (screen view), the character forward direction automatically towards the camera view.
Arrow keys on the right side of the keyboard: up: raise the camera view, down: lower the camera view, left: pull the camera view closer, right: pull the camera view farther.
F key (click): switch between third person view and first person view. The third person view is good for using on the street and the first person view is good for using at home.
Space bar (click): displays or closes the input and output boxes for the text (not displayed by default, you need to click the space bar to display it). After entering the text, press the Enter key to send it.
M button (click): background music, keep pressing, is the next background music.
Numeric key 1 (click): cell scene (default scene).
NUMBER KEY 2 (click): downtown scene.
Number key 3 (click): City street scene.
NUMBER KEY 4 (click): suburban scene.
Esc key (click): exit the game.
In the cell scene:
H-Button (click): One click to go home during the cell scene.
G button (click), the hero and heroine separate and the heroine stays where she is. After the male protagonist walks away, press G a second time, the female protagonist will automatically find her way to the male protagonist and get to him.
J button (click): the heroine changes her costume in one click.
K key (click): Each click changes the sky color. Light night → night → day → evening → night → early morning → day → cloudy.
L button (click): Switch between normal scenery and snow scenery.
(iii)
You can run this game directly from the play folder even if you don't have the unity editor installed.
A unity source code can only be adapted to one editor version, this source code is adapted to 2022.3.38, other versions of open this source code, will fail.
When unity imports this project, instead of importing any specific startup file, it opens (imports) the DreamStart folder directly with the unity Hub (unity launcher).
If the unity editor doesn't show the scene, just manually open the park scene file in the Scenes folder in the park folder in the editor.
In the unity editor interface, don't maximize the window before running the game, it won't run. But you can maximize the window after playing the game.
The blue color on the ground is the ground that is baked by autopath, the game does not show that blue color when running.
(iv) Discourse analysis
Discourse analysis is useful. If you are the captain of a game with NPC teammates Zhang San and Li Si, and you encounter a snake on the road, you can say "Zhang San fights the snake, Li Si protects Zhang San." This requires the subject, predicate, and object to be analyzed before the program can process it.
When you are done typing, press enter to send.
Example:
Input: Cat Eats Mouse
Show: subject: cat, predicate verb: eat, object: mouse
Enter: white cat eating black mouse
Show: subject: cat, predicate verb: eat, object: mouse, adjective of subject: white, adjective of object: black
Input: two cats eating three mice
Show: subject: cat, predicate verb: eat, object: mouse, count word for subject: 2, count word for object: 3
Input: Zhang San's cat eats Li Si's rat
Show: subject: cat, predicate verb: eat, object: mouse, noun ownership of subject: zhang san, noun ownership of object: li si
Input: Zhang San gives Li Si an apple
Show: subject: Zhang San, predicate verb: give, indirect object: Li Si, direct object: apple
Input: Zhang San asked Li Si to clean the classroom
Show: subject: zhang san, predicate verb: let, object: li si, object complement verb: clean, object complement noun: classroom
Input: Zhang San eating at school in 2024
Show: subject: Zhang San, predicate verb: eat, time: 2024, place: school
If the analysis doesn't show up, maybe the words aren't in the thesaurus. You look for the verb to split the sentence, then you look for the noun, so if the verb is not in the thesaurus, even if the noun is in the thesaurus, it's useless.
The connected standalone database is, is sqlite standalone database, that is, in the game file of the user's computer, without network, without installing services, without configuration, directly available database.