Search found 18 matches

by Ramcat
Tue Jun 03, 2014 4:38 pm
Forum: General
Topic: Thread Necro
Replies: 8
Views: 2909

Thread Necro

To avoid derailing the originating thread: https://www.love2d.org/forums/viewtopic.php?f=3&t=48 Forum software really should apply a sort of shading to posts that are older than a certain threshold. Or remove the ability to quote. Or at the very least warn you when you're about to reply to or bu...
by Ramcat
Tue Jun 03, 2014 4:21 am
Forum: Games and Creations
Topic: LoveTank - Soft Launch
Replies: 9
Views: 5773

Re: LoveTank - Soft Launch

@Davidobot Yeah, that is a cool train simulator!! @substitute541 There is the complicated part about making a .love file for distribution. The code already reads tanks from the .love file and the AppData folder. In addition to distributing the .love file we need to distribute a Tank template (actual...
by Ramcat
Tue Jun 03, 2014 3:28 am
Forum: General
Topic: Concept of a button?
Replies: 12
Views: 15444

Re: Concept of a button?

@OttoRobba Thank you. I missed the "See Also" font link. Leading to: A minor improvement in the button class. require 'class' local M=class(function(self, text, x, y, width, height) self.text = text self.X = x self.Y = y self.width = width self.height = height self.clicked = false local fo...
by Ramcat
Mon Jun 02, 2014 4:23 am
Forum: General
Topic: Concept of a button?
Replies: 12
Views: 15444

Re: Concept of a button?

Thanks again for the input/help. I created my own button class - nothing fancy but clickable and draws itself. Hover would be a nice feature as well as a tooltip, but I don't need those things yet. One thing I can't find going through the docs and example code is, how do I tell how long and how high...
by Ramcat
Sun Jun 01, 2014 8:44 pm
Forum: General
Topic: Concept of a button?
Replies: 12
Views: 15444

Re: Concept of a button?

Very enlightening. So your "buttons" table is sort of like the stage in Action Script. You add the active buttons that are currently displayed on the screen to the button table and remove any buttons from that table as they are removed from the screen. That way your looping code can only c...
by Ramcat
Sun Jun 01, 2014 7:59 pm
Forum: Games and Creations
Topic: LoveTank - Soft Launch
Replies: 9
Views: 5773

Re: LoveTank - Soft Launch

Thank you for the input and advice. I will update the first post with a .love file when I get the next part working. I do appreciate a good conversation about code and architecture. Not sure about the standard practices of this forum (of course I have read the rules) or the etiquette, so I hope to n...
by Ramcat
Sun Jun 01, 2014 4:20 am
Forum: General
Topic: Concept of a button?
Replies: 12
Views: 15444

Concept of a button?

So I just announced the "soft" launch of "LoveTank". And I also mentioned the desire to add a screen that allows people to select which tanks will participate in the battle. What I'd like to do is have each tank name be a "button", so that when you click it, it changes ...
by Ramcat
Sun Jun 01, 2014 3:28 am
Forum: Games and Creations
Topic: LoveTank - Soft Launch
Replies: 9
Views: 5773

LoveTank - Soft Launch

Let me start by saying we love LÖVE2D. Wonderful framework and whoever took the time to create something so great and release it to the world is truly kind and worthy of praise. That said, we'd like to announce the "soft" launch of LoveTank. Basically a "game" where you write the...