Subscribe to Stuck in an Infiniteloop        RSS Feed
- - - - -

Introduction to Lua - Part III

Icon Leave Comment
Coming Soon to an "Other Languages" Tutorial Section Near You! Tutorial here

Introduction to Lua - Part III


This tutorial requires you to have a somewhat firm grasp on basic Lua concepts (variables, how to run Lua, etc...), for complete information please read Introduction to Lua and Introduction to Lua - Part II...
- - - - -

Introduction to Lua - Part II

Icon 1 Comments
Coming soon to an "Other Languages" tutorial section near you! Tutorial Here

Introduction to Lua - Part II

If you haven't familiarized yourself with Lua, please read: Introduction to Lua...
- - - - -

Introduction to Lua

Icon 4 Comments
Coming Soon to an "Other Language" Tutorial Section Near You! Tutorial here

What is Lua?

From Lua's homepage, www.lua.org:

...
- - - - -

Detecting Collision Between Two Spheres

Icon Leave Comment
This blog post is going to be more code then text as the code has plenty of comments and typing it again would be overly redundant. To determine collision between two spheres in a given time step we calculate the "next" position of each spheres and pass both of them in addition to the "current" position of the sphere to the...
- - - - -

Gravitational Effects on a Particle in 3D Space

Icon 2 Comments
Consider a point in 3D space, i.e. a 3D vector. We have x, y, and z coordinates, however for the purposes of the following snippet, it is easier to picture a 2D graph with X and Z axes since I won't be doing any changes on the Y value.

In a video game, collision detection is very important. In fact, it makes or breaks a game. You want that...
- - - - -

Passing By Reference (C++ vs. Java)

Icon 5 Comments
At some point, I imagine you have had the need for functions to communicate with one another. It usually takes the form of function parameters since global variables are not good programming practice. A basic version looks like:

...
- - - - -

String Permutations in Java

Icon 1 Comments
I'm sure we all have had to do this at one point or another and it is especially handy in courses like Linear Algebra. A permutation is the arrangement of items within a set of data. Typically it is a string and thus the characters that comprise the string. It could also be numbers (bit matrices/parity error checking comes to mind). We want to...
- - - - -

Multiple Inheritance in C++ and Java

Icon 2 Comments
C++
Consider the following base class:

//base classclass Animal {protected: //derived classes get these	int age;	string name;public:	Animal() {};};


This in and of itself is slightly worthless. In our world we have all sorts of animals with all sorts of particular quirks and abilities.

...
- - - - -

Overloading Operators in C++

Icon 4 Comments
One neat thing you can do in C++ that is not present in Java is the ability to overload operators like * / + - % ^ & | ! , = < > <= >= ++ -- << >> == != && || *= /= %= ^= &= |= += -= <<= >>= -> ->* [] () new delete.

Here, I'll go over a few common ones: =, +...
- - - - -

Technology Expo

Icon Leave Comment
Technology Expo

I went to a technology expo hosted on Fort Hood today and I had a pretty good time. There were over 30 various companies there ranging from IBM to an office supply dealer. I saw some very interesting (possibly "new"?) technology. Not to mention the free stuff. :-) Pens, notepads, you name it. I found it quite beneficial...

  • (13 Pages)
  • +
  • « First
  • 9
  • 10
  • 11
  • 12
  • 13

July 2014

S M T W T F S
  12345
6789101112
13141516171819
20212223 24 2526
2728293031  

Tags

    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)