Closed cs6413110 closed 2 months ago
when done
This will take a while
Progress: Login nearly finished
Need a new pause menu,
cringes in lack of effort
Just have to htmlify chat and do some minor touch ups on the inventory menu
@BreadSpam I could use help with the css math for this.
thinking something like...
<div id='messages'>
<div id='message' style='background-color: black; opacity: .2;'><span style='color: ${color}'></span></div>
</div>
we need to make a demo first because it will literally explode the game UI if we try to directly add it
Tryna decide how we're going to do caching and culling.
just do /gpt Explain this concept in a simple, clear, concise way:
<body>
<div id='viewport'>
<div id='messages'>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
<div id='message'>
asdfasdf
</div>
</div>
<div id='spacer'>
<input id='input' type='text' />
</div>
</div>
</body>
<style>
body {
background-color: orange;
padding: 0;
margin: 0;
}
#viewport {
border: 1px solid black;
width: 500px; /* window.innerHeight/1000*aspect_ratio */
position: absolute;
max-height: 100%;
}
#spacer {
border: 1px solid gray;
height: 200px;
}
#messages {
height: calc(100vh - 200px);
overflow-y: scroll;
}
#message {
padding: 2px;
padding-left: 5px;
padding-right: 5px;
color: green;
background-color: rgba(0, 0, 0, .2);
display: table;
}
#input {
background-color: rgba(0, 0, 0, .2);
border: none;
outline: none;
color: white;
width: 100%;
}
::-webkit-scrollbar {
display: none;
}
</style>
done
Make it so you can easily copy and paste stuff, get auto login via browser. Copy and paste chat messages directly, etc.