Search found 721 matches

by Plu
Wed Jul 20, 2016 8:03 pm
Forum: General
Topic: Can you point me to a good, simple, up to date game example?
Replies: 5
Views: 3685

Re: Can you point me to a good, simple, up to date game example?

Have you looked through the Games & Creations board on the forum?

viewforum.php?f=14

It should have all sorts of examples, work in progress, and complete games.
by Plu
Wed Jul 20, 2016 7:32 am
Forum: Libraries and Tools
Topic: Barrack - A simple type checking library
Replies: 7
Views: 3676

Re: Barrack - A simple type checking library

I've noticed that after implementing this schema, things started to work properly considerably more often and a lot earlier in development than before I had it :P
by Plu
Wed Jul 20, 2016 6:27 am
Forum: Libraries and Tools
Topic: Barrack - A simple type checking library
Replies: 7
Views: 3676

Re: Barrack - A simple type checking library

I've also created a validation-type library, which also allows extensions and user defined types. It's a little more verbose as a result, but it might also be more powerful. Maybe it has something you can use? Feel free to scavenge whatever you want from it. I'm always a fan of tools that improve er...
by Plu
Tue Jul 19, 2016 9:06 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1503101

Re: What's everyone working on? (tigsource inspired)

Since I found that you can actually get some work done if you have to commute 2 hours by train/bus every day, I've jumped back into some löve because it's just that awesome. I'm currently working on a UI/rendering library, mostly because I found it to be a really interesting challenge and I wanted t...
by Plu
Mon Jul 18, 2016 7:46 pm
Forum: General
Topic: What's your Lua/Love setup ?
Replies: 26
Views: 18730

Re: What's your Lua/Love setup ?

I use ZeroBrane studio for all my editing and running. Don't think I've changed any settings. It's quite nifty, although there seems to be a bug in the Ubuntu version, which crashes a lot when I switch project directories :(
by Plu
Wed Jul 13, 2016 8:48 pm
Forum: Support and Development
Topic: Best way of serializing data for transmission over network interface
Replies: 30
Views: 13235

Re: Best way of serializing data for transmission over network interface

I don't know what the "best way" is, but the general principles of user input apply here: 1) assume everything sent is malicious 2) validate all possible input 3) only accept the input that you expect The basic idea would probably be to encode only basic data (numbers and strings in tables...
by Plu
Wed Jul 13, 2016 8:33 pm
Forum: Support and Development
Topic: Problem with table serialization
Replies: 8
Views: 4643

Re: Problem with table serialization

Unless you tell us what's wrong about the image you posted, I don't think we can really help you.
by Plu
Wed Jul 13, 2016 3:02 pm
Forum: Support and Development
Topic: The Better GUI framework for Love
Replies: 7
Views: 6130

Re: The Better GUI framework for Love

Do you have any special requirements for the library? Usually you pick a tool because it's good at what you aim to do with it :)
by Plu
Wed Jul 13, 2016 3:01 pm
Forum: Support and Development
Topic: Get the current screen translation?
Replies: 1
Views: 1384

Get the current screen translation?

Is there any way to obtain the graphics system's current translation?

Ie;

Code: Select all

love.graphics.translate(10, 5)
love.graphics.translate(25, 3)

x, y = someWellHiddenMethod() -- should return 35, 8

Or will I have to track the changes myself?
by Plu
Mon Oct 27, 2014 10:56 am
Forum: General
Topic: Linking/merging drawings
Replies: 3
Views: 3106

Re: Linking/merging drawings

You can also wrap them into a function, and call that for the actual drawing.