Skip to content

Commit

Permalink
maintenance notice and also edits
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperErnD committed Jun 28, 2024
1 parent bd8a5b0 commit 7eb1ab9
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 3 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# ⚠️ Maintenance notice ⚠️

# Chronical is now slowly developed due to problems with electrical problems

Is that end?

No, its not end, its a temporary notice, maybe when i can use computer in my free time that notice will be removed.

# ⚠️ Maintenance notice ⚠️

# hello this is chronical

its still in development, written in V
Expand Down Expand Up @@ -36,4 +46,8 @@ and then just in console `v run .`

## license

its ISC, read more in [LICENSE file](./LICENSE)
its ISC, read more in [LICENSE file](./LICENSE)

## also btw about naming (in russian, i am lazy to translate)

```В общем, полное название хроника это - Chronical Adventure, который я сократил до хроникал а потом уже хроник, adventure это понятно, но насчёт хроникал, хроникал как раз от слова "хроническое" или типо того, я знал что есть такое слово хроническое, но не знал что оно значит, а по мне это звучало прикольно, да и досихпор как по мне звучит прикольно, сейчас я знаю что такое хроническое, и в целом получается щас хроник = хроникал = Chronical Adventure, что если сильно дословно переводить то это получается неизлечимое приключение?```
2 changes: 1 addition & 1 deletion api/config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ backend_connect = "/data/data" # enter here extra data to connect (like a dir fo
server = [
"127.0.0.1:10007"
]
private_token_key = "" # base 64 key, SHOULD BE SAME ON THIS SERVER AND GAME OTHERWISE CLIENT WONT CONNECT
private_token_key = "" # base 64 key, SHOULD BE SAME ON THIS SERVER AND GAME SERVER OTHERWISE CLIENT WONT CONNECT
1 change: 1 addition & 0 deletions client/src/screens/login.v
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module screens
6 changes: 5 additions & 1 deletion client/src/screens/menu.v
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ pub fn (mut ms MenuScreen) draw(delta f32, mut ctx types.Context) ! {

ms.ui.begin()

ms.ui.label(types.Rect{ x: 0.4, y: 0.35, w: 0.2, h: 0.1 }, "бомж версия хроника", mut types.Color{})!
ms.ui.label(types.Rect{ x: 0.4, y: 0.4, w: 0.2, h: 0.05 }, "бомж версия хроника", mut types.Color{})!

if ms.ui.button(types.Rect{ x: 0.4, y: 0.45, w: 0.2, h: 0.05 }, "(Try) join the game", mut types.Color{a: 255})! {
println("cool")
}

if ms.ui.button(types.Rect{ x: 0.4, y: 0.51, w: 0.2, h: 0.05 }, "(Try) login", mut types.Color{a: 255})! {
println("cool")
}

ms.ui.end()

ctx.r.end()
Expand Down
28 changes: 28 additions & 0 deletions client/src/screens/server_connect.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module screens

import engine
import engine.types

pub struct ServerConnectScreen {
mut:
ui engine.UI
}

pub fn (mut scs ServerConnectScreen) init(mut ctx types.Context, mut app types.App) ! {
scs.ui = engine.UI{}
scs.ui.init(mut ctx.r)!
}

pub fn (mut scs ServerConnectScreen) deinit() ! {}
pub fn (mut scs ServerConnectScreen) update(delta f32, mut ctx types.Context) ! {}
pub fn (mut scs ServerConnectScreen) draw(delta f32, mut ctx types.Context) ! {
ctx.r.begin()

scs.ui.begin()

scs.ui.label(types.Rect{ x: 0.9, y: 0.95, w: 0.1, h: 0.05 }, "↻ connecting to server", mut types.Color{})!

scs.ui.end()

ctx.r.end()
}

0 comments on commit 7eb1ab9

Please sign in to comment.