To solve Laplace’s equation in Java we are going to use the finite difference method. A very good explanation on how it is derived and the math behind it can be found online [1]. To start this process, we are going to create a pseudo 2D array in Java. This can be envisioned as discretizing…
Blog
Dollar Cost Averaging (DCA)
What is dollar cost averaging?Dollar Cost Averaging (DCA) is a method where instead of investing all of your capital at one point in time, you spread out your investment purchases over a period of time to reduce risk of investing at the wrong time. What is the theory behind it?The theory is that with a…
Gold vs S&P 500
Gold vs S&P 500 Gold price relative to cash value / market conditions is one of the first things people wonder about in times of financial crisis. Should I buy gold as a way to preserve my capital? Should I hedge my portfolio with gold? Can I eat all the gold I own when the…
*libGDX* Complete Tutorial: How to make a simple game in LibGDX.
This is a one page guide from start to finish on how to create your first libgdx game for android/iOS/html5/desktop. I am however going to skip downloading java, SDK, and libgdx, as I’m assuming you already possess those if you are reading this. If you do not infact do, there are many various tutorials online…
*libGDX* Complete Tutorial: How to make a simple libgdx game – continued
Hello again! We are going to take our icicle mayhem game we just made (our whatever version you happened to have created!) and add some more advanced stuff to it, such as a main menu, achievements, and animations. We are going to build right off of the last post, so please visit that if you…
*libGDX* Creating the Map or Platform – Tiled
To create the map that will be used in the game, we use an amazing free open source program called Tiled. You are able to download it from here: http://www.mapeditor.org/ Open opening this browser, you are able to create a new map. For mine i kept the tile size at 32, and made the map…
*libGDX* Creating Objects and Movement
Here we will be showing how to create a simple object and to make it move. To do this we will first need to make a simple object that we would wish to create. Below is a picture I drew in 3.5 seconds, its a 20×20 pixel png image named “object.png”. Note: All asset names…
*libGDX* Creating a Main Menu
Woohoo! We are actually going to create than darn main menu now. Since we are going to be clicking past the main menu we are going to have to create a screen to hold our formal game. So to do this we will create a new class in the package and call it GameScreen, then…
*libGDX* – Creating your first project.
libGDX is used as an extension to your current IDE to make game programming across different formats available. Your are able to code your game in Java, but it will export the game to iOS, HTML, Desktop, and Android. An amazing feature of the desktop mode is for very fast testing of the program without…
*libGDX* Camera work and Writing Text
In this post we are going to be focusing on creating a camera to view our screen and a very simple act of writing text to appear on screen when touched. First if you are following from the previous post there is something that you will need to change in the main game class: 123456789…