GithubHelp home page GithubHelp logo

lcyhjx / wheatcloudsleep_correcting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wheatbox/wheatcloudsleep

0.0 0.0 0.0 24.03 MB

小麦云睡觉软件,很无意义的那种

License: MIT License

C++ 23.88% C 22.96% Game Maker Language 32.13% CMake 0.57% Yacc 20.46%

wheatcloudsleep_correcting's Introduction

WheatCloudSleep

最新的开发进度请切换到 cmake-asio-server 分支查看!master分支仅作为阶段性的代码暂存

停服了,正在整改

十分感谢 B1aNB1aN 和 ymx-mshk 的帮助!!Very Thanks for B1aNB1aN And ymx-mshk!!

Wheat Cloud Sleep software, which is meaningless. All you need to do is just open the software and lie down to sleep.

小麦云睡觉软件,很无意义的那种,你需要做的就是打开软件,然后躺下来睡觉。

Server(C++) Source Path: 服务端(C++)源代码路径: ./Source/Server/CloudSleepServer/

Client(GameMaker) Source Path: 客户端(GameMaker)源代码路径: ./Source/CloudSleep/

那么我该如何进入官方寝室睡觉呢?

在这期视频的简介区可以下载到编译后的可执行文件 https://www.bilibili.com/video/bv1rT411F78r

The compiled executable can be downloaded in the introduction area of this video: https://www.bilibili.com/video/bv1rT411F78r

进入寝室后如何睡觉?

鼠标左键 - 拖动视角 | Mouse Left Button - Move Camera

鼠标右键 - 移动 或 睡觉 或 起床 | Mouse Right Button - Move Or Sleep Or Getup

鼠标滚轮 - 缩放 | Mouse Wheel - Zoom

Space键 - 视角跟随睡客 | Space Key - Camera Follow Sleeper

Enter键 - 聊天 | Enter - Chat

关于文本输入框

文本输入框使用的是 bilibili UP主 星竍 的代码,这里是BV号:BV1qP4y1s7jt,我使用的是仅单行版本

文本输入框的仅单行版本原版代码里面有个BUG(我不知道别的版本有没有),那就是当镜头的位置不是(0, 0)的时候,虽然文本输入框绘制的位置依然在镜头上,但是判定没有跟随上,还在原来的位置

当然这个BUG可能是因为我用的方式不对,因为好像看星竍他本人的视频里就从没出现过这种情况,额……也不知道为啥,算了不管了

这里我是在 名为 textbox 的 Object 里的 Step事件,修改的前两行,有兴趣可以看一下,注意此处的 GetPositionXOnGUI() 和 GetPositionYOnGUI() 是我自己写的函数,非GameMaker内置,同时如果你要用这两个函数的话要注意一下这两个函数是和镜头绑定的,请确保镜头开启

wheatcloudsleep_correcting's People

Contributors

wheatbox avatar ymx-mshk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.