Subscribe to GameFromScratch on YouTube Support GameFromScratch on Patreon
29. April 2012

 

 

One of the most bizarre things missing from the PlayStation simulator was support for analog imagesticks, or gamepad support in general.  I had just assumed that you would be able to plug a gamepad into your PC to control the simulator, but I was wrong.  A keyboard only solution made owning an actual device pretty much an absolute requirement.  Fortunately a user on the PlayStation Suite Developer Forums YamatoKei released a code driven solution, which in his own words:

 

 

 

The simulator's input layout and limitations weren't to my taste, so I made myself a way around it:

Run a TCP server that reads PC's gamepad state and sends it back on a client request. And add a simple utility class/lib to connect to that server + decode data transparently from within the game. With a one-line change to revert-back to using the native input on real devices.

Uploaded here: http://dl.dropbox.com/u/1969613/openglForum/PadServer.7z

Code to use:

static ILXPAD pad1 = new ILXPAD_Net();
//static ILXPAD pad1 = new ILXPAD_Vita();
...
pad1.start();
...
pad1.update();
...
camera.roty -= pad1.RStick.X;
bool jump = pad1.Cur.CROSS;

Cheers. :Wink:

 

Just what the doctor ordered!

 

[Download Link]

 

Buyer beware, I haven’t actually tried this out, so if it doesn’t work, destroys your computer or causes a horde of angry cows to raze your house, I take no responsibility.

Programming ,

29. April 2012

 

 

One of the biggest points of confusion for people new to Blender seems to be navigating the UI.  The UI layout of Blender is amazingly powerful but it is extremely easy to find yourself lost in a sea of windows and panels you’ve opened with no idea how to close them.  This video tutorial shows you how to customize the Blender layout exactly how you want it and once you get the gist of it, it is an extremely powerful system. The video is for Blender 2.59, but should be equally valid in 2.6x.

 

 


 

 

There is no audio, it is entirely narrated on screen.  The video is probably illegible in the embedded window above, however it was encoded at 1080p and hosted on YouTube and Vimeo in HD ( although for some reason the Vimeo encoding looks much worse, so use YouTube for the best quality ).

 

 

If you are just starting out with Blender, I highly suggest you check it out. Once you realize just how much flexibility you have in deciding how you want to work you will become much more productive.  Oh and if you are lucky enough to have multiple monitors, Blender is amazingly flexible in this regard too!

Art ,

28. April 2012

 

Somewhere between 2.63RC and 2.63 release the Knife tool was changed so that you need to press Enter or Spacebar to commit the changes.  Previously you could commit using the right mouse button, which I preferred.  Lucky enough, it is easily addressed.

 

In Blender, selected the menu File->User Preferences…

 

Switch over to the Input tab, expand 3D View->Mesh then Knife Topology Tool then finally expand Knife Tool Modal Map, like such:

 

image

 

First we need to delete the existing Right Mouse binding, locate it and click the X to the right:

 

image

 

Now scroll down ( within the Knife Tool Modal Map panel) and locate the Add New Button:

 

image

 

 

 

It will insert a new empty record like such:

 

image

 

Expand the arrow to the left of our newly added entry, and it fill it in as follows ( or set by right clicking to the right of the Mouse dropdown):

 

image

 

 

Now locate the Save as Default button in the button left corner of the Window and click it:

 

image

 

Voila, right click should now cause your cuts to commit when you right click.

Art ,

28. April 2012

 

I am going to continue to develop a number of PlayStation Suite SDK tutorials and finding them could start getting confusing.  Therefore I have put together an index page off all tutorials I have created and will continue to update it as I create more.  Tutorials are ordered in more or less chronological order that a developer should read them in.  I will put this in the side bar shortly, for now you can access the PS tutorial index here.

Programming ,

27. April 2012

 

 

The LUA based Corona SDK is one of those things I have really been intending to check out forCoronaBook a very long time now.  One of the biggest reasons I haven’t looked closer ( other than time ) was the complete lack of published materials.  Today however, I logged in to Safari and low and behold, Corona SDK Mobile Game Development is right there in the new releases section.

 

 

This is perhaps the worst timing ever, I am still throwing myself quite fully at PlayStation SDK development as well as working on a Titanium based app… but, but… this is shiny and new! (well, the book is new anyways…)

 

 

Actually, Corona and more specifically LUA are two products I have heard nothing but rave reviews of, so this certainly is of interest to me.  I’ve skim read the book and it seems quite impressive.  If I dive in, I will be sure to put up a review.  I have to say, I am quite impressed with Packt press lately and the range of books they are putting out.  The book is also available on Amazon but oddly enough shows a May 31st publish date( it’s April 27th at the time of this post), but also lists it as being in stock so I am guessing it’s available to order.

 

 

Have you worked with LUA/Corona?  Is the hype justified? Is it substantially better than the free Moai SDK, which is also LUA based?

General

See More Tutorials on DevGa.me!

Month List

Popular Comments