LUA String mangling: trim a string
November 23, 2007 | Add a comment »Here’s a usefull function to trim (remove leading and/or trailing spaces) a string
function trim (s)
return (string.gsub(s, "^%s*(.-)%s*$", "%1"))
end
Here’s a usefull function to trim (remove leading and/or trailing spaces) a string
function trim (s)
return (string.gsub(s, "^%s*(.-)%s*$", "%1"))
end
Words. For. The. Weekend.
Hopefully another informative read.
Articles
Game-industrie stevent af op record-jaar - The first article in Dutch so far, a little news snippet about the game industry heading towards a record-breaking year in terms of sales.
Nice books on the game industry - Related Quest if you want to develop anything close to a game with it.
Don’t Listen To The Fans - Article why not to listen to your ‘fans’ if you have created a game. That’s right. NOT listen to your fans. Quite a fun read.
Women in Gaming - The hardcore gamers’ worst nightmare. A woman. Playing a game :).
5 Principles For Programming - I think some or all may be applicable to Quest3D too, nice read nonetheless.
Tools
Taskbar Shuffle - Tools that allows you to shuffle the programs open on your taskbar.
Launchy - Another GTD and productivity tool, it reduces the times you have to point in the direction of that strange ’start’ button, instead just type what you need and it will open de appropriate tool, like Quest3D 3.5.
Color palette generator - Create a color palette using an image.
Tutorials
How to Create Professional HDR Images - Do you own a camera that allows you to set exposure manually then you are a few steps from creating your first HDR image with nothing but Photoshop CS2
Resources
The Cloud Appreciation Society - So whaddayouknow there is one. Now we can all be experts on the clouds department. But seriously this is a nice resource if you need to create a sky.
Photoshop Brushes - This site claims to be the “Largest Photoshop Brush Resource Site on The Internet”, they may even be right.
Hopefully this is enough to keep you busy for the weekend!And since we’ve already seen all these cool things you could leave us a reply with some more cool stuff to keep us busy in the weekend.
Happy reading,
the Quest3D|Log team
![]()
Any project (game/visualisation/training/simulation) needs icons. Usually loads of them. And you end up doing them yourself. Usually….
So we made a small list of sites with free icons
Got any more sites? Mail us!
Yet another readup for the weekend! Each week we scout the web for the most freshest content out there, but we might miss that one great tool, link or article you think should also be included in our list, then please don’t hesitate and enlighten us! (mail your links to questlog[at]rgb255.nl)
Casual Games Research - Casual games relax! Research proves it.
Pixsy - Search pictures

Make it Big in Games - Blog with the do’s and don’t in the game industry
Silo 2.0 Beta1 forum thread - Beta version of my favourite modeller has been released.

Iconaholic - pretty eyecandy for fancyfying your desktop
![]()
Google Video - History of Videogames - Enjoy this documentary of the history of videogames
LUA Tutorial - LUA Programming Basic structures and more resources on ozone3D.net
Public Gaming Article - Why We Need a Corporation for Public Gaming
GFX Artist - GFX articles and tutorials
FRAPS - Fraps, a must have, can create screenshots and video captures of all your Quest3d projects
Del.icio.us - Online bookmark / network / Web 2.0 website, once you got an account, you can’t stop. You have been warned.
Quest3D has it’s own way of creating timers, however sometimes you just want to create your own. Here I’ll describe a quick way of creating a timer using ExpressionValue channels.