jueves, 31 de mayo de 2012

Highslide en blogger

Actualizado el script que estuve utilizando original de Wordpress llamado Highslide Js adaptado a Blogger, la verdad es que el resultado no me desagrada así he pensado en compartir el truco por si alguien lo quiere utilizar, es todo suyo, a continuación explicaré lo más resumido posible los pasos, puede parecer algo complicado al principio pero sólo es cuestión de jugar con la plantilla.

Primero del todo ponemos este código después de </head> o bien debajo de de ]]></b:skin> vamos probando ya que un poco más arriba o un poco más abajo la porción de código debe ir ahí o arriba de (sin la barra baja].

<script src='http://highslide.com/highslide/highslide-full.js' type='text/javascript'/>

<link href='http://highslide.com/highslide/megik.css' rel='stylesheet' type='text/css'/>

<script type='text/javascript'>
//<![CDATA[

hs.graphicsDir = 'http://highslide.com/highslide/graphics/';
hs.allowSizeReduction = false;
hs.showCredits = false;

hs.isUnobtrusiveAnchor = function(el) {

if (el.href && /\.jpg$/.test(el.href)) {
el.className = 'highslide';
return 'image';
}
//insert the if condition code for other extensions like .jpeg, .gif, .png etc.
}

function fixBloggerImages(searchFor, replaceWith) {
var href;
var anchors = document.getElementsByTagName("a");
for(var i = 0; i < anchors.length; i++) {
href = anchors[i].href;
if(href.indexOf(searchFor) != -1) {
anchors[i].href = href.replace(searchFor, replaceWith);
anchors[i].setAttribute("onclick", "return hs.expand(this)");
anchors[i].setAttribute("class", "highslide");
anchors[i].setAttribute("title", "Click to enlarge");
}
}
}

//]]>

</script>


Una vez colocado el .Js (Javascript) en la plantilla deberemos colocar en el post el html necesario que a continuación explicaré. Estaría bien subir por lo menos archivos tipo imagen (gif, png, etc) a un sitio donde alojar imágenes. Para no hacer Hotlinking lo que es igual a robo de transferencia o ancho de banda y por supuesto el archivo con extension .js (http://getlostpodcast.info/highslide/highslide.js)

Esto sería una imagen simple:

Highslide JS


Esto sería el código para aplicar lo anteriormente citado:

<div style="text-align: center;"><a class="highslide" href="http://i47.tinypic.com/24w4y1g.gif" id="thumb1" onclick="return hs.expand(this)"><img alt="Highslide JS" src="http://i46.tinypic.com/2iktpxg.gif" title="Los Simpsons de Vacaciones"></a></div><br>

Esto sería una galería con 8 miniaturas:







Y esto el código de la anterior galería.

<div style="text-align: center">
<table border="0" cellpadding="0" cellspacing="10" style="margin-right: 40px; margin-top: -10px; text-align: center;"><tbody>
<tr align="center"><td>
<a class="highslide" href="http://i48.tinypic.com/ou1dhx.jpg" id="shashin_thumb_link_1" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'group23' })"><img id="shashin_thumb_image_1" src="http://i48.tinypic.com/309sbb7.jpg" style="height: 140px; width: 140px;" title="" /></a></div>
</td><td>
<a class="highslide" href="http://i47.tinypic.com/qobrky.jpg" id="shashin_thumb_link_2" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'group23' })"><img id="shashin_thumb_image_2" src="http://i48.tinypic.com/9ve4ug.jpg" style="height: 140px; width: 140px;" title="" /></a>
</td><td>
<a class="highslide" href="http://i49.tinypic.com/volyyu.jpg" id="shashin_thumb_link_3" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'group23' })"><img id="shashin_thumb_image_3" src="http://i48.tinypic.com/20t0wtu.jpg" style="height: 140px; width: 140px;" title="" /></a>
</td><td>
<a class="highslide" href="http://i46.tinypic.com/jj9xck.jpg" id="shashin_thumb_link_4" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'group23' })"><img id="shashin_thumb_image_4" src="http://i45.tinypic.com/mwxp4i.jpg" style="height: 140px; width: 140px;" title="" /></a></td></tr>
<tr align="center"><td>
<a class="highslide" href="http://i50.tinypic.com/2a0nfxe.jpg" id="shashin_thumb_link_5" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'group23' })"><img id="shashin_thumb_image_5" src="http://i46.tinypic.com/9um8t4.jpg" style="height: 140px; width: 140px;" title="" /></a>
</td><td>
<a class="highslide" href="http://i45.tinypic.com/106ij9c.jpg" id="shashin_thumb_link_6" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'group23' })"><img id="shashin_thumb_image_6" src="http://i48.tinypic.com/6qvgj9.jpg" style="height: 140px; width: 140px;" title="" /></a>
</td><td>
<a class="highslide " href="http://i50.tinypic.com/v79n4o.jpg" id="shashin_thumb_link_7" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'group23' })"><img id="shashin_thumb_image_7" src="http://i48.tinypic.com/2prb9d3.jpg" style="height: 140px; width: 140px;" title="" /></a>
</td><td>
<a class="highslide" href="http://i45.tinypic.com/qsv8ua.jpg" id="shashin_thumb_link_8" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'group23' })"><img id="shashin_thumb_image_8" src="http://i49.tinypic.com/21digch.jpg" style="height: 140px; width: 140px;" title="" /></a>
</td></tr>
</tbody></table>
<script type="text/javascript">
addHSSlideshow('group23');
</script>
</div>

