Forum Suggestions
Moderator: Jess
Re: Forum Suggestions
can you add GDScript syntax for the code block?
idk how that's done, but there's GML, so Godot's gotta be a thing too, right? ...right?
if not I'll just use C# and pray
- Jess
- Site Owner
- Posts: 292
- Joined: Sun Oct 15, 2023 8:48 pm
- Name: Jess
- Title: Game Developer
- Pronouns:
She/Her
- Flags:
- Status: on the "internet"
Re: Forum Suggestions
It's using highlight.js, which unfortunately doesn't seem to support GDScript right now
Re: Forum Suggestions
I have no idea how this works, but it is a thing https://github.com/highlightjs/highlightjs-gdscript
- Jess
- Site Owner
- Posts: 292
- Joined: Sun Oct 15, 2023 8:48 pm
- Name: Jess
- Title: Game Developer
- Pronouns:
She/Her
- Flags:
- Status: on the "internet"
Re: Forum Suggestions
Efi wrote: ↑Wed Oct 18, 2023 12:13 amI have no idea how this works, but it is a thing https://github.com/highlightjs/highlightjs-gdscript
That's a good find! Unfortunately, it doesn't seem like languages can easily be added to this extension. Hopefully in the future though I can figure it out or they add it themselves as Godot picks up in popularity
- NovaSquirrel
- Posts: 46
- Joined: Mon Oct 16, 2023 4:59 am
- Name: Nova
- Pronouns:
she/her
- Flags:
Re: Forum Suggestions
Maybe you could add mp4
as an allowed attachment type? (And maybe any other video formats that would be applicable?) It would be helpful for posting short gameplay clips that with files that are a lot smaller than you'd get with gifs.
- Jess
- Site Owner
- Posts: 292
- Joined: Sun Oct 15, 2023 8:48 pm
- Name: Jess
- Title: Game Developer
- Pronouns:
She/Her
- Flags:
- Status: on the "internet"
Re: Forum Suggestions
NovaSquirrel wrote: ↑Wed Oct 18, 2023 5:12 pmMaybe you could add
mp4
as an allowed attachment type? (And maybe any other video formats that would be applicable?) It would be helpful for posting short gameplay clips that with files that are a lot smaller than you'd get with gifs.
I was actually looking up yesterday about adding MP4 and other video types, but it seems like in order to do it I'd have to re-encode everything. There's no extension for it, and while I can use FFMPEG, I'm not ready to try to write extensions on my own yet. If anyone can find a good extension for it, let me know, because I think it would be quite alright
Re: Forum Suggestions
Roxy wrote: ↑Wed Oct 18, 2023 6:42 pmNovaSquirrel wrote: ↑Wed Oct 18, 2023 5:12 pmMaybe you could add
mp4
as an allowed attachment type? (And maybe any other video formats that would be applicable?) It would be helpful for posting short gameplay clips that with files that are a lot smaller than you'd get with gifs.I was actually looking up yesterday about adding MP4 and other video types, but it seems like in order to do it I'd have to re-encode everything. There's no extension for it, and while I can use FFMPEG, I'm not ready to try to write extensions on my own yet. If anyone can find a good extension for it, let me know, because I think it would be quite alright
I think you could maaaaaybe just add a bbcode [video] → html <video> so we can hotlink webp files from mastodon etc and that should be straightforward? I don't remember how adding bbcodes works, but the html tag is very simple, so it should be doable
- Jess
- Site Owner
- Posts: 292
- Joined: Sun Oct 15, 2023 8:48 pm
- Name: Jess
- Title: Game Developer
- Pronouns:
She/Her
- Flags:
- Status: on the "internet"
Re: Forum Suggestions
Hmm... that could work yea. I kinda wanted to avoid that because it might be technically advanced, but I feel like anyone who's gonna be joining a forum in 2023 is gonna expect some jank haha
edit: Looking at the spec for the video tag it seems like you have to specify what kind of video it is too, so that might be fairly technical too. It may be possible to just create a bbcode tag like mp4video or something, but yea, I dont know
in the meantime, the site does support embedding youtube videos, so that's something at least
- Jess
- Site Owner
- Posts: 292
- Joined: Sun Oct 15, 2023 8:48 pm
- Name: Jess
- Title: Game Developer
- Pronouns:
She/Her
- Flags:
- Status: on the "internet"
Re: Forum Suggestions
Here's me testing out a Mastodon embed, because supposedly the media extension I have supports Mastodon
https://mastodon.gamedev.place/@roxy/111202271402410212
It doesn't seem to actually work though, unfortunately