Search found 32 matches

by WAWAWA
Fri Nov 12, 2021 9:25 pm
Forum: Libraries and Tools
Topic: Polywell: a text editor component
Replies: 47
Views: 63202

Re: Polywell: a text editor component

Sorry for the *double post*, but just wondering, do you have time for teaching me how you made the console and stuff? I really want to make a game about coding.
by WAWAWA
Fri Nov 12, 2021 9:22 pm
Forum: Libraries and Tools
Topic: Polywell: a text editor component
Replies: 47
Views: 63202

Re: Polywell: a text editor component

Oh, sorry. So I just have to open a new file and editor will open? I'll probably figure out myself by now but you could still answer.
by WAWAWA
Thu Nov 11, 2021 8:34 pm
Forum: Libraries and Tools
Topic: Polywell: a text editor component
Replies: 47
Views: 63202

Re: Polywell: a text editor component

This is not an editor? I can only see a console.
by WAWAWA
Thu Oct 14, 2021 10:24 am
Forum: Support and Development
Topic: These buttons execute the same callback but they are different tables!
Replies: 10
Views: 8689

Re: These buttons execute the same callback but they are different tables!

Hey, would you guys help me with my question at the LOVE Terminal library topic? I'll send a link. https://love2d.org/forums/viewtopic.php ... 39#p244139
by WAWAWA
Thu Oct 14, 2021 5:41 am
Forum: Support and Development
Topic: These buttons execute the same callback but they are different tables!
Replies: 10
Views: 8689

Re: These buttons execute the same callback but they are different tables!

oh gosh thanks. Right now I am making textboxes so wish me luck.
by WAWAWA
Thu Oct 14, 2021 5:06 am
Forum: Libraries and Tools
Topic: [LIBRARY] tt.lua - Text triggers for lua!
Replies: 5
Views: 8379

Re: [LIBRARY] tt.lua - Text triggers for lua!

This is great, keep up the good work fellow lua user.
by WAWAWA
Wed Oct 13, 2021 11:28 am
Forum: Support and Development
Topic: These buttons execute the same callback but they are different tables!
Replies: 10
Views: 8689

Re: These buttons execute the same callback but they are different tables!

The issue seems to be in your buttons' update() function. You check if a button is being highlighted, but then handle the clicks as though highlighting doesn't matter. As such, what's happening is that button1 is getting clicked regardless what you click on the screen. So you'll have to do this lit...
by WAWAWA
Wed Oct 13, 2021 11:26 am
Forum: Support and Development
Topic: These buttons execute the same callback but they are different tables!
Replies: 10
Views: 8689

Re: These buttons execute the same callback but they are different tables!

BrotSagtMist wrote: Wed Oct 13, 2021 9:42 am Easy, you actually forgot to check positions and have no button at all, the function is executed everywhere in the window.
I guess you actually intended to put this inside the highlight part but forgot?
Oh gosh, I was so dumb :cry:
by WAWAWA
Wed Oct 13, 2021 9:27 am
Forum: Support and Development
Topic: These buttons execute the same callback but they are different tables!
Replies: 10
Views: 8689

These buttons execute the same callback but they are different tables!

For some reason, I have two buttons. Only one is set to quit the game, but the second one also has the same callback even tho it is not defined? My brain is frying right now, please help me. This is the code for the game. local Button = require('libraries.button') Button:setFont(love.graphics.newFon...
by WAWAWA
Wed Oct 13, 2021 8:40 am
Forum: Libraries and Tools
Topic: LOVE Terminal Emulator
Replies: 23
Views: 38595

Re: LOVE Terminal Emulator

I forgot to mention I tried looking at the code but it's just so much fennel.