Más información sobre cómo aplicar Highslide en el tutorial de la misma página, eso si si quieres poner una galería cómo no uses (ya se que es un poco largo) el código que aquí os he mostrado no creo que lo consigas ya que en Blogger es otra historia, estuve varios días dandole vueltas y si no se hace así a lo engorroso no hay manera. Espero haber sido lo más claro posible, si tenéis alguna duda, me lo decís en los comentarios y veré en que os puedo ayudar, también tenéis más ejemplos en el tutorial de la página oficial.

martes, 29 de mayo de 2012

Prince of Persia para Commodore 64/128

Un juego que me llamó mucho la atención fué el Prince of Persia, cuando lo ví porprimera vez en el ordenador de mi tío Pedro Pablo en su ordenador de 133 Mhz me quedé alucinado por su sencillez y fluidez de movimientos. Un juego que no te puedes perder sin duda.

Según leo en el blog de Lobogris, MrSid nos comenta que próximamente hablará sobre como se hizo todo esto...

Nota: Si lo quieres jugar en emulador, sólo funcionará a partir del Vice 2.2 ó
superior, que es de momento el único que soporta el formato de cartucho "EasyFlash".





Enlaces de descarga:


  • Blog de desarrollo de POP C64 (en inglés): Popc64

  • Descarga del juego (CSDB): POPc64

Pixelado y peligroso

Existe un álbum en Flickr que demuestra que Super Mario Bros existe, o, los personajes de videojuegos también cogen vacaciones

Existe En esta galería de Flickr hay fotografías que muestran que hay un Mario suelto por el MundoReal™. Quedáis avisados/as.

Pincha en las imágenes para ampliarlas:







sábado, 26 de mayo de 2012

Spelunky



Un juego 'indie' tipo 'cave-story' es Spelunky, un juego desarollado por Derek Yu (para quien no le signifique nada este nombre basta con decir que es uno de los creadores de "Aquaria") en el que tomamos el control de un personaje al más puro estilo Indiana Jones que se adentra en una cueva repleta de tesoros y obstáculos.


Por cierto, próximamente en XBXLA.



Visto en Cthuluh4president

miércoles, 23 de mayo de 2012

RetroGaming: Alex Kidd in Miracle World (Master System)

Alex Kidd in Miracle World (Master System)

This was the first of the Alex Kidd games, and apparently the best selling game on the Sega Master System. Possibly because it actually came built into a lot of Master Systems.

My console came with Sonic the Hedgehog though, and I know virtual nothing about this game.

I guess we're starting off on a forest level then.

Whoa, not a tree in sight, and the level doesn't want to scroll to the right. It seems that I'm actually going down into this cave.

Super Mario Bros. (NES)
Alex Kidd's arch rival Super Mario Bros. was released a year earlier, and graphically they're almost on the same level. Alex Kidd has more colours for each character, but Mario has a nicer palette and I prefer the art style.

Musically though, Mario 1 destroys Alex Kidd's level one theme. It's tolerable enough so far, but I can imagine this short loop getting unbearable pretty fast.

Star blocks can be punched with Alex's giant hands for cash. Boulders contain nothing but disappointment.

I wonder what's in that question mark block though.

Some kind of treasure! Seems nice, I'll take it. If the owner previous owner had really wanted to hold onto it so badly they wouldn't have sealed it in a star block and dumped it in a cave.

I tried jumping back up, but it seems that this is a one way cave. It only scrolls down.

Enemies can be punched too! Excellent.

Oh, I've screwed this one up, he can't crawl. By the time I'd punched away the boulders underneath, the money had vanished. I guess whatever they use for currency here vaporises when exposed to the air for too long.

It seems that enemies can't be jumped on. So now I know. Fortunately I reappear just before where I died.

Hey, another question mark box! I'm checking that out.

You're not treasure.

Okay, it turns out that the thing was an enemy. So that's another thing I've learned.

A quick game over screen, and a replay of the first section and I'm back.

Damn, another one just sprang up from the miserable block.

I don't like these guys much. The rest of the enemies so far have just patrolled back and forth horizontally, but this creature chases me around until I can get him off screen. Or he manages to kill me.

I'm still on the same level but the music has changed! Alex Kidd is not entirely without mercy.

