Get The Code

Tuesday, November 22, 2011

Taco Truck : I put up a pre Alpha Download.

I put up a pre Alpha Download.
It has no scoring yet just wanted to make sure the build file was working and to show off my sweet beats.


Tacotruck.zip


Game Play:

Start Game
Hit the Program Button
Use the Arrow Keys to fill in your program bocks with values ( FORWARD, CLOCKWISE, COUNTER_CLOCKWISE, EMPTY)
Hit the (Q) Key To return to the Menu
Hit the Execute Program to see how your taco truck does.

ESC to exit.

Enjoy :)

Tuesday, October 11, 2011

Instead of working on my android game or scripblocks I was blendering

There was a new tutorial on how do do cloning on blendernation so I tried it myself.
Notes :
I couldn't use a movie file. I had to export my ogv file to single png files
The camera even though still, changed the color a bit
Blender crashed on me a lot :(

Saturday, September 17, 2011

Sand Castle TD Stuff for today

Today I will be working on
Smaller Map
Split Screen For Inventory
Splash Screen

Sound Music
Balance
Score

Wednesday, September 14, 2011

What makes a Tower Defence Game Fun?

I have been playing gem craft and desktop towerdefence and used to play a mod for War Craft.

a friend from my game group have given me some pointers.

1. A story
2. A larger World Map with the different maps inside it.
3. Good Characters
4 Mana or Resource of some kind.
5. Fast Forward Button

any one have any other good ideas.

Monday, September 12, 2011

LD48 I didnt win :( And Working on Castle TD

Well They voted and I didn't win the Ludum Dare. I will definitely try again next time.
Like I have said before I think next time I will try and do a web based HTML5 game instead.
I ended up having 350 downloads so that was cool. It was fun to try it.

Castle TD is coming along. I need to figure out how to do the path finding based on NPC speed, delta time  and the resolution of the game...

Wednesday, September 7, 2011

Some Progress

I got the life and enemy health working.
I have new turret placement sort of working

Game Feature Outline TODOs

Just coming up with a list of things to do for Sandcastle TD
Sandcastle TD TODOs:
Create drag and drop of the turrets
Create targeting system
Create point system
Create life system for mob(hitpoints)
Create Mob Release

Nice to haves
Create Graphics - Castle, Turrets , Mob
Create Tide to wash away turrets maybe change path
Sounds
Maybe have sand dollars emit when mob is destroyed

Weirdness:
Even though my texture is based on 40x40 tiles android converts them to 30x30 not sure why
Need to figure out where to start game from.

Monday, September 5, 2011

New Android Game Sand Castle TD


I have always wanted to write a Tower Defense Game.
This will be my first attempt. 

Name: Sandcastle TD
Description : Fixed Path Tower Defense Game based on a sandcastle

Towers: Wet Sand Tower (Slow), Sand Tower (Bullets), Hot Sand Tower(Flame)
NPCs: Crab, Hermit Crab, Fish, etc
Coins: Sand Dollars

Thursday, September 1, 2011

I justed update GameHelper to 1.1

I justed update GameHelper to 1.1
It now has a playable game called pig  (Player vs CPU) first to 100.  If you roll a 1 your current score is cleared turn is over.

for the 6sided dice you can now turn on shake to roll in preferences
for the counter you can now use the volume buttons

https://market.android.com/details?id=com.scriptblocks.gamehelper

Monday, August 29, 2011

Game Helper Feedback

Thanks everyone who downloaded and tested Game Helper

So far the feedback is 

feedback:
- to me, starting with one die, then adding more makes more sense than starting with 15 on the screen.
- would be nice to have the dice scale to fit the screen (e.g. a single die will take up full screen)
features ideas:
- use the accelerometer so you can shake the phone the roll the dice.
- use volume buttons (or user defined button) for counter as additional input (so you don’t need to look at screen to action).

 stats button seems to do nothing?

I am working on accelerometer and adding the volume buttons. Starting with one die 

Scaling the die will take a bit.

The stat screens is just a place holder for now. Was thinking of storing all of the dice rolls.

Keep the comments coming :)

Sunday, August 28, 2011

Some tiny mile stones and stats

The Peek A Who app passed 300 downloads :)
The LD48 App also passed 300 downloads

