Recent Updates RSS Toggle Comment Threads | Keyboard Shortcuts

  • admin

    ozipi 4:57 pm on April 16, 2010 Permalink | Reply  

    You know me, I’m impulsive.

    Clementine
     
    • frago

      frago 3:49 am on April 18, 2010 Permalink

      el mundo es de los que se atreven (via @Rinox_x)

  • admin

    ozipi 2:36 pm on December 8, 2009 Permalink | Reply
    Tags: , , , , ,   

    Paper Invaders!!! 

    I dreamed the other night about how will it be to have the space invaders inside a normal sheet of paper and this is what was brought to life:

    This movie requires Flash Player 9

    How to play:
    C for insert coin
    1 for player 1
    2 for player 2
    R Resets the game
    Backspace Tilts the emulator (game over if someone kicks the machine ;) )

    Tech stuff to create the skin:
    - Created a SimpleSkin implementing the ISkin interface that uses the graphics of a sprite to paint only the active pixels (and not the background) ( SimpleSkin.as )
    - Extended the SimpleSkin and added a paper background the sprite and voila! ( PaperSkin.as )

    Everything is updated on the github repository:

    http://github.com/ozipi/As3_SpaceInvaders_Emulator

    The whole paper invaders is dedicated to Mike Chambers (@mesh), i bet that he would love to have Paper Invaders when he was a child : )

     
    • Mataii

      Mataii 3:36 pm on December 8, 2009 Permalink

      A little bit difficult to me at this time =/, yeah.. I used to play this game with my brother and sister, over 20 years ago (Atari I think) fun times indeed.. : )

      Looks nice your “paper invaders” version :) , so what’s next?

    • admin

      ozipi 3:43 pm on December 8, 2009 Permalink

      the next version its a surprise surprise : )

      i didn’t know that you had an atari! :OO

    • Mataii

      Mataii 3:53 pm on December 8, 2009 Permalink

      Yes, I had one console Atari… the wonder years :D

    • alfo

      alfo 4:50 am on December 9, 2009 Permalink

      tiene mundos secretos ? jala el arriba arrib abajo abajo ?? jajajajaja
      nice skin…. muy chido muy chido…. escucho el “plac plac” de pacman por ahi ??

    • mikeroguez

      mikeroguez 4:26 pm on December 14, 2009 Permalink

      Hey ozipi!!! simply amazing, when I´ll grow up… wanna be just like you!

    • Suss

      Suss 6:35 pm on December 16, 2009 Permalink

      yujuuu es mas rapido que la pasada version =D chido chido… aun asi pierdo u_u

  • admin

    ozipi 2:35 pm on December 8, 2009 Permalink | Reply
    Tags: , paris,   

    Paris, paris… 

    … i’m loving your streets

    empty
     
    • alfo

      alfo 4:51 am on December 9, 2009 Permalink

      more more !!!… show me more….

    • mikeroguez

      mikeroguez 4:29 pm on December 14, 2009 Permalink

      I’ll be there on may… I hope :)

  • admin

    ozipi 12:37 am on November 26, 2009 Permalink | Reply
    Tags: , ,   

    As3 Space Invaders Emulator For Dummies (Source code) 

    “You have to wanna make something, so if there is not something wanna make then there is not much you can do to make somebody else to make something.”
    Chaosradio international 2007 podcast
    Bre prettis

    How to play:
    C for insert coin
    1 for player 1
    2 for player 2
    R Resets the game
    Backspace Tilts the emulator (game over if someone kicks the machine ;) )

    This movie requires Flash Player 9

    Code Features:
    - Logic separated on the intel 8080 from the actual implementation of the Space invaders emulator, this was intented to have a separated class that only has intel 8080 logic and could be used/extended/improved and anyone want to use it for another project/emulation/cool shit (doug mccune magic word!)
    - Added a Skin interface in order to have the ability to implement any kind of video screen and not just only a bitmap for the classic one (examples of this will come later in future posts)
    - Added plenty of comments (not to all functions you will see why :) )
    - Created statically the opcode table function dictionary instead of dinamycally

    Long boring story:
    A few months ago i saw that tibo (Thibault Imbert http://www.bytearray.org/ ) released a space invaders arcade emulator, i remember that i told my coworkers “holy shit this guy is awesome”, we took a peek inside the code and as soon we touch the intel 8080 we were like O_o what the….., we thought that it was very complicated (but we never try to play with it),a few days ago i tried to reproduce and see how difficult it would be to code it from the beggining (it took me 5 days) to have the projected recoded following the tibo code logic guidelines (i had to use some hex comparing sentences because of a ugly bug) and the blitz tutorial giving birth to the my own space invaders emulator n_n.

    Source code:
    The code is released under the MIT license and is alocated in github where you can download/fork/see it

    http://github.com/ozipi/As3_SpaceInvaders_Emulator

    References:
    Tibo AS3 Space Invaders Arcade emulator ( http://www.bytearray.org/?p=622 )
    Blitz Max tutorial by Remi Veilleux ( http://sites.google.com/site/rveilleux/arcadechapter1 )
    Intel 8080 Instruction set ( http://www.comsci.us/cpu/8080/matrix.html | http://www.comsci.us/cpu/8080/isindex.html )
    Intel 8080 General explanation ( http://www.cpu-world.com/Arch/8080.html | http://en.wikipedia.org/wiki/Intel_8080)

    On future posts i’ll try to explain it in a easy way for the people that has never touch any binary code with the byte arrays or has some trouble trying to imagine how to code an emulator (like a was a week before), so as3 experts please be patient :p

    Thanks to Thibault Imbert (same guy from the wiiflash project), Remi Veilleux, and the guys that posted the specifcations, i have learned a lot on how to use the bytearrays and the bitwise operators and how the interpreted emulation works in general.

    Get some fun!

     
    • Suss

      Suss 7:06 pm on December 7, 2009 Permalink

      I always get the GAME OVER hahaha

      cool =)

  • admin

    ozipi 12:46 am on November 14, 2009 Permalink | Reply
    Tags: bash, , , oziputils, svn   

    git/svn info on your bash prompt (oziputils) 

    History
    yesterday i came across this bash script (http://hocuspokus.net/2009/07/add-git-and-svn-branch-to-bash-prompt) then while eating a couple scramble eggs at 4 am i thought that i would be a little bit nicer if i could include the SVN revision number to the script, i took me a couple hours to get it done (sed/awk biatches!) but i did it on the end

    How does it work
    just enter to any checkout of SVN or a clone of any GIT project, and your prompt will indicate the type of version control and the current branch and also the current revision number (revision will be only on the SVN info)

    Git
    git directory



    SVN

    SVN checkout


    Download/Source
    download the file from the oziputils github project

    http://github.com/ozipi/oziputils

    or just grab whatever the functions and the PS1 export from the source and put it on your .profile file :)

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    #Colors definition
    BLACK="\[\033[0;30m\]"
    DARK_GRAY="\[\033[1;30m\]"
    LIGHT_GRAY="\[\033[0;37m\]"
    BLUE="\[\033[0;34m\]"
    LIGHT_BLUE="\[\033[1;34m\]"
    GREEN="\[\033[0;32m\]"
    LIGHT_GREEN="\[\033[1;32m\]"
    CYAN="\[\033[0;36m\]"
    LIGHT_CYAN="\[\033[1;36m\]"
    RED="\[\033[0;31m\]"
    LIGHT_RED="\[\033[1;31m\]"
    PURPLE="\[\033[0;35m\]"
    LIGHT_PURPLE="\[\033[1;35m\]"
    BROWN="\[\033[0;33m\]"
    YELLOW="\[\033[1;33m\]"
    WHITE="\[\033[1;37m\]"
    DEFAULT_COLOR="\[\033[00m\]"
    RED_BOLD="\[\033[01;31m\]"
    GREEN="\[\033[0;32m\]"

    #Get git information
    parse_git_branch () {
            git name-rev HEAD 2> /dev/null | sed 's#HEAD\ \(.*\)# (git::\1)#'
    }

    #Get svn information
    ##Get svn url
    parse_svn_url() {
            svn info 2>/dev/null | sed -ne 's#^URL: ##p'
    }

    ##Get svn repository root
    parse_svn_repository_root() {
            svn info 2>/dev/null | sed -ne 's#^Repository Root: ##p'
    }
    ##Get svn revision
    parse_svn_current_revision() {
            svn info 2>/dev/null | sed -ne 's#^Revision: ##p'
    }
    ##Parse everything and return the svn general info
    parse_svn_branch_revision() {
        parse_svn_url | sed -e 's#^'"$(parse_svn_repository_root)"'##g' | awk -F / '{print $1 "/" $2 }' | awk '{print " (svn::_@" $1 ")" } ' | sed -e 's#_@#'"$(parse_svn_current_revision)"':#g'
    }

    export PS1="$DEFAULT_COLOR[$LIGHT_CYAN\u@\h$BLUE $YELLOW\w$LIGHT_PURPLE\$(parse_git_branch)\$(parse_svn_branch_revision)$DEFAULT_COLOR ] "

    Thanks to @dazoakley for the script and let’s hope somebody found this useful :)

     
    • Adrian Castillo

      Adrian Castillo 11:11 pm on November 20, 2009 Permalink

      Thanks ozipi, i had saw this in others coworkers terminals but i never knew how i can do that, you have save me a lot of “git branch” and pay tacos.

      Thanks.

  • admin

    ozipi 10:04 am on November 5, 2009 Permalink | Reply
    Tags: , , flex   

    Flash panel snippets collection 

    After taking a look to the flash snippets panel from lee brimelow i thought that it would be nice to have a snippet common-share-place, then i just created an svn repo on google code, so everybody can take a look on it and upload/modify any of the scripts uploaded

    For the time being i only created AS3 snippets for simple tasks like adding sections to a class, getter and setters, the most used overrides (for me :p), creating private functions and that kind of stuff

    Flash snippets repository info:
    http://code.google.com/p/flash-panel-snippets/

    zip file for the lazy ones:
    snippets.zip

    Installing the snippets:
    - Download the svn files or the zip file
    - Go to your current flash builder/eclipse workspace directory and you will find your current snippets inside the currentworkspacedirectory/.metadata/.plugins/Flash_Snippets/snippets
    - Copy any snippet you like to the current directory

    Next steps:
    - Create spark mxml snippets
    - Add a cool logo : )

    Want to Add/Fix any snippet? please feel free to do it directly to the svn or to drop a comment (or just send a /slap :) )

     
    • Ana

      Ana 6:47 pm on November 8, 2009 Permalink

      Nada que ver mi comment con tu post, pero es que me da gusto encontrarte, espero estés bien, se te extraña :) )

  • admin

    ozipi 1:52 am on October 13, 2009 Permalink | Reply
    Tags: , comic, thoughts   

    This is all insane 

    its time to take control…
    … … … .to look at the sun…
    … … .. to break in the mirror…

    insane

     
  • admin

    ozipi 7:13 pm on April 28, 2009 Permalink | Reply
    Tags: ,   

    Dexter 

                  Dexter

    un perro alienigena……

    una sonrisa…….

    una vida…

     
    • Karla

      Karla 8:26 pm on April 28, 2009 Permalink

      Me declaro fan de tus tomas… y quisiera ser el alma del perro (muajaja) y tener la vida del avecita que esta abajo. Just awesome pics!

    • frago

      frago 10:25 pm on April 28, 2009 Permalink

      la onda con ese perrito…y eso que aun no lo conozco jajaja xD

    • kyoria

      kyoria 9:09 pm on April 30, 2009 Permalink

      Me encanta ese perro! me quede enamorada desde que lo vi en tu avatar n_n

      Yo lo quierooooo!!

    • Raul

      Raul 12:10 am on May 1, 2009 Permalink

      Que bonito perro, se parece a su papa, pues espero lo cuides y lo trates bien , al menos mejor que a ti mismo =P

      Cuidese y estamos en contacto

    • alma

      alma 5:44 pm on May 8, 2009 Permalink

      ….y sus ojos me comen…. me pierdo ….

      me gusta … !!!!

    • Alan

      Alan 6:02 pm on May 11, 2009 Permalink

      Esse perro me tumbo xD

      corre a MDRS

      T CHNGNSSMO

    • Em

      Em 3:08 pm on November 7, 2009 Permalink

      so cute!

  • admin

    ozipi 9:00 pm on April 22, 2009 Permalink | Reply
    Tags: ,   

    eee? 

    raven

    y esto llego…..

    el raven regreso del desierto…..

    oruguita me hace feliz……….

    el king of the bongo bailo……….

    y el desierto aparecio ante mi…….

    -Ozipi

     
    • Mex

      Mex 10:45 pm on August 11, 2009 Permalink

      Nunca he podido fotografiar un ave-base (base de beisbol), o sea, de esas que se te “aparecen” cuando “tocas base”. No se dejan, la cámara falla o el ave se esconde. Tú me entiendes, ozo.

c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel