*blog... kind of... *rss
Copying files with OSX Finder
2 comments
Right, that's a funny one. Let's say that you have a folder structure like this:
Class files / com / mrdoob_as2 / ...
Class files / com / mrdoob_as3 / ...
And then, you have a some new classes you want to copy on that folder, let's say.. that you have
com / other_guy / ...
So, as a Windows user (and probably Linux) what would you do? Probably just copy the com folder, then go to my Class files folder and paste there. So that's what I did. And how wrong I was when I suposed that the popup window was asking me 'Close' or 'Overwrite'. It wasn't asking that, it was saying 'Close' or 'Replace'. It found that there was a folder called 'com' and it was asking if I wanted to replace it with the 'new version'.
Why it can't just copy the files inside? No, it had to delete the folder first and then copy the new files.
What's the end result? I lost all my Classes! Well, atleast all the ones I did after the last backup.
Thanks Apple! :(
Class files / com / mrdoob_as2 / ...
Class files / com / mrdoob_as3 / ...
And then, you have a some new classes you want to copy on that folder, let's say.. that you have
com / other_guy / ...
So, as a Windows user (and probably Linux) what would you do? Probably just copy the com folder, then go to my Class files folder and paste there. So that's what I did. And how wrong I was when I suposed that the popup window was asking me 'Close' or 'Overwrite'. It wasn't asking that, it was saying 'Close' or 'Replace'. It found that there was a folder called 'com' and it was asking if I wanted to replace it with the 'new version'.
Why it can't just copy the files inside? No, it had to delete the folder first and then copy the new files.
What's the end result? I lost all my Classes! Well, atleast all the ones I did after the last backup.
Thanks Apple! :(
2 comments
Papervision3D + texture + dynamic flat lighting = doable :)
9 comments
I've tried another way of doing it and as I was expecting it runs much more faster now :) So I can see a future full of lights in flash ;)
dynamic flat lighting+textures, 2nd try
o/
dynamic flat lighting+textures, 2nd try
o/
9 comments
Papervision3D now with lights
no comments
A good example of why marketing and the execution of the projects it's very important would be Papervision3D. Sandy has been around for a couple of months already, but they didn't find the good examples to impress the people. Papervision3D didn't really has anything you new. Probably it was faster tho, but everyone was talking about it :) And I can tell you that was because Carlos nice demos of it.
So, because this, and also for the fact of helping a bit the project of another spaniard I added couple of classes (light3D and color) so now it can render with lights (well, only 1 by now).
flat shading example
The bad news that I also implemented it to work with textures (something I didn't seen on the flash-3d scene yet). And the results doesn't look very well :(
flat shading + texture example
This is the very basic approach tho. There are still some things I can test with, but to be honest, I don't have too much hope on this :(
See how everything goes this month, as Papervision3D should be released by the end of it (I guess).
So, because this, and also for the fact of helping a bit the project of another spaniard I added couple of classes (light3D and color) so now it can render with lights (well, only 1 by now).
flat shading example
The bad news that I also implemented it to work with textures (something I didn't seen on the flash-3d scene yet). And the results doesn't look very well :(
flat shading + texture example
This is the very basic approach tho. There are still some things I can test with, but to be honest, I don't have too much hope on this :(
See how everything goes this month, as Papervision3D should be released by the end of it (I guess).
no comments
/quit #demoscene (irc-hispano)
50 comments
Ok. Too many hours spent on the spanish demoscene trying to improve it as best as it was on my hand since 1995 to STILL having to hear/read comments like these ones. I'm really pissed off now.
Sole: I'm sorry, I won't move a finger for escena.org from now on. I know I said that already some months ago but that's the final decision. I would probably do some more stuff demoscene-related (keep doing stuff with blackpawn mainly), but I won't move a finger for the spanish demoscene ever again. As you can see I'm not welcome there.
Thanks to everyone, and specially to shash for telling me the truth, and speaking for everybody. Thanks, I would have much more free time now.
Sole: I'm sorry, I won't move a finger for escena.org from now on. I know I said that already some months ago but that's the final decision. I would probably do some more stuff demoscene-related (keep doing stuff with blackpawn mainly), but I won't move a finger for the spanish demoscene ever again. As you can see I'm not welcome there.
Thanks to everyone, and specially to shash for telling me the truth, and speaking for everybody. Thanks, I would have much more free time now.
50 comments
Actionscript Basics - Class Files
3 comments
Spring Digital approached me again with an interesting project. Preparing a Class for their designers to explain a little bit the basics of Actionscripting. I never did something like this before, I mean being a teacher and doing a 4hours session about anything. So I didn't know how it was going to work.
The first idea I had about it was doing my own powerpoint/keynote thingie (I called it keydoob ;)) to prepare slides and keep a bit of structure for the class. Then I had to prepare all the contents and that's where I had some problems as I just didn't know how to prepare something and guess that will take 4 hours to explain answering the possible questions, so as I added a bit more of content just in case.
I had to do the same class twice, for 2 groups of designers, so after doing the first one I amended a bit the slides and I was able to explain everything a bit better.
Although the class was supposed to be about the basics of Actionscript I think I really said a lot of stuff, if I was totally new it would probably damage my mind ;) But I wanted to give a bit of info about everything and stuff that they will probably find at some point, and maybe whenever they test about something they will remember the class and me saying something about it, so they would have a bit of idea or they will feel that they're doing things properly.
So, for the non-attendants (you), I'm afraid I don't have a video or anything of me blabling and blabling but the good news are that I will share the slides, the source file of keydoob, and also the files I created in each class, with the source code (.fla) so you can check some actionscript code if you feel like doing it :)
Actionscript basics 1.1 presentation
(LEFT & RIGHT to change slide)
Actionscript basics 1.1 presentation - source files
The first idea I had about it was doing my own powerpoint/keynote thingie (I called it keydoob ;)) to prepare slides and keep a bit of structure for the class. Then I had to prepare all the contents and that's where I had some problems as I just didn't know how to prepare something and guess that will take 4 hours to explain answering the possible questions, so as I added a bit more of content just in case.
I had to do the same class twice, for 2 groups of designers, so after doing the first one I amended a bit the slides and I was able to explain everything a bit better.
Although the class was supposed to be about the basics of Actionscript I think I really said a lot of stuff, if I was totally new it would probably damage my mind ;) But I wanted to give a bit of info about everything and stuff that they will probably find at some point, and maybe whenever they test about something they will remember the class and me saying something about it, so they would have a bit of idea or they will feel that they're doing things properly.
So, for the non-attendants (you), I'm afraid I don't have a video or anything of me blabling and blabling but the good news are that I will share the slides, the source file of keydoob, and also the files I created in each class, with the source code (.fla) so you can check some actionscript code if you feel like doing it :)
Actionscript basics 1.1 presentation
(LEFT & RIGHT to change slide)
Actionscript basics 1.1 presentation - source files
3 comments
C++, SDL Coding? Maybe.. ;) (Preview)
no comments
Looks like the escena.org compos inspired me to finally improve my C++ & SDL skills.
The effect on the screenshot isn't optimised yet, but probably I'll get 30fps with it (I hope!).

