Search found 286 matches

by Sir_Silver
Wed Aug 24, 2016 12:06 am
Forum: Support and Development
Topic: Question on fonts
Replies: 4
Views: 3454

Re: Question on fonts

Does rapidly changing fonts cause any performance issues? Assuming that your fonts are stored in local variables and not being generated every tick/draw frame, I don't see why it would cause performance issues. I guess it kind of depends on exactly what it is that you're doing though. One way I can...
by Sir_Silver
Tue Aug 23, 2016 11:40 pm
Forum: Support and Development
Topic: Trying to understand detouring/hooking.
Replies: 18
Views: 6018

Re: Trying to understand detouring/hooking.

Huh, you know what? I've tried messing with the love.visible callback function https://love2d.org/wiki/love.visible , and noticed that this function is getting called once when the window loads, but isn't called when you call love.window.minimize() or when you hit the minimize button. I think if thi...
by Sir_Silver
Tue Aug 23, 2016 11:27 pm
Forum: Support and Development
Topic: Trying to understand detouring/hooking.
Replies: 18
Views: 6018

Re: Trying to understand detouring/hooking.

Oh, sorry. I ended up making a post while you were making one I guess. So based on your code example, it looks like it could be possible, if I'm willing to call some C functions as you've shown. The idea is a bit scary since am only familiar with lua, but interesting nonetheless. I tried out your co...
by Sir_Silver
Tue Aug 23, 2016 11:09 pm
Forum: Support and Development
Topic: Trying to understand detouring/hooking.
Replies: 18
Views: 6018

Re: Trying to understand detouring/hooking.

Thanks for the input Positive and zorg. Mostly, I was trying to see if I could make use of the buttons at the top right of the window: minimize, maximize, and close, more so than just trying to manipulate what happens when the window is resized. Based on what s-ol said, I've determined that this is ...
by Sir_Silver
Tue Aug 23, 2016 8:37 pm
Forum: Games and Creations
Topic: Silver Chess - My first LOVE game!
Replies: 12
Views: 8200

Re: Silver Chess - My first LOVE game!

The first idea sounds decent, it certainly could stand out more. As for the second point, yeah you can promote to any of the four pieces, regardless of how many you currently have, so theoretically you can have 9 queens (8 pawns promote to queens + the original queen), you just need to have sufficie...
by Sir_Silver
Tue Aug 23, 2016 8:16 pm
Forum: Games and Creations
Topic: Silver Chess - My first LOVE game!
Replies: 12
Views: 8200

Silver Chess - My first LOVE game!

Hello, today I wanted to share with you fine people my first LOVE creation, which is Silver Chess! Here is a list of some of the features: --Sound effects for moving pieces, winning, and stalemate. --Move assist, which shows you all of the legal moves for a piece that you are holding. --Highlighting...
by Sir_Silver
Tue Aug 23, 2016 6:53 pm
Forum: Support and Development
Topic: Trying to understand detouring/hooking.
Replies: 18
Views: 6018

Re: Trying to understand detouring/hooking.

I'm checking it out right now. It would seem that love.window.minimize does not seem to call the resize function, however, maximize does. My guess is that minimize is just hiding the window as opposed to actually minimizing it's size. With this new knowledge, I can add additional behavior to when th...
by Sir_Silver
Tue Aug 23, 2016 6:36 pm
Forum: Support and Development
Topic: Trying to understand detouring/hooking.
Replies: 18
Views: 6018

Re: Trying to understand detouring/hooking.

That's because minimizing the window is done by the operating system, which might tell LÖVE about that happening and then proceeds to minimize the window. None of this happens in lua code. When you call love.window.minimze() yourself, that will work as expected, but the operating system won't call ...
by Sir_Silver
Tue Aug 23, 2016 5:29 pm
Forum: Support and Development
Topic: Trying to understand detouring/hooking.
Replies: 18
Views: 6018

Trying to understand detouring/hooking.

As a preface, please forgive me if I am using some technical terms incorrectly here, just try to bare with me. I am trying to change the love window's button's behavior: minimize, maximize, and maybe even close. The first thing I tried doing was looking on the wiki side to see if there was a callbac...
by Sir_Silver
Tue Aug 23, 2016 4:15 pm
Forum: Games and Creations
Topic: Creating a game company.
Replies: 17
Views: 8188

Re: Creating a game company.

Has this game made any progress as far as development goes? I think a developer diary/log on progress would be a very interesting read.

Is this the first game you have ever made or have ever tried making? If not, I'd like to see some of your other works.