funny stat
the Game Helper App has made six cents from ad revenue

Horrible stat
It reached 112 degrees in Texas today. Record Highest Temp ever. So a good day to stay inside and play some apps or board games or both :)


I really appreciate everyone testing out my games and apps.

Saturday, August 27, 2011

My new Android App is out Game Helper

Game Helper is a helper application for games :)
6 sided dice up to 30 dice that can be sorted
20 sided dice up to 30 dice that can be sorted
Quarters to flip
Timer 30 sec, 1 min 5 min
Counter +1 -1
Wheel to spin
*Ad Supported

https://market.android.com/details?id=com.scriptblocks.gamehelper
Its free please install it on your android devices and let me know how it behaves.
Its my first time using AdMob 
I am looking for new features so if you think of any let me know





Wednesday, August 24, 2011

Update on Game Helper Android app

Added
6 Sided Die
20 Sided Die
Counter
Timer

Need to do:
Coin Toss
Wheel - Spinning Wheel 1-10
Stats/Log - Screen that shows the history of rolls
Free Hand - Screen to let the user draw what marks they want

Monday, August 22, 2011

LD48 Rapup

The game http://script-blocks.googlecode.com/files/ScriptBlocksEscapeLD48_21_B2.zip

Now that I have gotten some sleep :) I just wanted to say thanks to everyone. This was my first LD48 and it was fun.
I learned a lot in the last two days.  The hardest part for me was not adding more features.  I had to take out some "Fun" elements of my game but I wanted something that worked above all.
One other note my submission has a WINDOWS Link but the link should work on Linux, Windows and Mac since its java.
Good:
Jmonkey was easy to use.

Hydrogen Drum Machine was cool.
Gimp rocked.
Blender 2.5X was awesome


Bad:
Loading Images in Jmonkey have a weird Flip By default. So I had to make my Letters Backwards.
Blender exporter to Ogre xml puts a capital "F" on False so the xml parser cries.
-Greg

Sunday, August 21, 2011

LD48 Done!

I submitted my entry for LD48 as a Jam Entry.
It was fun.

You can look at my entry here:
http://www.ludumdare.com/compo/ludum-dare-21/?action=preview&uid=5426

You can get the game here:
http://script-blocks.googlecode.com/files/ScriptBlocksEscapeLD48_21_B2.zip

I will follow up with all my notes on the thoughts and issues  on a different post.

Saturday, August 20, 2011

LD48 Test Build

If anyone wants to test out a test build

http://script-blocks.googlecode.com/files/ScriptBlocksEscapeLD48.zip



Ludum Dare 21 #LD48  Escape!!!

You have just inflitrated a corporte building and stolen 
Research and Development Documents.  
If you are seen or head you will be captured. 

ESCAPE!!!!!!!!!!!!!!!!!!!!!
Unzip
To Run Use the run.bat or run.sh

Friday, August 19, 2011

48 Hour Game Making Competition : Ludumdare

I will attempt my first Game Making Competition This weekend. Wish me luck :)
 
http://ludumdare.com/compo/

Im collecting my tool set for this weekend just thought I would post what I am going to be using.
Tools:
OS: UBUNTU
IDE: Eclipse
DRAWING: GIMP
3D MODELING : BLENDER
EXPORTING FROM BLENDER : http://code.google.com/p/blender2ogre/
SCENE GRAPH: jmonkey engine 3 Nightly Build
SOUND EDITING : AUDACITY
SOUND EFFECTS: http://www.bfxr.net/
MUSIC : I have no idea maybe I will sing into the mic :)
SUPPORT: The good people at jMonkeyEngine :)

Monday, August 15, 2011

Working on new Android App : Game Helper

This will be a helper app that will include Coin Toss, Dice Role, Wheel Spin, Timer, Counters
For people who don't have dice or other game items.


Business Cards

We order some new business cards that aren't just for script blocks the game but for all of our games.


Wednesday, August 10, 2011

Making a Lock and Key inside Script Blocks

I was talking with a friend at the San Antonio Hacker Space (10bitworks.com) and he was explaining to me how keys and locks work.  Now that I have the limited range finders I want to incorporate some sort of Key(BlockShape) and Lock(Range Finders hooked up to Logic Blocks).

Let me know if anyone has any Ideas.

