OttoHatt

128 posts

OttoHatt banner
OttoHatt

OttoHatt

@otto_hatt

programming games on roblox

Katılım Haziran 2020
146 Takip Edilen399 Takipçiler
OttoHatt
OttoHatt@otto_hatt·
@haizoopRBLX small lines per *feature* is good :). programmers can overabstract, your solution is probably simpler. that said, don't watch the line count; write code as you need it, and factor into reusable functions if you repeat yourself. Readability should take care of itself
English
0
0
1
149
haizoop
haizoop@haizoopRBLX·
Curious question for programmers on Roblox...👀 So I'm really new to scripting and so far the script's I have created don't really have that many lines. I've seen things before where people post about their scripts that have been over 1,000 lines long 🫣 What causes some codes to have so many lines? Is it normal to have small lines of code?
English
37
2
90
13.6K
OttoHatt
OttoHatt@otto_hatt·
backend is Axum+Tokio, SQLite with custom pooling logic for WAL. Runs on a €24 Hetzner dedicated server with plenty of CPU to spare. these figures shocked me! - but it's nothing on Roblox itself. It's a reminder of how well they handle these services for you.
OttoHatt tweet media
English
0
0
3
374
OttoHatt
OttoHatt@otto_hatt·
built a Rust service to match and search trades across servers, in real-time! #RobloxDev results filter "online" users. put together in a couple weeks to counter the new chat restrictions. it's stayed responsive at peaks of ~25k players! no downtime. proud of this :)
English
1
0
12
524
OttoHatt
OttoHatt@otto_hatt·
@DecimalCubed the whole of wikipedia?? i promise you it's not going anywhere
English
0
0
1
213
OttoHatt
OttoHatt@otto_hatt·
@Fezezen i was prototyping an Alien Swarm-like game, which requires pinpoint accuracy onto the mouse. Doing this in third person was so horrible!!
English
2
1
8
1K
Fezezen
Fezezen@Fezezen·
ZXX
9
4
119
6.9K
OttoHatt
OttoHatt@otto_hatt·
@CheekyVisuals everyone I know has an Audio Technica. The cheapest is fine. Higher-end models have a speed slider, you can make your own slowed-lofi-beats-to-study-to :P
English
0
0
0
105
Jake
Jake@cheekyvisuals·
any vinyl fans who can point me in the direction of a great record player? thank u
English
7
0
4
1.4K
OttoHatt
OttoHatt@otto_hatt·
Wrote an open-source RNG game to demonstrate using Nevermore. I think it's a very powerful tool, I hope my example project encourages you to try it out! github.com/OttoHatt/color… #RobloxDev
English
4
3
113
10.5K
OttoHatt
OttoHatt@otto_hatt·
stay strapped
English
3
0
18
1.1K
OttoHatt
OttoHatt@otto_hatt·
@Fezezen I generated points a bit coarsely upfront for the geometry, then applied smoothing for the camera. But iirc, the algorithm only wants points i & i+1, so you can make it into an iterator
English
1
0
0
102
Fezezen
Fezezen@Fezezen·
What would be the best way to have a point move along a curved path in roblox at a desired speed without making 5 billion points along the path to get the rotation to look normal?
English
3
0
11
1.8K
OttoHatt
OttoHatt@otto_hatt·
@ComfyDayGames Yep, ImageLabels with UIGradients. Their Y positions increased by dt, modulo’d by tile height each frame. It’s not that accurate…! I’ll replace this when ViewportFrames get better rendering capabilities
English
0
0
2
93
Comfy Day Games
Comfy Day Games@ComfyDayGames·
@otto_hatt It looks great! How are you displaying the trails in action? Is it a set of pictures swapping over and over?
English
1
0
0
119
OttoHatt
OttoHatt@otto_hatt·
Been making a lot of UI lately! Trying to nail a fun, yet neutral style that can be re-used across games. #RobloxDev
English
4
2
81
4.5K
OttoHatt
OttoHatt@otto_hatt·
I put patterns on the interactable elements. Twitter video does not like it!
OttoHatt tweet mediaOttoHatt tweet mediaOttoHatt tweet mediaOttoHatt tweet media
English
0
0
2
729
OttoHatt
OttoHatt@otto_hatt·
The 400 boids in this video take ~8ms/frame (6ms of which is BulkMoveTo). Perf slows a bit over time; they tend to clump together, so the spatial hash grid becomes a less effective optimization. Possible big benefits from frustum culling (but then you'd have to disable shadows!)
English
1
0
5
653