HOME | DD

Published: 2007-10-02 22:50:12 +0000 UTC; Views: 3605; Favourites: 11; Downloads: 67
Redirect to original
Description
Hi guys. Haven uploaded anything flashy recently. Why? Cuz I was working on a game for a competition for a month and a half. But yesterday was a competition deadline. What that means? Well two things.First: I am back and I have wings now
Second: You all will se my first complete game soon. Just you wait
Well this is a quickie I did in few hours and just finished. It is a preloaded I will use for my creations from now on. What is this site? Well its site of me and my friends. We hope to make a good gaming community site out of it someday. Well thatβs all for now.
Edit: You can see the initial work from which such things have started for me
Edit2: Made it bigger(you can see pixels better now....)
Changed placings of text.
Related content
Comments: 80
wonderwhy-ER In reply to ??? [2008-09-24 15:06:37 +0000 UTC]
Actualy there is example with source code in the net. Not shore how really simmilar code is but result is very simmilar. check Andre Michel in the net. Here [link] you can find somwhere his experement and I am shore that there was source somwhere there. He has sources almsot for everything he has there just there wa some kind of page like code repository or something.
π: 0 β©: 0
doc-d [2008-08-15 23:01:51 +0000 UTC]
ppff i dont care whats behind the preloader. The effect with the preloader is enough to keep me busy
π: 0 β©: 1
GumBubbles [2008-03-14 21:29:35 +0000 UTC]
heey, i like this one... that bubble is cool
π: 0 β©: 1
NinjitsuWarrior [2008-02-12 18:11:25 +0000 UTC]
Can you please tell me wich function of bitmapdata you used to get the pixels like that?
π: 0 β©: 1
wonderwhy-ER In reply to NinjitsuWarrior [2008-02-12 21:08:30 +0000 UTC]
BitmapData.getPixel or BitmapData.getPixel32 both take in x:int y:int.
π: 0 β©: 1
NinjitsuWarrior In reply to wonderwhy-ER [2008-02-12 21:10:08 +0000 UTC]
Okay, thanks, if it doesn't work, can I just ask your help?
π: 0 β©: 1
wonderwhy-ER In reply to NinjitsuWarrior [2008-02-12 21:47:58 +0000 UTC]
Well you can though i may not have much time to answer... Though everything should work as i already said...
π: 0 β©: 1
NinjitsuWarrior In reply to wonderwhy-ER [2008-02-12 21:50:44 +0000 UTC]
Ok ,but how can I move pixels?
π: 0 β©: 1
wonderwhy-ER In reply to NinjitsuWarrior [2008-02-12 22:17:16 +0000 UTC]
var source:bitmapData = new Source();//picture from library
var pixels:Array = [{x:5,y:5,color:source.getPixel(5,5)}];
//making actual on screen result
var bmd:BitmapData = ...
var bmp:Bimap = new Bitmap(bmd);
//And then on each frame doing something like
bmd.lock();//locks bmd so that it will not be redrawn untill you unlock it. works faster this way
bmd.fillRect(bmd.rect,0);//clear what have been drawn on previos frame
for each(var pixelbject in pixels){
//some code to move pixel say closer to cursor
bmd.setPixel(pixel.x,pixel.y,pixel.color);
}
bmd.unlock();
//on frame code ended i suppose. Or you can blur it or something more to do...
Something like that...
π: 0 β©: 2
NinjitsuWarrior In reply to wonderwhy-ER [2008-02-13 19:41:47 +0000 UTC]
Oh sorry, btw, I got AS2!
π: 0 β©: 1
wonderwhy-ER In reply to NinjitsuWarrior [2008-02-13 19:45:55 +0000 UTC]
Ouh heh Was not using it for like half a year
π: 0 β©: 1
NinjitsuWarrior In reply to wonderwhy-ER [2008-02-13 20:03:51 +0000 UTC]
Ok, but do you know if it's possible?
π: 0 β©: 1
wonderwhy-ER In reply to NinjitsuWarrior [2008-02-13 20:55:40 +0000 UTC]
Ouh. Ofcourse it is. Check AS2 help for Bitmap or BitmapData class. Don't remember how it was called in AS2. It will be different but very little. At least there is 100% a class like BitmaData+Bitmap together in AS2. there are all fiters. Like Blur and ColorMatrix. And this class has setPixel/getPixel methods
π: 0 β©: 1
NinjitsuWarrior In reply to wonderwhy-ER [2008-02-13 21:11:36 +0000 UTC]
Yeah, I know that, but you can only change colors!
π: 0 β©: 2
NinjitsuWarrior In reply to NinjitsuWarrior [2008-02-17 09:17:04 +0000 UTC]
No you can change alpha too but you can't move the pixels (I think)
π: 0 β©: 0
wonderwhy-ER In reply to NinjitsuWarrior [2008-02-13 21:26:51 +0000 UTC]
You mean you can't change alpha? I kind of doupt that. I need to look in to the help it seems and help you out with code...
π: 0 β©: 0
wonderwhy-ER In reply to folka [2007-10-04 18:21:11 +0000 UTC]
ΠΠΎΠ½Π΅ΡΠ½ΠΎ Π‘ΠΏΠ°ΡΠΈΠ±ΠΎ
π: 0 β©: 1
wonderwhy-ER In reply to The-Titan [2007-10-04 08:28:18 +0000 UTC]
Thanks. Check predecesor of this work in my old works
π: 0 β©: 0
wonderwhy-ER In reply to CainDraka [2007-10-03 21:06:43 +0000 UTC]
Yeah... It's pity that flash cant handle little bit more. Like 20-40 thousands. They look much better but lag a lot...
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-10-04 08:32:53 +0000 UTC]
That's nothing that much. I think on C++ with VideoCArd support it is possile to handle millions... At least i am shore that 400000 is possible becosue read it and it was not max
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-10-04 14:24:28 +0000 UTC]
I need to learn programming some time o.o
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-10-04 17:45:15 +0000 UTC]
Heh... That's a lot to lear. Math, algorithms, languages...
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-10-04 22:39:27 +0000 UTC]
I can barely remember the c++ I learned in high school x.x
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-10-04 22:48:51 +0000 UTC]
So you do know a little about it
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-10-04 22:49:44 +0000 UTC]
it was over a year ago, so not much >.>
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-10-04 22:56:18 +0000 UTC]
Well i have 7 years of expiriance in programming and there is still a lot to learn... It's very vast things which can get in to any modern sphere...
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-10-04 22:59:47 +0000 UTC]
you and your fancy higher education <.<
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-10-04 23:18:23 +0000 UTC]
Hmmm well you can get better one in MIT I envy those who have chances to study there... I mean my Bachelor and Master programs in Uni are so lame in comparesment with MIT...
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-10-04 23:41:47 +0000 UTC]
For that i need some 70000$ which i don't have and also it's another side of earth... Sometimes i am thinking about it but no
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-10-05 09:00:21 +0000 UTC]
lol and seek political sanctuary in USA studying in MIT?
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-10-05 18:51:56 +0000 UTC]
Well i am still giving it some toughts and picking the banks to rob
π: 0 β©: 1
Inga-Kanti [2007-10-03 15:00:08 +0000 UTC]
Π’Ρ ΡΠ°ΠΊ Π΄Π°Π²Π½ΠΎ Π½Π΅ ΡΠ°Π·ΠΌΠ΅ΡΠ°Π» Π½ΠΈΡΠ΅Π³ΠΎ Π½ΠΎΠ²ΠΎΠ³ΠΎ, ΡΡΠΎ Ρ ΡΠΆΠ΅ ΡΡΠΏΠ΅Π»Π° ΡΠΎΡΠΊΡΡΠ°ΡΡΡ ΠΏΠΎ ΡΠ²ΠΎΠΈΠΌ ΡΠ°Π±ΠΎΡΠ°ΠΌ
π: 0 β©: 1
wonderwhy-ER In reply to Inga-Kanti [2007-10-03 21:09:00 +0000 UTC]
Heh ja tak davno rabotal nad igroj 4to sam sosku4ilsa po etim prostim nebol6im ekserementam
π: 0 β©: 0
wonderwhy-ER In reply to move-me-more [2007-10-03 08:26:06 +0000 UTC]
Mmm... In terms of graphics may be...
π: 0 β©: 0
wonderwhy-ER In reply to ElectricRain [2007-10-03 08:17:04 +0000 UTC]
Yeah... Actualy this one is based on of my first works on Flash which i made like 4-5 years ago. It was based on MovieClips and it was text "Points"- name of my mothers firm. It was manualy cut on smal peaces and after that made to fly like that... I think i will upload my two first works later. Well then it was like 150-200 squires 3x3 pixels and this time it is like 10000 pixels
π: 0 β©: 0
Supa-Monky In reply to ElectricRain [2007-10-03 07:21:35 +0000 UTC]
yeah, i think thats where he took the idea from
π: 0 β©: 1
| Next =>