The effect on the screenshot isn't optimised yet, but probably I'll get 30fps with it (I hope!).

no comments
Flash+PHP, secure high-scores
2 comments
I've been doing a couple of flash games these days, and there is always that request of having to add a high-score system on the background. Sounds simple to do, but you will get the high-scores hacked very easily if you don't do it carefully. This is the research I've done by now:
The first thing we need to know is that Flash+PHP is totally insecure, you got a program on your client requesting server information. You can always use a program like live http headers in between to check what is the flash asking to the server. Another problem is that you can decompile the .swf with a program like Sothink SWF Decompiler to check out the code and have more information. However I found out this encrypter which by now is doing the job very well.
Long time ago I did another game and my approach on that time was loading a game_loader.php (instead of the .swf itself), and then checking the referer on that .php. If the referer wasn't the one I was expecting, then the .php wasn't giving back the .swf. I thought It was a great idea, but after finding out about cURL it doesn't look any good as you can fake the referers with it.
So the next idea was to try hacking one of the famous games out there to see how do they do it. If you ask me about famous games out there, my first answer will be probably Orisinal. Orisinal have been famous for their cute games, and in the background also have been famous for having non-hacked high-scores list. So that's where I went. So yesterday I spent a couple of hours trying to hack the bugs game. That's as far as I got... to request the table of highscores you only have to access to this link. And then, if you want to submit your score you need to acces to this link. The problem was that the las link wasn't really working as expected. One guess maybe that he could have a code that if there is some IP trying to access to link and without having all the information correctly (like for example seding the Host), then the system adds the IP to a ban-list and from there you can't go anywhere (otherwise I've no idea why isn't working, feel free to push all this further, but keep it serious, please).
After my unsuccesful attemp to hack Orisinal then I moved to the Yeti game. I checked the code long time ago and seemed quite easy to hack, but checking the code this time, I've found that many things to take care of that I just didn't have time to spend that time. So I forgot about it.
So. I guess, a combination of encrypting the .SWF, using a PHP to give back the .SWF in case you're asking for it from the correct URL, then adding a security code on each action, and as the last thing adding a ban list for IPs trying to do weird stuff will do by now. Also, in this case I've a username/password system, so the game only submits the scores if the user is logged. But to be honest I don't think that helps at all.
And that's kind of it, if you have any experience with it, or any suggestion, you know that I want to hear it!! ;)
(More details about hacking Flash Games Scores here)
The first thing we need to know is that Flash+PHP is totally insecure, you got a program on your client requesting server information. You can always use a program like live http headers in between to check what is the flash asking to the server. Another problem is that you can decompile the .swf with a program like Sothink SWF Decompiler to check out the code and have more information. However I found out this encrypter which by now is doing the job very well.
Long time ago I did another game and my approach on that time was loading a game_loader.php (instead of the .swf itself), and then checking the referer on that .php. If the referer wasn't the one I was expecting, then the .php wasn't giving back the .swf. I thought It was a great idea, but after finding out about cURL it doesn't look any good as you can fake the referers with it.
So the next idea was to try hacking one of the famous games out there to see how do they do it. If you ask me about famous games out there, my first answer will be probably Orisinal. Orisinal have been famous for their cute games, and in the background also have been famous for having non-hacked high-scores list. So that's where I went. So yesterday I spent a couple of hours trying to hack the bugs game. That's as far as I got... to request the table of highscores you only have to access to this link. And then, if you want to submit your score you need to acces to this link. The problem was that the las link wasn't really working as expected. One guess maybe that he could have a code that if there is some IP trying to access to link and without having all the information correctly (like for example seding the Host), then the system adds the IP to a ban-list and from there you can't go anywhere (otherwise I've no idea why isn't working, feel free to push all this further, but keep it serious, please).
After my unsuccesful attemp to hack Orisinal then I moved to the Yeti game. I checked the code long time ago and seemed quite easy to hack, but checking the code this time, I've found that many things to take care of that I just didn't have time to spend that time. So I forgot about it.
So. I guess, a combination of encrypting the .SWF, using a PHP to give back the .SWF in case you're asking for it from the correct URL, then adding a security code on each action, and as the last thing adding a ban list for IPs trying to do weird stuff will do by now. Also, in this case I've a username/password system, so the game only submits the scores if the user is logged. But to be honest I don't think that helps at all.
And that's kind of it, if you have any experience with it, or any suggestion, you know that I want to hear it!! ;)
(More details about hacking Flash Games Scores here)
2 comments
The lack of taste and the shadows
5 comments
I've been just watching the latest screenshots of Windows Vista, and well, I guess they will go gold with their lack of taste. What's better than an Image to show what I mean?
Hey! I said I wasn't going to post more stuff like this, WTF?! :D

