Sunday, November 10, 2013

Explore v1.4

Removed the horrid block collision and added and Item Manager module along with a test item, a Coin. You can collide with coins, at which point the coins will disappear. Check out the code and compile it yourself via Dropbox: https://www.dropbox.com/sh/z9bmw4q3jkm4b2m/T25PLJps1k
5 coins added for demonstration. Colliding with them causes them to disappear.

Saturday, November 9, 2013

Embedded HTML Tutorial for Blogger

I felt like making a tutorial for those who didn't already know about the great HTML embedding that blogger features. Here we go:

Step 1 - Find Something to Embed:
You need to find something to embed first. You can embed anything from YouTube videos to stats trackers. I will be using a Solar-Terrestrial Statistics tracker for this tutorial.
http://www.hamqsl.com/solar.html
(click images to expand)
Step 2 - Copy the Given HTML Code:
Simply copy the code that the website gives you.
Step 3 - Create a New Gadget:
On the layout tab of your blog's management page, find any block where you have the option to click
"Add a Gadget" and create a new gadget for your page.
Step 4 - Create a HTML/JavaScript Gadget:
Scroll down through the list of gadgets until you reach "HTML/JavaScript" and choose it.
Step 5 - Paste the HTML from Step 2:
Copy the code from step 2 into the textbox of the Add HTML/JavaScript window. If you know HTML, you can change a few things if you like. For example, I have removed the anchor tags that would link to the original website. (I still give credit to the creator, though)
Original

Edited
Step 6 - Save It
Click save and you're done! Hope you learned something from this.

Monday, November 4, 2013

Explore v1.3

I have implemented some really bad collision that will prevent the pc from continuing through the blocks. The block manager now has a map system that allows you to easily use a grid system to cover the screen in blocks where you want them. I will probably not use these blocks in the future, although I may condense the mapping code an put it into a separate class for future aesthetic purposes like tiles for the background.
You can download the code to compile yourself like always via Dropbox at:
https://www.dropbox.com/sh/f78nortnzbance1/glmWvR9zMi
Some obstacles made by joined blocks using the new mapping system (see below)

Colliding with the block


a look at the mapping layout (click to expand images)

the new collision system for the pc (1 of 2)

the new collision system for the pc (2 of 2)

Sunday, November 3, 2013

Explore 1.2

I have added a block class and a block manager. The block manager by default adds three blocks across the screen. When the PC collides with a block, the block turns red. There is a new collision system that is borrowed from Falling Balls (still all written by me), but much more optimized and efficient. As always, you can download all the source code via Dropbox here:
https://www.dropbox.com/sh/s5nwsqs2f5vsr7f/yKZIYzLUu0

Three Blocks, managed as a group by the Block Manager module

Demonstrating collision with a Block