Search found 12 matches

by Redshft
Sun Sep 01, 2013 9:57 pm
Forum: Libraries and Tools
Topic: Debug - A whole new way of debugging your game
Replies: 106
Views: 49536

Re: Debug - A whole new way of debugging your game

Hummm.. You could learn lua.. All you need to do is to press ctrl+f8 and type away. To see de contents of a var you do : print(var) to change the var you do: var='whatever' This is basic lua :| I know lua. There just wasn't any explanation as to how this console is supposed to work. There isn't any...
by Redshft
Sat Aug 31, 2013 10:03 pm
Forum: Libraries and Tools
Topic: Debug - A whole new way of debugging your game
Replies: 106
Views: 49536

Re: Debug - A whole new way of debugging your game

How would I inspect and change variables? Is there an example/tutorial of this anywhere for this script?
by Redshft
Fri Aug 30, 2013 11:42 pm
Forum: Libraries and Tools
Topic: Debug - A whole new way of debugging your game
Replies: 106
Views: 49536

Re: Debug - A whole new way of debugging your game

Is there a feature list for this anywhere? Does it just print out values or can I actually inspect values in my script?
by Redshft
Fri Apr 13, 2012 4:41 am
Forum: Libraries and Tools
Topic: Debug - A whole new way of debugging your game
Replies: 106
Views: 49536

Re: Debug - A whole new way of debugging your game

Ok, thanks. Also, do I need to run anything, to get this script to work? Right now the console is not working when I press control and F8 or shift and f8.
by Redshft
Fri Apr 13, 2012 3:59 am
Forum: Libraries and Tools
Topic: Debug - A whole new way of debugging your game
Replies: 106
Views: 49536

Re: Debug - A whole new way of debugging your game

I'm new to Lua and Love2D, and i'm having trouble integrating this script. Do I need to do anything other than: require("debug") If I type that, and launch the game, and try shift+f8 nothing happens. Ctrl+f8 doesn't work either. For some reason typing this also gives an error: require(&quo...
by Redshft
Fri Apr 13, 2012 3:13 am
Forum: General
Topic: love.graphics.triangle
Replies: 0
Views: 874

love.graphics.triangle

Hey guys, I'm fairly new to Love2D, and really having a good time so far. I'm mainly using it, thus far as a tool to learn AI techniques in games. Right now as an exercise, i'm translating a simple matrix library, and using it to give me proper coordinates to draw a triangle on screen. The triangle ...
by Redshft
Tue Apr 10, 2012 3:27 am
Forum: General
Topic: Message Passing System?
Replies: 10
Views: 4836

Re: Message Passing System?

Just a side note, Beholder seems to have a global state associated with it, which may or may not be what you want. I myself prefer non-globals whenever possible, so I generally do something like this (or which metatables) when I want an observer pattern: function newSignal() local actors = {} retur...
by Redshft
Tue Apr 10, 2012 3:21 am
Forum: General
Topic: Lua Linear Algebra Libraries?
Replies: 3
Views: 2174

Re: Lua Linear Algebra Libraries?

slime wrote:Personally I use hump.vector (code). Someone has been working on a library which mirrors the GLSL vector syntax and functions, so I might use that once it's finished and stable.
Thanks. This is exactly what i'm looking for.
by Redshft
Tue Apr 10, 2012 1:18 am
Forum: General
Topic: Lua Linear Algebra Libraries?
Replies: 3
Views: 2174

Lua Linear Algebra Libraries?

Hey Everyone, I've been looking around for a math library that defines vectors and vector operations, addition, subtraction, dot product, magnitude, normalization etc. I've looked a bit at the Love engine wiki and it didn't seem like there was anything of that sort there. Plus the standard Lua libra...
by Redshft
Mon Apr 09, 2012 10:36 pm
Forum: General
Topic: Message Passing System?
Replies: 10
Views: 4836

Re: Message Passing System?

Ah, Thanks Kikito! Thanks what I was looking for. This is much appreciated. Code is so much cleaner with message passing. :awesome: