Saturday, June 25, 2016

3D Tower Defense Tech Demo

Adding some more intuitive mouse controlled movement for drones in 3D Tower Defense- here's a quick tech demo!

With transparency for better camera vision:

Salazar Games Remastered- Now Online!

Just posted the new version of the Salazar Games website to www.salazargames.com- I'm very pleased with the way both the games auto-layout and the media presentation developed:

Main Page:

Excerpt from Media Page:

 Excerpt from About Page:

Some interesting hurdles:
1. Auto-loading of games:
In some extremely old versions of the SG website, I would add a separate page and custom box for each game available in our games list- a tedious hour-long process for what should have been essentially a single row in a SQL table. Eventually turning to this method, I modeled a template that pulls the game info from the SQL database with php, then fills three columns in a feed style with game tabs with some greedy column-height based javascript. However, I wanted the ability to test this code locally, with relying on the Fatcow-hosted SQL database. To keep myself from working with a blank game sheet, I decided to change the route of database, and type of information pulled, based on the pages observed URL- thus from localhost we hit the local repo, and from salazargames.com we hit the Fatcow repo. This ended up being an incredible boon, as I could much more quickly edit the local repo, to add option buy buttons, etc.

2. Making custom Paypal buttons (without using images):
Paypal has system built into their button creation that allows users to customize the button by adding their own images- sounds great, right? Problem is, this keeps the buttons from having any interaction-defined image changes, leaving your button static on mouseover, click, and focus- not great for user interaction.
The solution? The forms that paypal uses for their button only depend on the post request to paypals server, with the proper button ID (held in the images "value" field in their copyable embed code). If you grab this code, you can swap out paypals button of a submit button of your own choosing and styling- in fact, you can use the same form they give you, just with the replacement submit button as follows:
As long as the ID matches, Paypal doesn't care! In fact, this makes for rather easy storage of paypal links in the SQL database. Woot!



Wednesday, June 22, 2016

Salazar Games Website (Remastering)

Spent last night and this morning pouring through hundreds of fonts (mostly re-renderings of 8-bit arcade, a motion I find semi-amusing, since the fad in those days was to try and make the 8-bit look as good as possible, not the other way around- but retro pixelplay has found a great following among "classic gamers", and I certainly see the appeal of a handcrafted pixelart masterpiece- a digital cycling of the impressionists), and decided on a playful script typeface named "Luna" to open my redone version of my old game design company's site. Huge shoutout to underscore.js and bootstrap for easing my UI woes.

Old Homepage:

Remastered Homepage (with Luna font and gallery slideshow):

Games list (below slideshow):

And footer!

Tuesday, June 21, 2016

Been putting in a few more morning hours into getting motion working for drone control (big thanks to +Parke Bowman for the sprite!) in the tower defense- granting some unique/odd angles to explore with the camera:



Monday, June 6, 2016

3D Tower Defense Prototype

Been building a prototype for a 3D Tower Defense game after chatting with some friends- seemed like a perfect time to start a serious project in Unity. In the game, pirating ships will enter your cubic space station from any of six directions, then make their way towards the remaining lifeforce on the ship, or aim for various supply hangars. Your job is to protect these, directing drones through tunnels to rebuild the ships latent defense systems in third and first-person. Loving even the initial cubic visuals.