Link on how locks work.
http://home.howstuffworks.com/home-improvement/household-safety/security/lock-picking1.htm

Mem-a-Who is now up on the android market



Flip the cards, two at a time, and find matching pairs!
Voiceover names the item when a match is made.
Three Levels: 10 Cards, 20 Cards, or 40 Cards


https://market.android.com/details?id=com.scriptblocks.memawho&feature=search_result

Monday, August 8, 2011

Script Blocks Alpha 13

I am trying a create a level system using the Menus.

I went with a Play  , Reload Level, Next Level  Buttons.

To get to the old menu and game style use the Sandbox Button.

There are 3 playable  and 2 Visual levels.

I also added a Limited Range Finder Block  who's distance is determined by its frequency.

Please  download the latest and let me know what you think and what I should change.


Thursday, August 4, 2011

Android Notes:

The emulator does not have a android market so calling

 Intent myIntent = new Intent(Intent.ACTION_VIEW,Uri.parse("market://search?q=scriptblocks"));
    startActivity(myIntent);
Will throw a ActivityNotFoundException,  But will work fine on a real device


When using the Canvas make sure to not Load a Resource on a doDraw method.
I was having memory leaks / To many files open because every redraw was reopening the file.

Ogg file format is a lot smaller then wav.

We now have two android apps on the market.

https://market.android.com/search?q=scriptblocks

Saturday, July 30, 2011

Friday, July 29, 2011

Peek-a-Who Android App now on market

Our First Android app Peek-a-Who on the Android Market!

Its a Peek A Boo app for toddlers.

Thursday, July 28, 2011

Working on a Toddler App For Android Devices

Eclipse for Android SDK work really well.

Signing your App was super simple.

Wizard helps you create keystore and key

Only hard part was getting Ubuntu to let me send Packages to my Tablet for Testing.

This was a 2D Canvas Project but it makes me wonder how ScriptBlocks would work on Android....

Tuesday, July 26, 2011

Script Blocks Alpha 12 - Cellular Automaton

I was looking at Cellular Automaton
http://mathworld.wolfram.com/ElementaryCellularAutomaton.html
Using Rule 90

I used the level script to make this.

The Object is upside down so that  I could pick different size of generations.

I learned a lot about how automatons work. Not sure how I can add this to any game type but was fun just to mess around.  All those blocks are Power Blocks(Master)

Saturday, July 23, 2011

Script Blocks Alpha 12 is _NOW_ available


Script Blocks Alpha 12.
Added More Logic Gates
Added Sky Box
Added Shadows
Added Config options on the Level Screen
Added A Level called game of Life
Get the Game at:
http://code.google.com/p/script-blocks/

Friday, July 22, 2011

What can I use instead of this circuit to detect only 1 input on 4 possible

 What can I use instead of this circuit to detect only 1 input on 4 possible

http://twitpic.com/5u6zkz

Stuck on my Game of Life

here is my attempt to put all three tests together into one tower.
http://twitpic.com/5ttqf0
Something is wrong with my logic on the first “floor” For the case where it is testing for
0001
0010
0100
1000
I used three xor gates where AB goes into XOR(1) CD goes into XOR(2) and XOR(1) XOR(2) goes into XOR(3)
but that fails for the cases such as A=1 B=1 and C=1
still lots O fun though.

Wednesday, July 20, 2011

TRYING TO RECREATE GAME OF LIFE

I am trying to recreate a slimmed down version of GAME of LIFE WITH SCRIPT BLOCKS
I Determined that only 3 different states need to destroy the block. ONESIDEONLY, ALLSIDES, NOSIDES. HERE ARE MY ATTEMPTS
ONESIDEONLY

ALLSIDES

NOSIDES

Tuesday, July 12, 2011

how to build a house video

Here is a how to video. Good Luck. I'm excited to see what everyone creates

ivokosir made this

Things to do for Alpha 12

Create a Easy to follow How to Video. To go along with The Build  A House Challenge.


Possible blocks to add:
LOGIC GATE BLOCKS: XOR , XNOR, NOT
SKY MAP BLOCK
ALPHABET BLOCKS

Weekly Challange : Build A House

This will be the first weekly Challange
Build A House:
Use Script Blocks to build a house.
Take a screen shot and add the link to this post.


