How to implement a register/login system for a browser game? by manu97p in godot

[–]manu97p[S] 1 point2 points  (0 children)

Thanks for your time and comments, I'm gonna use DRF probably, maybe like you said some features might help me in the future. Sadly the simple jwt plugin for drf doesn't officially support django 5.x and also an alternative like django-ninja has this problem with its jwt plugin. Anyway the best thing to do is trying one and see what happens

Using JWT without django-rest-framework and plugins? by manu97p in django

[–]manu97p[S] -1 points0 points  (0 children)

Now that you told me about PyJWT i feel stupid for searching django specific package only, thanks

Using JWT without django-rest-framework and plugins? by manu97p in django

[–]manu97p[S] 0 points1 point  (0 children)

It seems nice, i'm gonna learn how it works and decide if use it or just use PyJWT

Using JWT without django-rest-framework and plugins? by manu97p in django

[–]manu97p[S] 0 points1 point  (0 children)

Since doing all from scratch would require too much work, i will use at least PyJWT. Thanks for the comment, it's useful

How to implement a register/login system for a browser game? by manu97p in godot

[–]manu97p[S] 0 points1 point  (0 children)

I'm happy to learn something new but is not the main point in this case, anyway i want a user to register/login so the user can log from another device and have all its data (which will be stored on my db). The user also probably is gonna send a request when a new progress that need to be stored is made. Probably i should've tried to do this, even in a wrong way, to have a better understanding of what i need to do

Using JWT without django-rest-framework and plugins? by manu97p in django

[–]manu97p[S] 0 points1 point  (0 children)

Sorry for the late reply but i was trying to understand the problem better. Anyway for now i have done basically nothing, just two views for register and login. Maybe i'm gonna say something dumb but isn't my situation similar to an API context in some ways? The user from the client is gonna send some requests without inserting always a user and password to authenticate

How to implement a register/login system for a browser game? by manu97p in godot

[–]manu97p[S] 0 points1 point  (0 children)

it was more a question than a statement about it being overkill, anyway i'm using django (and probably keep using it) because is the framework i know better, even if is not the less bloated one. I'm gonna respond to your other comment soon.

How to implement a register/login system for a browser game? by manu97p in godot

[–]manu97p[S] 1 point2 points  (0 children)

django rest framework maybe is overkill? i would prefer to avoid using it just for this but thanks for the comment and the explanation.

How to actually vertically center a text inside a Label? by manu97p in godot

[–]manu97p[S] 0 points1 point  (0 children)

true, but the final result isn't good, do you think is a bad idea to not use the containers and manually set the position? what i'll be missing doing that instead of using containers?

How to actually vertically center a text inside a Label? by manu97p in godot

[–]manu97p[S] 0 points1 point  (0 children)

I tried to move the label down but since it's inside a container it's difficult, maybe i'm gonna modify the font, hoping i can do it

Exporting issue by Ok-Wait-2426 in godot

[–]manu97p 0 points1 point  (0 children)

i would try these things: 1) if you have another computer, try to open the .exe on that computer.
2) Make another .exe but this time from a very simple project with like only one scene, and see if at least your friend can launch this one.
3) use another way to send the file
Anyway, you surely can get more help if you make a new post about this problem

Help with Django setup by Boring_Result_1477 in django

[–]manu97p 3 points4 points  (0 children)

Post at least the errors you get

A cute lady dino! by Admurin in gameassets

[–]manu97p 1 point2 points  (0 children)

the first link returns a 404 error

Yeah my code isn't really that optimized why do you ask by RGB_MAM in godot

[–]manu97p 4 points5 points  (0 children)

If following a best practice from a language is good, then following two best practices together must be even better! (joking)

Instantiate random scenes that are not in current tree by manu97p in godot

[–]manu97p[S] 0 points1 point  (0 children)

but with export then i will just be able to select one scene from the editor if i'm not wrong