Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-04-27 00:00:00Z and 2022-04-28 00:00:00Z
Avatar
Avatar
Tater
ToolTips got refactored since I made this pr
Yes, now there is a tooltip component
Avatar
The element may be constructed even if there already is an element with the key in the container, in which case the newly constructed element will be destroyed immediately.
05:57
hm
Avatar
Avatar
Ryozuki
Yes, now there is a tooltip component
feelsamazingman
Avatar
its not yet super dope
05:59
for now its just 1 line of text
06:00
i see
06:00
so a skeleton instead of impl or just weird looking
Avatar
its like a default alt text in browsers
06:03
kinda like 1px border simple bg regular text
06:03
no border radius
Avatar
c174274 Fix tooltip locations after window resize (fixes #5026) - def- 3d183fc Merge #5027 - bors[bot]
Avatar
70311d5 Add option for default eyes when joining server - sjrc6 e3eeec7 Merge #4997 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:25:00Z
Why is it called map in teeworlds and world in minecraft? Is this term dependend on the size?
08:25
or the amount?
Avatar
why does this matter
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:26:55Z
im just wondering
08:27
I like the term map better. And in my game i call it map. But that somewhat conflicts with the function named map from the standardlib
08:27
I feel like if i would refactor it to world it would be named wrong since its more a map :D
08:28
no idea how to call it otherwise
Avatar
[quakenet] irc_tester BOT 2022-04-27 08:30:46Z
test
Avatar
in teeworlds map would be the static tiles
08:33
and the world are the entities
08:33
in fact gameworld manages the entities
👍 1
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:44:00Z
ou so the term map vs world is about it being changeable?
08:44
i wonder if i should name it gamemap :D
Avatar
GameWorld is handling all entities GameMap is just the static part. It contains walls, floors and so on GameEntity is dynamically spawned in the GameWorld and handled during runtime, it can interact with the GameMap, walking and running on it for example (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:47:39Z
yay edits
Avatar
Sorry, forgot about the bridge not handling edits well
Avatar
big text edits
08:48
hi avo
08:48
yeee
Avatar
👋 bridge can translate emojis?
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:48:40Z
yea but the static part is interesting
08:48
Avatar
chillerdragon: u think toooo much
Avatar
Avatar
[quakenet] ChillerDragon
Click to see attachment 🖼️
ah nice
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:49:28Z
I like the name map :c but its conflicting syntax
Avatar
why?
Avatar
Why? In terms of what
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:49:47Z
map is also a function
08:49
to map over an array
Avatar
call it CMap?
Avatar
Context is different lol
Avatar
depending on what you tryna name
Avatar
do u name ur classes lowercase?
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:50:11Z
not the class name
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:50:14Z
more like the instances
Avatar
c++ right
08:50
use namespaces
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:50:24Z
ruby :troll:
Avatar
Call it GameMap not just Map
Avatar
idk about ruby
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:50:33Z
yea im about to call it game_map :D
Avatar
call it m
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:50:41Z
m -.-
Avatar
noby style
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:50:55Z
xd
Avatar
buse
08:51
chiller when come over to discord again
08:51
its a nice time here
08:51
whooo
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:58:37Z
._.
Avatar
[quakenet] irc_tester BOT 2022-04-27 08:59:12Z
will you ever go back chillerdragon?
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:59:22Z
not planned right now but who knows
Avatar
[quakenet] irc_tester BOT 2022-04-27 08:59:31Z
I see
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:59:40Z
i think i would first get whatsapp back before i get discord
Avatar
[quakenet] irc_tester BOT 2022-04-27 08:59:47Z
lmao
08:59
Did you leave for privacy reasons?
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 08:59:57Z
something like that
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:00:11Z
wish I could just leave
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:00:18Z
why cant you
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:00:44Z
The friends that I met there, the people and servers that are in Discord
Avatar
The dreaded network effect
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:01:04Z
ah so discord? I thought you talk about whatsapp
09:01
i feel pretty much connected. I spam this #developer channel all day so i dont miss discord
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:01:28Z
Will get rid of whatsapp once I finish high school
09:01
I see xd
Avatar
Don't we all want to drop these proprietary NSA spyware communication products? Alas I couldn't communicate with any of my family or friends without whatsapp
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:02:03Z
but yea deleting whatsapp had an impact on my social life for sure. But also there is covid.. so who cares :D
09:02
@Learath2 forcing family was ez for me
Avatar
And dropping discord would mean I don't get to play games with friends
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:02:39Z
Learath2: Some don't care really
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:02:41Z
eww friends
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:02:59Z
I thought you had a friend/enemy list
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:03:03Z
xd
09:03
fair
09:03
but only 1 friend
Avatar
Family have their own friends they talk to on whatsapp. I guess I could get them to use sth like telegram for within family stuff
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:03:20Z
Who is it
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:03:26Z
some 14yo egirl
09:03
i simp
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:03:30Z
sus
Avatar
ILLEGAL
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:03:39Z
yikes
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:03:43Z
what if it's a 50 year old man in disguise
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:03:51Z
im 90% sure its a 50yo man
Avatar
I already called the cops chiller, you have no way out
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:03:55Z
but idc he cute
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:03:56Z
Lmao
09:04
fair
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:04:43Z
but after school comes work
09:05
for me it would have been easier to ditch whatsapp in school than to not use zoom/slack/teams at work
Avatar
irc_tester: By don't we all, I mean people that are tech concious, like people that might hang out in a dev channel such as this one :D
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:05:32Z
we all what?
09:05
ah dont care
Avatar
chiller
09:06
why r u using ruby
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:06:09Z
ro
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:06:09Z
Yes, but for example why you're here talking through Discord with us?
Avatar
for ur game
09:06
use rust
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:06:16Z
but rust is so hard
09:06
ruby is literally Game.new and u done
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:07:03Z
but im actually thinking about rewriting the client in rust so i can ship it :D
Avatar
rust is orders of magnitude faster
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:07:24Z
its hard to distribute a ruby desktop application since it can not be compiled
Avatar
also look at memory usage
09:07
of ruby
Avatar
irc_tester: I explained my reasons. Can't afford to become a social outcast
Avatar
ruby bad
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:07:39Z
Learath2: Same
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:07:59Z
i dont run into performance issues rn just in distribution/release issues
Avatar
write the server in rust too
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:08:08Z
hm
Avatar
making state machines isnt that hard too in rust
09:08
since sum types and enums are awesome
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:08:22Z
You guys are rewritinf DDNet in Rust?
09:08
rewriting*
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:08:29Z
man my rust game is rly frustrating me tho tbh
09:08
and its without gui :D
Avatar
what engine are u using
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:08:54Z
for rust?
Avatar
it may be confused to use a ECS design when ur not used to it
09:08
ye
09:09
confusing*
Avatar
Ddnet server in rust might be pretty cute, heinrich has one almost working and it works pretty nicely
Avatar
ye rust is cuter than c
09:09
we have a mascot
09:09
Sticker
09:09
Sticker
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:09:24Z
i use crossterm :D
Avatar
No C is the cutest
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:09:33Z
chidraqul5 the console game in the 5th generation designed to be cross platform - chidraqul5/Cargo.toml at master · chidraqul/chidraqul5
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:09:33Z
What are the advantages in wrting DDNet server in Rust?
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:09:46Z
multi threading everything
Avatar
memory safety
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:09:49Z
so we can scale
Avatar
fearless concurrency
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:09:53Z
to 1k slots
09:10
ur writing a terminal game
09:10
bruh
09:10
ruby is fine then
Avatar
The main advantage would be getting to cleanly rewrite the ddnet server imo. Doesn't even matter what language we do it in
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:10:25Z
nah the ruby one is gui
09:10
but my rust attempt is terminal
Avatar
Drop vanilla compat while at it
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:10:48Z
but the terminal one in rust i already rq so not sure if i want to rewrite my gui game in rust
Avatar
Avatar
Learath2
The main advantage would be getting to cleanly rewrite the ddnet server imo. Doesn't even matter what language we do it in
wgpu is awesome, if we used it as our graphics backend we would have support
09:10
for
09:11
opengl gles directx vulkan and metal
09:11
Safe and portable GPU abstraction in Rust, implementing WebGPU API. - GitHub - gfx-rs/wgpu: Safe and portable GPU abstraction in Rust, implementing WebGPU API.
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:11:20Z
@Learath2 udc wat lang? would u also use posix SHELL !?
Avatar
I doubt we could do a posix shell ddnet server implementation :D
09:11
Too hard
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:11:54Z
there are even mc servers in bash
Avatar
maybe rewriting the client is too much, but the server could be rewritten in rust
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:12:05Z
ur just too closed minded
Avatar
that bash server has minimal features
09:12
its not complete
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:12:41Z
and 1 connection at a time max :D
09:12
not that the rust mc servers are any better :p
Avatar
did u try any
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:13:08Z
all the rust mc projects are so early in development none of them is useful
09:13
i tried them all
Avatar
ah probs
09:13
mc is gigantic after all
09:13
but u can do cool stuff
09:13
The Veloren devblog website
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:18:24Z
VALORENT
09:18
xd
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:18:51Z
Never heard of it
09:18
Let me try it out
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:21:49Z
09:22
and omg they use discord as a cdn on their website ahhahahahah
Avatar
Now that is smart thinking
09:22
Free cdn
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:22:28Z
pf
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:22:29Z
Jeez the performance sucks
09:22
It lags badly
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:22:45Z
if its free YOU are the product @Learath2
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:23:13Z
GPU with either Vulkan, Metal, or DirectX 11.2+ support
09:23
Doesn't even support OpenGL?
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:23:58Z
but Metal thats apple pog
09:24
when does ddnet get metal
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:24:13Z
I thought you use Linux
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:24:21Z
i do :D
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:24:33Z
then why do you care about Metal?
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:24:37Z
I grew up as apple fanboi tho. That will always stay.
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:25:17Z
Ah I see
09:25
I grew up with Windows
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:25:44Z
i just realized 3 virtual fake dollars shorting dodge coin. Road to daytrader!
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:25:59Z
It's rare to find Mac PCs in my country
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:26:21Z
Im surrounded by mac ppl
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:26:38Z
xd
09:26
your family uses apple products?
Avatar
I am indeed the product chiller. Very hard to avoid in 2022
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:26:50Z
yes
09:27
but not only my family
09:27
also work friends and strangers. Apple is all over the place.
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:27:33Z
Rip
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:27:52Z
so if i want to sell them some ddnet clients it better runs well on their fruitbook
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:28:48Z
"Sell"?
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:29:08Z
09:29
thats me
Avatar
"if its free you are the product"
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:29:13Z
irl
Avatar
thats untrue for stallman approved softwarew
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:29:20Z
Sus
09:29
Let me view it in Tor
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:29:50Z
ah rip irc has no image preview
Avatar
BREAKING: China has reported first human case of the H3N8 bird flu
Likes
26495
Retweets
9839
09:30
lol
09:30
new covid incoming
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:30:24Z
ChillerDragon Lmao
09:30
You convert people to the DDNet cult?
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:30:39Z
yes
Avatar
who r u
09:30
irc_tester
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:30:49Z
irc_tester is my dummy
Avatar
konsti?
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:30:51Z
Were you successful so far?
09:30
Ryozuki: Lol
09:31
You don't know me
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:31:24Z
i recruited like 3 somewhat active players like years ago. One occasionally plays still today
09:31
the two others rq
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:31:35Z
Yes I meant, no we haven't met before
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:31:55Z
im honestly rocking ddnet merch
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:32:00Z
"recruited" do you bribe them into using DDNet? xd
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:32:03Z
i got the green, white and purple ddnet shirt :D
Avatar
i have the ddnet magnet
09:32
on fridge
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:32:08Z
not green omg
09:32
yellow*
09:32
@Ryozuki do you pitch it to visitors?
Avatar
do u think someone visits me
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:32:37Z
xd
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:32:45Z
even i get visitors occasionally
09:32
i am certian you do
Avatar
yes i get ur mom
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:33:01Z
Who knows maybe ChillerDragon is planning to visit u
Avatar
sry it was too easy joke
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:33:02Z
lol
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:33:12Z
yes please pitch ddnet to me
09:33
idk it
09:33
im more the teeworlds vanilla dude
09:33
wat is this ddnet thingy
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:33:29Z
I can teach you
Avatar
ur the annoying teeworlds vanilla guy
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:33:38Z
xd
09:33
i also still use MultiMC bcs forks sok
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:34:08Z
and stevenerella
09:34
and youtube-dl
Avatar
ur pepega
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:34:13Z
xaaxaxax
Avatar
multimc is antifreedom
09:34
use polymc
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:34:20Z
u know stevernerlla?
Avatar
i dont want to talk to you anymore
09:34
visit https://stallman.org/ and repent
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:34:49Z
xd
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:34:52Z
xd
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:34:52Z
it was trol
09:35
i actually switched to PolyMC and yt-dlp
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:35:12Z
oh
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:35:14Z
i am even leafish maximalist
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:35:27Z
and heck i spam the ddnet#developer not teeworlds#developer right?
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:36:25Z
Maybe cause it's more populated?
Avatar
teeworlds is dead
09:36
long live ddnet
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 09:38:11Z
i think contribution forks with new shiny features are nice. But i like to also honor the origin that made all possible
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:38:31Z
How long do you guys know each other?
09:43
maybe 2015
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:44:06Z
7 years
09:44
I see
Avatar
feelsoldman
Avatar
[quakenet] irc_tester BOT 2022-04-27 09:44:56Z
xd
Avatar
Avatar
Ryozuki
teeworlds is dead
Teeworlds not ded, it only has covid or cancer since Oy
Avatar
Oy is a great guy he just have tooo much faith in rule KISS. Somtimes this rule is good for projects and sometimes it can cause more damage than it should.
10:21
KISS all the time
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 10:49:08Z
KISS my ***
10:49
axaxaxax
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 10:49:33Z
i didnt notice Oy doing that tbh do you have some examples?
10:49
its cosmic rays corrupting the map files hehe
Avatar
Deadcore and Koule 3 both have a weird bug on them now that I want to fix, so I'm wondering how they were produced
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 10:50:37Z
@Patiga there is an awesome rust project that lets you convert maps into json. So you can have a look at the map diffs :p
Avatar
well the map doesn't parse any longer ^^
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 10:50:53Z
oh yikers
Avatar
KISS applied to programming is nice, to entire projects not always
Avatar
the map settings are apparently just zlib-compressed nothingness. in game/editor/io.cpp, line 264 (https://github.com/ddnet/ddnet/blob/e3eeec762d0634d93aef6d076e6c414e013ff9d2/src/game/editor/io.cpp#L264) it clearly shouldn't add any data if there are no map settings, except maybe if there was a zero length map setting which shouldn't make sense coz they are at the very least zero-terminated
Avatar
@deen simply resaving the maps in the editor worked, could you please replace the maps? sry for the many pings ^^
335.11 KB
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 12:04:40Z
There should really be a CI for the maps repo using twmap
Avatar
Restarted my phone with a new sim. Spotify deleted all my downloaded songs. Thanks spotify
12:17
This is another one of those companies that I'd genuinely work free for just to fix some bugs
Avatar
[quakenet] irc_tester BOT 2022-04-27 12:47:31Z
Learath2: Keeps using Spotify anyways
Avatar
Spotify is way too convenient to drop, I'd have to pirate and spend time trying to discover new music
Avatar
[quakenet] irc_tester BOT 2022-04-27 12:57:49Z
fair
Avatar
I could look into competitors though, maybe apple or yt music works well now
Avatar
sv_min_team_size was added to those maps I think
Avatar
hm the map settings seem empty in the editor, but yeah, the map settings are the broken thing about the maps
Avatar
I didn't use editor but command line tools to edit them
13:11
config_retrieve and config_store
Avatar
Avatar
deen
config_retrieve and config_store
alright, will have a look at them later
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 13:51:02Z
there is a linux desktop spotify client written in rust :D
13:51
omg im becoimg ryo
Avatar
i am using ncspot 🙂
Avatar
Avatar
Ryozuki
wgpu is awesome, if we used it as our graphics backend we would have support
u could add support for it if u want niveau of the opengl 3 renderer is pretty ez to implement
Avatar
how can i read a .map file?
Avatar
Where? In tw source? In C++? In Rust? In Python?
Avatar
I don't know, I would like to understand how it works to be able to convert the .map of that file (the entities for example hookable blocks, non-hookable blocks, freeze, ...) to convert it into another type a 3d map or a txt sheet with # instead of blocks hookables and * instead of unhook blocks for example (edited)
15:39
in python it would be handy
Avatar
use patigas map to blender tool
15:42
patigas?
15:43
blender tool?
Avatar
Python bindings for the crate twmap
Avatar
he wrote tools to convert teeworlds maps in different formats (edited)
Avatar
Patiga's twmap library has python bindings you can use
Avatar
Avatar
Soapy Sandwich
I would be ok with abrupt changes. I mean I think it would be ideal to have a tile that restarted all animations when you touched it. You could make visual timers for your switches then. Although I imagine that might be a bit of work to pull off and might not get enough use to be worth. I just had a few map ideas that would require animations restarting when touching the start line.
in the past it looked bad when mappers used these envelopes that sync with race time because the background changed abruptly. I can see your use case. what would it show before starting? as if it was 0:00?
Avatar
Soapy Sandwich 2022-04-27 16:10:45Z
I think it would have to have a checkbox so you could make certain animations reset only. If it changes abruptly then mappers should be aware and map accordingly (No resetting animation around the startline). But yeah wouldn't work without a checkbox to turn it on and off atleast XD.
Avatar
Avatar
Learath2
ILLEGAL
depends on the jurisdiction and on chillerdragon's age
Avatar
Chiller has to be old enough to not be covered by being underage himself. He is a wagie afterall
16:30
And I don't know many places on earth that has a 14yo age of consent without asterisks. Better call the cops just to be safe :P
Avatar
I think most of europe has something between 14 and 16
16:31
(with asterisk) (edited)
Avatar
in japan its only legal to like 12 years old anime girls rest is illegal
Avatar
[quakenet] ChillerDragon BOT 2022-04-27 16:47:33Z
i am 12
Avatar
im just gonna say the age of consent anywhere is 18 because anything below is just gonna have people crying about it anyways
Avatar
I'd think that people below the age of 18 should have the right to experiment sexually with others in the same age range
Avatar
this developer related subject is amazing (edited)
Avatar
its about developing ppl
17:29
so its fine
Avatar
aah I see
17:29
@Jupstar ✪ btw is it still worth learning opengl nowadays or directly vulkan, heard that vulkan is way harder
17:30
(and also in "early stage")
Avatar
yes its harder, i'd say depends on what u want to archive
Avatar
apparently drivers for vulkan are better, even though it's newer?!
Avatar
a tripple A title that already runs on like 60fps only should probs use vulkan
Avatar
idk, want to practice and tw is boring, I'm following that guy who worked at EA (TheCherno)
17:30
and I found that quite interesting
Avatar
Avatar
heinrich5991
apparently drivers for vulkan are better, even though it's newer?!
u could probs argue its easier to develop a vulkan driver, since its more low level
17:31
opengl has a lot of garantuees
Avatar
Avatar
ReiTW
(and also in "early stage")
by that Imean you can have still some issues since it's "recent" compared to opengl (edited)
Avatar
the problem is, if u want todo a 3d game, u probs have more from intensivly training geometric algebra so quaternions matrices etc and try to visualize what you are doing, bcs that will help you more than just being able to put together some buffers
17:34
but i guess you could say learning vulkan makes you a better opengl developer xd even tho you also think that opengl is kinda annoying sometimes bcs it leaves certain stuff to the OS rather than having it in spec
17:36
just yesterday a good example changing FSAA in vulkan is a vulkan problem changing FSAA in opengl would require you to change the pixelbuffer over some system dependent calls, or write a custom MSAA shader maybe(cant speak of opengl 4.5, which added a lot of new stuff, but never really used it)
Avatar
yeah have to dive into all of that, just for fun tho, that's still not my job, but just a hobby
Avatar
yeah just do it xd
Avatar
tryin' to find different pages, docs.gl is good, thecherno's videos are amazing as he knows very well what he does and has some experiences working with directx, opengl, and vulkan etc.. and there was learnopengl.com I think
Avatar
yeah learnopengl covers most important stuff
17:43
i think when i started learning opengl the first days i used opengl 1.x without shaders (didnt even know about shaders back then) but the performance sucked hard (did some terrain tool) and then i found out about opengl 3.3: over this website https://www.mbsoftworks.sk/tutorials/opengl3/ first i found shaders annoying but once u notice how much more flexible you are with it, you start to like it 😄 But i also was like 17+ back then and just realized java sucks xddd
Megabyte Softworks - a place where you can find OpenGL programming resources, game programming tutorials, articles about game programming, 3D math and much more!
Avatar
ig I'll try to cover multiple documentations
Avatar
also nvidia drivers allow anything xDD i think i did so much stuff wrong (by spec) but it still worked
Avatar
the only hard part for me will be maths
Avatar
i give you one advice, accept that you have to learn quaternions XD gimbal lock will haunt you sooner or later
Avatar
Well ig I can find some good docs from my university or ask one of my teacher from my master to help
Avatar
but learn it, its worth it maybe some terrain, some animations of objects (rotations, translations, scaling) and some basic shading, maybe with a global light point(the sun e.g.) u'll understand limitations of computers, e.g. floating points, texture sizes are huge limitation factors which require approximentions/offsets etc. to fix them Worth it xd
Avatar
texture sizes because of memory limits?
Avatar
yeah and creating big textures every frame is expensive e.g. shadow maps
17:54
basically viewing the world from the eyes of the sun
17:54
at least if you dont want to start with raytracing directly xD
Avatar
Afterall good old ways:
17:55
Piece of paper, a pencil, and u write
Avatar
btw we have to skip SDL2 2.0.22 for linux @deen in case you thought about updating soon
18:07
also tried to convince them to not use patch versions all the time, bcs i swear we can barely ever update, something is always broken xD https://github.com/libsdl-org/SDL/issues/5572#issuecomment-1110525521
18:10
our windows SDL2 is still on 2.0.16 xD
18:10
they improved turning off relative mouse mode on windows lately as far as i read, should maybe test if the desktop fullscreen bug is finally gone 😄
Avatar
@Jupstar ✪ i have this saved
18:31
Gentle step-by-step guide through the abstract and complex universe of Fragment Shaders.
18:31
to learn shaders
Avatar
ah cool they have nice math visualizations
Avatar
#define t iTime #define r iResolution.xy void mainImage( out vec4 fragColor, in vec2 fragCoord ){ vec3 c; float l,z=t; for(int i=0;i<3;i++) { vec2 uv,p=fragCoord.xy/r; uv=p; p-=.5; p.x*=r.x/r.y; z+=.07; l=length(p); uv+=p/l*(sin(z)+1.)*abs(sin(l*9.-z-z)); c[i]=.01/length(mod(uv,1.)-.5); } fragColor=vec4(c/l,t); }
18:34
so simple
18:34
yet so complex i guess
18:34
to come upon ur own xd
Avatar
wow nice loading screen xD
18:34
ye they have cool math visuals
18:35
this is like
18:35
the foundation
18:35
of shaders
18:37
another stupidly crazy shader
Avatar
this site is really cool 😄
18:38
so few lines of code for such cool effects
Avatar
I spend too much time on that site xD https://www.shadertoy.com/user/Tater
Avatar
Avatar
Ryozuki
@Jupstar ✪ i have this saved
ty
Avatar
Avatar
Tater
I spend too much time on that site xD https://www.shadertoy.com/user/Tater
lol nice one
Avatar
I tried simply replacing int with some CConfigInt class with a single relaxed atomic integer inside and lots of operator overloads. It didn't work, because some stuff takes addresses, e.g. the UI code, it does so for modifying the config variables with sliders etc.
18:51
wtf
Avatar
we have a pro among us
Avatar
what's the difference between std::lock_guard and std::unique_lock?
Avatar
I'm not actually that good at computer graphics I just know a lot about raymarching which is like 70% of shadertoy
Avatar
@Tater lmao I've enabled AA on that link i've sent above, it crashed webgl
18:57
18:59
there's a lot of random driver specific crashes that exist which are hard to fix
18:59
might also just be because it took too long to compile
Avatar
doubt, it froze and yeah
Avatar
Avatar
heinrich5991
what's the difference between std::lock_guard and std::unique_lock?
The difference is that you can lock and unlock a std::unique_lock. std::lock_guard will be locked only once on construction and unlocked on destruction.
19:29
I have two use cases. A. I want to synchronise access to a queue for two threads. B. I want to synchronise access to a queue for two threads and use a condition variable because one of the threads ...
Avatar
ah, so I want a std::lock_guard because it can do less, by default?
Avatar
i guess?
19:31
idk
Avatar
ah, apparently std::scoped_lock is a better version of std::lock_guard
Avatar
someone says > Use lock_guard unless you need to be able to manually unlock the mutex in between without destroying the lock.
Avatar
ah, but C++17
19:32
so std::lock_guard it is
Avatar
In particular, condition_variable unlocks its mutex when going to sleep upon calls to wait. That is why a lock_guard is not sufficient here.
19:32
xd
19:33
std::unique_lock can be moved but std::lock_guard can't be moved.
Avatar
we use c++17
Avatar
Avatar
Jupstar ✪
we use c++17
not rly
19:48
i couldnt use std::optional
19:48
cuz some stupid compiler didnt implement it yet smh
19:49
(i could in my pc not on some ddnet server)
Avatar
xd
Avatar
Public Money, Public Code - A campaign for releasing publicly financed software as Free Software
20:50
just found this site out on hn
20:50
and i agree
Avatar
that's a good point I've never thought about that before
Avatar
https://marian42.de/article/wfc/ Such an ingenious idea, do you think we could maybe generate teeworlds maps like this? I've seen people using this for 2d games
Infinite procedurally generated city with the Wave Function Collapse algorithm - Personal blog about programming, game development and space ships.
Avatar
nuclear missile plans should be public as well
21:17
troll
Avatar
open source all the NSA 0-days
Avatar
so many exploits could be patched
Avatar
Avatar
Learath2
https://marian42.de/article/wfc/ Such an ingenious idea, do you think we could maybe generate teeworlds maps like this? I've seen people using this for 2d games
could definitely make a decorative world
21:25
maybe it would feel blocky tho
Avatar
I just got recommended a bunch of youtube videos about wave function collapse
21:26
never heard of it before but it looks really cool
Avatar
Avatar
[quakenet] ChillerDragon
Why is it called map in teeworlds and world in minecraft? Is this term dependend on the size?
xD since it is "teeWORLDS" they are more like worlds xD than maps xD
Avatar
lol nice
Avatar
Avatar
Tater
I just got recommended a bunch of youtube videos about wave function collapse
Me too, algorithm picked them up somewhy
Avatar
here i am waiting for a new 3Blue1Brown video
Avatar
Avatar
Learath2
Patiga's twmap library has python bindings you can use
Oh ok there is a doc?
23:11
Hey patiga hi XD
Avatar
Avatar
kio
Oh ok there is a doc?
oh cool if you want to use it I will try to release a new version, I improved the documentation a lot on the dev branch :)
23:11
in general, call help on everything you get from the library, there should be some docs already
Exported 471 message(s)