Hints:
Try and use the (C) and (V) while the power block is off to copy and paste your blocks

Monday, July 11, 2011

Today was an awesome day!
I got my first paying customer for  Script Blocks.

I wanted to say thank you to everyone for testing the game and thanks to Chris who is spreading the word.  And thank you MH you rock!

I was thinking about having a weekly task... Such as build a house or a rail road.

Would anyone want to do that?

-Greg
P.S if anyone else wants to donate its on the
http://code.google.com/p/script-blocks/ page click on the Donate Button

Thanks

Friday, July 8, 2011

Alpha 11 - Rail Road Crossing Using Logic Gates

Alpha 11 - Rail Road Crossing Using Logic Gates
 
Using Range Finder OR and NOR Blocks

The Gate will go down
When the NPC goes past the
Range Finder and will stay down
until the NPC crosses
the other range finder

Thursday, July 7, 2011

Alpha 11

Script Blocks Alpha 11.  Now has AND OR NOR NAND BLOCKS.
Please let me know what you think.


The blue arrows on each side of the block
Do a ray cast outward to look for blocks 
If they find one they look at its frequency
0 or 1+ 

Adding some logic gates (AND, OR, NAND, NOR)

For the next alpha I will be adding some logic gates. Not sure what I will do with them but should make for some more awesomeness...

I have been a bit distracted by Android Development lately.  Its relatively easy.

Thanks to all the people who have downloaded the game.

-Greg

Sunday, July 3, 2011

Thursday, June 30, 2011

Wednesday, June 22, 2011

Alpha 9 Wireless

Thanks to Jeremy Z suggestion on how to turn Circular Motion into linear I created two new blocks
Wireless Transmitter, Wireless Receiver

I put two Transmitters it a box with a rotating tower that has 2 ranger finders on it
The Two Transmitters are Received by Two Receiver Blocks who's output goes to Direction blocks and move the little guys back and forth :)


Alpha 9 has the code changes if you want to play along at home.

Get The Game

Tuesday, June 21, 2011

Wireless Receive and Transmit Blocks Added. Cyclical to Linear

I added a Wireless Transmit Block that will send its frequency to the Wireless Receive Block.
There are 6 different frequencies to send on.  I used the AXIS Arrow to pick which one to use.

A friend at the Hackerspace 10BitWorks.com helped me figure out how to turn Cyclical Motion into Linear motion so that I can have a Knight Rider / Cylon movement with my blocks.

Sunday, June 19, 2011

Alpha 8 Cut and Paste

For Alpha 8 I added Cut (C) and Paste (P)
The way its used is to focus on the block you want to copy (Non Master Block and Power has to be turned off)
Hit the C Key It will copy the focus block and all of its children

Focus on the new block you want to attach to
Hit the V Key it will paste the copied focus block and all its children

Wife made me a cup cake :)


Script Blocks Alpha 8 now has Copy and Paste



enjoy.

Tuesday, June 14, 2011

Uploaded Alpha 7

Alpha7 download

I added a trigger block and a sample game

If you import hitthetarget.js and try to get the arrow to hit the block
by using the arrow keys and page up page down.

http://www.youtube.com/watch?v=V7VazBaf-zI

Sunday, June 12, 2011

Had a demo and Uploaded Alpha6