It won't let me jump up to grab the cash, and it won't let me swim off screen. What am I supposed to do?

Oh I see, I just have to swim closer to the ground, and then it lets me swim to the right. Mario never had to deal with this crap.

The frog spat out lethal bubble bullets at me! That's not just impossible, it's downright rude.

Though I should be able to avoid them next time by staying below the frog until I'm close enough to beat it to death with my fists.

Another mystery block. So far I've had one give me treasure and one send a monster out to chase me down and kill me... I've got to take the chance and open it up. I'm too curious.

It was a killer monster! Again.

I guess I've learned my lesson about breaking mystery blocks.

Okay now that's done with I'm onto level 2, the green hill zone.

But first, shopping!

But I don't know what I like! I've already found some mysterious treasure and it hasn't done much to help, how can I be sure this will be any different? Wait, is that thing on the left a motorbike? Okay yeah I'll take that.

Fine, I'll take everything, I've got the cash. For all I know I'll need it.

The bike is awesome, just cutting through enemies and obstacles alike. I'll be able to slice through this level on this thing provided my bike doesn't come across a bottomless pit and decides to leap down it.

Okay, it turns out that floating red balls actually aren't power ups or collectables. Their true purpose is to knock me off my bike so I fall on a scorpion and die.

No continues, that's all I get. I'm tempted to give up here, but fuck it... let's try this again one more time from the start.


AFTER REPLAYING TWO LEVELS.


He looks more like "FIST HEAD". I guess this is a boss fight then?

...or a rock, paper scissors fight? Seriously?

Ew, freaky giant hands. Do I really have to beat this guy at rock, paper, scissors to continue the game? That's pretty amazingly bad game design, making a boss fight entirely luck based.

Stone Head wins, and Alex is turned to stone and dies. The end.


I can't believe I just lost a platformer because of rock, paper, scissors. That's just amazing. Well, uh, onto the next game then I suppose.
Copia y pega de Super Adventures in Gaming

Sistema operativo android honeycomb

El sistema operativo Honeycomb de Google nació en febrero de 2011 junto con Motorola Xoom. Era una distribución Android enfocada a tablets y lo que podríamos llamar, la versión puente entre la rama Gingerbread y la rama Ice Cream Sandwich que llega como distribución única para tanto smartphones como para tablts.
Desde Android-x86.org han conseguido portar HoneyComb para ser utilizado en equipos x86, es decir ordenadores, portátiles y netbooks. Lo más interesante es que el código fuente es gratuito y que soportan varios equipos, aunque principalmente netbooks ASUS EeePC.
Con HoneyComb instalado podrás navegar a través de conexión Wi-Fi, ver imágenes, reproducir vídeos, utilizar periféricos Bluetooth, etc.

Guía para instalar HoneyComb en un netbook ASUS EeePC:

Paso 1: Descarga la ISO Android-x86 (Descarga directa).
Paso 2: Descarga UNetbootin.
Paso 3: Conecta un pendrive en tu ordenador.
Paso 4: Usa UNetbootin para hacer la ISO arrancable en el pendrive.
Paso 5: Reinicia tu portátil, entra en la BIOS y elige arrancar desde USB.
Paso 6: Reinicia tu ASUS EeePC.
Paso 7: Completa el proceso de instalación ejecutando Android desde el USB, o bien instálalo en tu disco duro / SSD
Paso 8: Si eliges instalar el sistema operativo, se requiere formateo EXT3.
Paso 9: Arranca y disfruta de HoneyComb

Vídeo de HoneyComb 3.2 funcionando en un netbook ASUS EeePC:



martes, 22 de mayo de 2012

Tema para Ubuntu: Hope Gtk3



Estoy probando un tema en ubuntu llamado "Hope Gtk3" creado por grvrulz, queda bastante guapo. Sobre todo con unos iconos llamados Gartoon (estilo 'cartoon'..) como el nombre índica para gnome.

Los tienes en el siguiente enlace. Después mediante el instalador de temas elegimos instalar los iconos, etc.



El tema Hope Gtk3, le da un aspecto a la barra de navagación un toque oscuro y una tipografía muy elegante ;-)

Para instalarlo
En usuarios de Ubuntu, mediante terminal:

sudo apt-add-repository ppa:kokoto-java/omgubuntu-stuff
sudo apt-get update
sudo apt-get install hope-gtk-theme


Y el Wallpaper es éste.

Aunque yo uso éste....



Arrivederchi amihos!

+ info: devianart

miércoles, 2 de mayo de 2012

Crea tu música digital con Pxtone

Un programa para crear música en formato midi y wav muy guapo que me he encontrado gracias a Gryzor87 es Pxtone

http://4.bp.blogspot.com/-Y_mX2NokM70/T1g_uFJ1CaI/AAAAAAAAFR4/nybcHn584wE/s1600/PXTone_english_front.jpg


Descargar manual pinchando en el botón



+ info en el Home-site de Pxtone