Search found 160 matches

by Bobble68
Mon Jan 01, 2024 3:31 pm
Forum: General
Topic: [Just for fun] Roast my code.
Replies: 14
Views: 297906

Re: [Just for fun] Roast my code.

pgimeno wrote: Mon Jan 01, 2024 3:13 pm Remember that you can also use _G.mouse. Some style guides even mandate all globals to be referenced through _G.
Had not occured to me that this was possible, but I suppose it would be (at the time I did the fix I didn't know about _G).
by Bobble68
Sun Dec 31, 2023 3:31 pm
Forum: General
Topic: [COMING SOON] Love2D Community Art
Replies: 5
Views: 67995

Re: [COMING SOON] Love2D Community Art

Gunroar.jpg
Gunroar.jpg (292.32 KiB) Viewed 67775 times
by Bobble68
Sun Dec 31, 2023 1:32 pm
Forum: General
Topic: I am using LOVE to make an Animated Youtube Cartoon
Replies: 4
Views: 36811

Re: I am using LOVE to make an Animated Youtube Cartoon

Seems pretty charming so far! I've been meaning to add functionality for cutscenes in my own game, maybe I should research how it's done. This is just my own opinion, but since the style of it is still very clearly an RPG, maybe it might be worth leaning into it a bit more? Of what I've seen so far,...
by Bobble68
Sun Dec 31, 2023 1:06 pm
Forum: General
Topic: [Just for fun] Roast my code.
Replies: 14
Views: 297906

Re: [Just for fun] Roast my code.

Also, namespace pollution is a thing, and one may inadvertently use the same name for two different things, and have one overwrite the other, causing a bug. I did this myself at one point - for some unknown reason, I have one module that uses a local variable named, and a global for the rest of the...
by Bobble68
Sat Dec 30, 2023 3:39 pm
Forum: General
Topic: New User / Game Idea Help
Replies: 5
Views: 29810

Re: New User / Game Idea Help

This is just my opinion, but I personally wouldn't recommend doing anything with a text input as your first project with Love2D - I'm sure you can probably use libraries to make them, but love itself doesn't offer much in terms of text input. I think this kind of project would also need some well th...
by Bobble68
Fri Dec 29, 2023 5:40 pm
Forum: Games and Creations
Topic: In the Heavens - Demo 0.1.12
Replies: 54
Views: 1063974

In the Heavens - Demo 0.1.10

Hello again! I'm back with a 'new' update for people to try out! I've been sitting on this one for a while now, since I've both been busy with new assignments (which aren't done), and am easily distracted by other programming projects. I expected this to be a fairly minor change, but I'm looking at ...
by Bobble68
Fri Dec 29, 2023 12:49 pm
Forum: General
Topic: I used ChatGPT
Replies: 16
Views: 263825

Re: I used ChatGPT

Please remember that ChatGPT (etc) is not an AI at all Tbh AI has always been a bit of a vague term anyway, probably because intelligence is also poorly defined. I'll try to avoid getting philosophical, though I would like to point out that much stupider programs have been considered as AI (e.i. np...
by Bobble68
Fri Dec 29, 2023 12:22 pm
Forum: General
Topic: [Just for fun] Roast my code.
Replies: 14
Views: 297906

Re: [Just for fun] Roast my code.

mr global.png
mr global.png (3.35 MiB) Viewed 189502 times
Azzla wrote: Sun Dec 24, 2023 7:07 am You have no window wrapping so you can type on a line forever, but that's more of a "incompleteness" thing than a code thing.
Also, love.graphics.printf has text wrapping built in, you might want to consider using it instead.
by Bobble68
Thu Dec 28, 2023 7:28 pm
Forum: General
Topic: [COMING SOON] Love2D Community Art
Replies: 5
Views: 67995

Re: [COMING SOON] Love2D Community Art

Sounds like an interesting project! I've seen a bit of your past work so I'm interested to see what you do here. Maybe I should update my avatar... though then again, I haven't been obeying for a while now so why start now? :cool:
by Bobble68
Thu Dec 28, 2023 1:37 pm
Forum: Games and Creations
Topic: Started My Very First Love2d Game
Replies: 25
Views: 360801

Re: Started My Very First Love2d Game

I make a variable global if it is used in more than one function. What I guess I'm forgetting to do because I'm new to Lua is to use the local keyword everywhere I should. I'll need to spiff it up a bit. It does have a nice feel to it and I think I'm doing a decent job organizing the code and keepi...