Hey! I said I wasn't going to post more stuff like this, WTF?! :D
5 comments
Flash: another nasty thing
1 comment
Anytime you want to copy paste the image you're working on Photoshop to Flash, don't do it by copy/pasteing, it will modify a bit the image sizes.. in instance, if the image is 700px of width, it will paste it as 699.7. And these kind of things make the final product very pixel non-perfect, specially when your flash needs to integrate with the html design.
So, to avoid that, save the image as PNG or something and then import in on flash. Very silly thing but it really means a lot!
So, to avoid that, save the image as PNG or something and then import in on flash. Very silly thing but it really means a lot!
1 comment
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
*profile

traditional id: Ricardo Cabello Miguel
based in: London, UK
more: twitter, twitpic and soundcloud.
*affiliations
60fps, escena.org, xplsv.tv and xplsv.com.
*input
friends
aaron koblin
abscondorium
blackpawn
campbell imray
cardboard robot ninja pirate monkey
carlos ulloa
david o'reilly
diego f. goberna
iñigo quilez
jare
jesse kanda
jorge fuentes
kile
mike tucker
nanika
nuende
soledad penadés
tnghm
unit zero one
vadik marmeladov
zafio
zeh fernando
art
8bit today
build
cocos' island
flight404
hairy teeth
hi-res!
neave
nulla dies sine linea
patecreme
postspectacular
quel solaar
siggi eggertsson
tha.ltd
today and tomorrow
united visual artists
vvork
yugop
dev
andre michelle
alternativa
antti kupila
away3d
boostworthy
broken blog
bytearray
den ivanov
der schmale
drawlogic
fladdict
flash video
general relativity
gskinner
hidiho!
joa ebert
john grden
kaourantin
keitap
less rain
li
michael battle
nulldesign
papervision3d
pengin.swf
photon storm
pixelero
polygonal
quasimondo
sandy
saqoosha
sephiroth
simppa
tom.drastic.net
uve producers team
zero point nince
zupko
music
hunz
ochre
ronny pries
humour
wulffmorgenthaler
xkcd