Demoed Script Blocks to the Guys at SAGE(http://www.meetup.com/SAGEgroup/)

They suggested that I add more game elements. More of a reason to build the blocks.

Alpha6 is ready for download.

Updates:

Added Menu to Export and Import different files.
Changed the 12 Counter to a Script and Called it Counter
Added a gameloop script for future game types

Wednesday, June 8, 2011

Game Loop Script and ScriptedBlock parametermap

Added A Game Loop Script so I can make levels more game like...
Trying to add a parameter map so i can save script variables on the export

Tuesday, June 7, 2011

Many Fixes

Added a Block Select Screen

Added a New Button to remove all of the blocks
Added a Help Screen
Tried to fix some of the colors

Thoughts for new blocks
maybe a "Grow Tree" block that grows other blocks at random sides.
Knight Rider / Cylon Group Block: 6 blocks that would cycle from White to Red

Monday, June 6, 2011

Things to fix

Put a link to the code on the Blog. (DONE)
Fix the Balloon Block Not to use Physics  (DONE)
Fix the Cannon Block Not to use Physics  (DONE)
Fix the Mouse Scroll so that negative scroll goes back  (DONE)

Key Mapping on the Border  (DONE Made a help screen)
Are you sure you want to delete.
Space Places Master Block or Block Selections (DONE Made a Block Selector Screen)

Added Alpha 4. Notes, Detach and Counter Block

Added Alpha 4 zip file.  Notes, Detach and Counter Block

Thursday, June 2, 2011

Taking out physics

Im gonna take out physics for the most part.  It adds some coolness but also gives me problems. Gonna try and keep it as simple as possible. Also might reduce the size of the zip file

On the Notes Block I now have two pitches of notes ABCDEFG and ABCDEFG

Im trying to get Twinkle twinkle to play using a Detach Block Range Finder Notes Block.

Gonna try again at making  multiplayer

Tuesday, May 31, 2011

Added Note, Detach and 12 Count Block

Added Note, Detach and 12 Count Block
Note plays a Note(Piano wave file)
Detach moves the node away based on frequency
12 Count Cycles through 12  values * frequency

Working On Adding a Note Block

Trying out a Note Block that will play A,B,C,D,E Based on the frequency

I think I will also need a divide by 2 and a -1 Block

Having some problems with the Nifty GUI Library and NullPointer Crashes.  I think its the way I am creating and destroying them.

Sunday, May 29, 2011

New Demo "Im on a quad copter"

http://www.youtube.com/watch?v=nOBL_oRYeXk
I had fun making this little quad copter
I found I have some bugs in my exporter though so I cant export it yet.

I added a Inventory "I" key screen to help me select the blocks since that are more then 10 now

I also put the first  10 on the number keys 0-9 on the keyboard
Am using the 5 key on the numpad as a on and off button for the Master Block

Changed the color of the Color Block to grey when its powered off.

Friday, May 27, 2011

Reversing Fequency is done and Possibly Switching how I Store my variables

I was thinking that I might switch to JSON for storing my script parameters.
I could possibly just switch to just a parameter map for each Block

So instead of a getter and setter for say frequency value on the blocks I would get it from a parameter map

var frequency = thisBlock.getFequency();
vs
var frequency = thisBlock.getParameter("frequency");

Thursday, May 26, 2011

Reversing The Frequency

I want to add two new blocks a constant (1) Frequency and a 2X Multiplier Frequency
I ran into a problem with my recursive function that sends the frequency to the child Nodes.

I realized that it was overriding all of the child frequencies that are set in the custom scripts

I am going to do it in reverse so that the child will look at what the parents frequency is and act accordingly
instead of the parent setting the child frequency.

Wednesday, May 25, 2011

Released Second Alpha For Testing

Released Second Alpha For Testing

Changed the way textures are used

Fixed the Build Files
Now using script.dir to tell where to find scripts instead of jaring them inside the jar file

Also now using contents of the Scripts/blocks to load the blocks

Tuesday, May 24, 2011

Magnet Block

I made a magnet block today. Not sure how I want the final one to work , but this one does a ray and looks for a block if it finds one it tries to move the master block closer to the hitBlock.

I also changed the way I get the Texture. Now I have one file that will hold all of the Textures.

Monday, May 23, 2011

ANT and console

This weekend I created my ANT build files and started looking into a console window.
 
On a personal note I bought a cast net and used it to catch bait. Was completely messy but a lot of fun. I also caught a cat fish.

Wednesday, May 18, 2011

What not to do:

I am trying to implement Client Server and am finding out that using any class that starts with
sun.org package is a bad idea.
I was getting this error

package sun.org.mozilla.javascript.internal does not exist
    [javac] import sun.org.mozilla.javascript.internal.EvaluatorException;

I just replaced it with a generic Exception and it seems to be ok.

-Greg

Sunday, May 15, 2011

Balloon Block

Working on a balloon block
when turned on will float the objects attached to it.

First Post: What, Why, How

What:
A block base game that you can script the behavior of the blocks.

Why:
To mark off one item on my bucket list and to help pay for my hobbies.

How:
By creating the core structure of the game and setting it lose on the  world to create new content.
Using JmonkeyEngine and the built in scripting capabilities of java JDK to allow users to create their own blocks.