Loading...

Sep 14, 2014

Bulletproof Executive / Upgraded Self - Coupon Codes


I'm a fan of the Bulletproof Executive podcast and every once in a while purchase something at their Upgraded Self store.  If I have a complaint about them is that their products are quite pricey, so coupon codes are very handy. As someone who is likely to continue buying a product here and there I'll always look out for valid/current coupon codes--and I will list them below.

Codes:
  • UPGRADED1310
    • Working as of 9/14/2014, 10% off.
    • Is associated with a specific email address.  If you wanted to reuse the code you would have to use a different email address every time.
  • BULLETPROOFMOM
    • Expired, 10% off.

If you run into some of these coupons please share them in the comments so we can all save some dollars.  Happy biohacking! ;-)

Aug 18, 2014

LUA Table/Array Maker - Save Time and Brain Cells

Download: http://jbafiles.com/free/lua-table-maker.zip

Purpose:
This program's intent is to facilitate the creation of LUA tables/arrays by removing the need to specify an integer value on each entry. Furthermore, this also facilitates updating the table by not having to adjust each entry's integer value.

In a way it reminds me of enumeration in C++ and C#.

Aug 17, 2014

RTS Camera in Leadwerks Engine

SETUP


The videos and code below cover the setup, motion, and actions for an RTS "like" camera in Leadwerks. We will focus on the basic elements of the Rise of Nations camera.

What we want:
  • Camera that moves forwards, backwards, left, right.
  • Zooms in and out.
  • Can turn left and right.
  • Has a speed multiplier.
  • Can "pick" entities/actors/characters and can assign them to move to a specific location.
  • [update] Group selection via "Selection Box" has been added.

We will place a pivot into our map, this pivot will have a script attached. In the script we will create a camera, which will have the pivot as its parent. Most of the movement manipulations will be done on the pivot, but there are some that will be specific to the camera (such as zoom in/out).  Picking characters and assigning actions will be done through raycasting from the camera and mouse input.