- 博客(10)
- 资源 (2)
- 收藏
- 关注
原创 unity遇到的两个问题
1.FixedUpdate()里经常检测不到GetKeyDown和GetKeyUp,在FixedUpdate()里写了跳跃的功能,老是跳不起来,最后写在Update()里才解决。2.OnCollisionEnter(Collision other)一直检测不到碰撞,没法跳跃。最后我一想只要角色y坐标不变,不就在地上了吗?这种办法有个问题就是走斜坡或者其他复杂场景可能需要停下来才能跳跃。
2025-05-13 23:46:55
178
1
原创 【C++自制小游戏】
本人大学时期花大半年时间所写成的一个C++黑窗口小游戏(半成品,本来打算写一万行代码,只写了六千多行),现在免费分享给大家。写文章时资源刚刚上传,还未审核通过,可以在我的资源找一下!
2024-01-07 23:44:23
619
原创 软件工程综合实习【含源代码,实习手册和实习报告】
大学时软件工程综合实习的大作业,包括自己写的游戏源代码,本科实习手册,和实习报告,现在免费分享给大家参考。
2024-01-07 23:15:48
1008
1
原创 一个能够存档的小实验
#include <stdio.h>#include <stdlib.h>#include <iostream>using namespace std;int Map[2][25]={0,0,0,0,1,0,2,0,3,0,0,0,0,0,0,0,4,0,6,0,0,0,10,0,0,0,0,0,0,0,0,7,0,7,0,0,0,0,0,0,0,7...
2020-03-19 19:51:19
193
翻译 离散数学实验2
#include <iostream>#include <string.h>#include <cstdio>#include <cmath>using namespace std;const int N=410;int mp[N][N];int ans[N];int vis[N];int start;int end;int n...
2020-03-18 11:10:12
292
原创 离散数学实验
#include <iostream>using namespace std;char c[5][5];int banqun=0;///是否为半群int duyi=0;///是否为独异点int yao;///确定幺元void Ifre(){ int flag=0; for(int i=0; i<4; i++) { if(c[...
2020-03-18 11:08:55
775
原创 超级玛丽
#include <stdio.h>#include <stdlib.h>int map[7][11]= {1,1,1,1,1,1,1,1,1,1,1, 1,0,0,0,0,0,0,0,0,0,1, 1,0,0,0,0,0,0,2,0,0,1, 1,0,5,0,0,0,...
2020-03-18 11:06:43
197
原创 狼吃羊
#include <iostream>using namespace std;int map1[7][7]= {01,01,01,01,01,01,01, 01,11,12,13,14,15,01, 01,16,17,18,19,20,01, 01,21,22,23,24,25,0...
2020-03-18 11:04:44
371
原创 自己做的小游戏,暗迷宫
#include <iostream>using namespace std;int map0[10][10]= {0,0,0,0,0,0,0,0,0,0, 0,2,6,2,10,10,10,8,7,0, 0,3,3,3,10,2,10,10,8,0, 0,10,1,3...
2020-03-18 11:03:51
157
原创 自己写代码遇到的一个问题
#include <iostream>#include <bits/stdc++.h>using namespace std;string s,s0;char ss;int cnt=0;/*int shuzi(char c){ if(c=='a'||c=='A') return 1; if(c=='b'||c=='B') return 2; ...
2020-02-28 17:02:59
324
软件工程综合实习报告(包括本科生实习手册,源代码,使用说明书以及实习报告)
2024-01-06
MIPS CPU设计(HUST)
2021-01-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