Search found 930 matches
- Tue Dec 25, 2012 4:24 am
- Forum: Games and Creations
- Topic: [Completed] Christmas-themed Game
- Replies: 2
- Views: 1266
[Completed] Christmas-themed Game
I am not in the best mood this evening so I decided to spend my time working on a little game instead of socializing. This is my first completed game, though not the first project I have worked on. It took roughly an hour and a half to complete. Feel free to critique. I grabbed the assets from the '...
- Sat Dec 15, 2012 11:20 pm
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 168020
Re: Gspöt - retained GUI lib
No need for that :\
- Sat Dec 15, 2012 7:13 pm
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 168020
Re: Gspöt - retained GUI lib
Magic.
Each screen runs in its own love sandbox, controlling the main callbacks (load, update, draw, etc). Have a look through my project's code if you'd like.
https://github.com/karai17/love-und-panzer
Each screen runs in its own love sandbox, controlling the main callbacks (load, update, draw, etc). Have a look through my project's code if you'd like.
https://github.com/karai17/love-und-panzer
- Sat Dec 15, 2012 6:12 pm
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 168020
Re: Gspöt - retained GUI lib
Thanks for the reply, mate. I'm not using a state system in my game. Instead, I am using separate love-like instances for each screen so access to a previous screen's data (such as construction references), without passing it forward, is difficult. I tried passing my chat forward and, as expected, t...
- Sat Dec 15, 2012 7:50 am
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 168020
Re: Gspöt - retained GUI lib
Double Post
How do you interact with other instances of Gspot? I want to display the chat system I made on more than one of my screens without having to lose any data or pasting a whole bunch of code. Is that possible
How do you interact with other instances of Gspot? I want to display the chat system I made on more than one of my screens without having to lose any data or pasting a whole bunch of code. Is that possible
- Thu Dec 13, 2012 4:58 pm
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 168020
Re: Gspöt - retained GUI lib
Thank you very much for this big fix, it really helps me out! I understand that it can be tiresome to work on the same thing over a long period of time. With the scrollgroup bug fixed, Gspot is, like, 95% amazing. A pretty good score if you ask me ;) I'll poke around and see if I can't get those thi...
- Thu Dec 13, 2012 9:34 am
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 168020
Re: Gspöt - retained GUI lib
So I think I found a pretty significant bug in Gspot. If you look at the following example, you'll notice I have 3 scrollgroups and 3 buttons. Each button sends text to the appropriate scrollgroup. The problem here is that it looks like you can only have a single scrollgroup at any one time on scree...
- Sat Dec 01, 2012 12:37 am
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 168020
Re: Gspöt - retained GUI lib
Hrm... Here is the code I am currently working with: https://github.com/karai17/love-tanks/tree/master/client Which method would you suggest that would work best with my gamestate (screen) controller? Edit: Are you suggesting somethign like this: -- main controller gui = require 'Gspot' --[[ CONTROL...
- Fri Nov 30, 2012 11:22 pm
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 168020
Re: Gspöt - retained GUI lib
Thanks for the reply! I'll take a look at your examples and see if I can get something working. :) In the mean time, I have found another issue I am a bit confused by. I have a screen/gamestate system set up. When I switch to the next screen, the gui stays persistant and doesn't go away. You have a ...
- Fri Nov 30, 2012 7:11 am
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 168020
Re: Gspöt - formerly Yet another stateful GUI
G'day mate! Awesome library! :D I was wondering if there was an easy way to check which element has focus, or even better, to run a function when an element gains or loses focus? Something like this: input = gui:input("text input", {x=0, y=0, w=48, h=16}) input.onFocus = function(this) thi...