|
Andy Wolff
|
 |
« Reply #5260 on: December 06, 2009, 11:12:07 AM » |
|
Oh, crap, would you mind sharing the code? Pretty please?
Sure thing. I made an example in Flash AS3 which can do the same things that Chevy's upscaling trick does in GM. I just learned AS3 as I did this so if you know AS3 and you see something stupid I've done, please tell me. It's good for making tweened pixels look like real pixel animations or for making vectors look like pixel art or making full screen effects import flash.display.Bitmap; import flash.display.BitmapData; import flash.display.MovieClip; import flash.events.EventDispatcher; import flash.geom.Transform; import flash.geom.Matrix; import flash.geom.Rectangle;
//set the stage quality to LOW MEDIUM HIGH or BEST, default is HIGH //this.stage.quality=StageQuality.LOW;
// // make a bitmap var bitmapThing:BitmapData = new BitmapData(80,96,true,0x00000000); // // make a rectangle and color transform to fade the former screen image var emptyRect:Rectangle = new Rectangle(0,0,bitmapThing.width,bitmapThing.height); var cTransform:ColorTransform = new ColorTransform(); cTransform.alphaMultiplier = 0.9; //screen fade value
// // make a bitmapDisplay do display the bitmap and scale it up var bitmapDisplay:Bitmap = new Bitmap(bitmapThing); this.addChild(bitmapDisplay); bitmapDisplay.scaleX=4; bitmapDisplay.scaleY=4;
// // turn the original movie clip you are drawing invisible (I called this one screen) screen.visible=false;
// // every step, apply fade and draw screen to bitmap addEventListener(Event.ENTER_FRAME,step); function step(event:Event):void { bitmapThing.colorTransform(emptyRect,cTransform); bitmapThing.draw(screen,screen.transform.matrix,null,BlendMode.ADD); } It takes a movie clip and draws it onto a bitmap (used like surfaces are in GM). You can change the blend mode for various cool effects and suchlike. If you want to upscale an entire little video, copy all the frames of the video into a movie clip and use it as the screen.I don't know if you can use the entire stage itself as a movie clip or not, but if you can then a lot of what this example does is unnecessary. I'm really excited to have got this working because now I can do all the effects that have been in my recent games like Cosmop and Cybersolip  Note that I made it in the Flash IDE but you could probably change it around some to make it work for other things
|
|
|
|
|
Logged
|
|
|
|
|
increpare
Guest
|
 |
« Reply #5261 on: December 06, 2009, 11:25:01 AM » |
|
 Small puzzle/simulation game. Erm not sure which of the two it'll end up leaning towards more just yet.
|
|
|
|
|
Logged
|
|
|
|
|
ChevyRay
Guest
|
 |
« Reply #5262 on: December 06, 2009, 04:26:04 PM » |
|
Whoa, that looks neat increpare. Reminds me of electrical circuits; does the concept sort of revolve around circuitry/etc.? If so, then this is my kind of puzzle game.
|
|
|
|
|
Logged
|
|
|
|
|
PlayMeTape
Guest
|
 |
« Reply #5263 on: December 06, 2009, 04:41:31 PM » |
|
I was going crazy over not being able to work on any project because of me being very self critical - wahwahwah I'm such an artist  . So I had to just do something silly and started working on something tiny. 
|
|
|
|
|
Logged
|
|
|
|
|
increpare
Guest
|
 |
« Reply #5264 on: December 06, 2009, 05:04:49 PM » |
|
Whoa, that looks neat increpare. Reminds me of electrical circuits; does the concept sort of revolve around circuitry/etc.?
Not quite electrical circuits, but rather version control systems : P
|
|
|
|
|
Logged
|
|
|
|
|
HöllenKobold
|
 |
« Reply #5265 on: December 07, 2009, 01:31:16 AM » |
|
http://www.youtube.com/watch?v=sJXMu-x0BCYI was bored so I edited an old game of mine and added in Hokuto no Ken voices. I am happy with the result.
|
|
|
|
|
Logged
|
 | Hell pits tend to be disguised as things that would lead a passerby to not think of them as portals to eternal gnashing and wailing. |
|
|
|
|
BoxedLunch
Guest
|
 |
« Reply #5266 on: December 07, 2009, 03:55:54 PM » |
|
Some crap I've been avoiding, most are before I learned how to make some slightly decent graphics, but they are worth finishing.  I'm also working on a mini game where the level rebuilds itself slowly as it is destroyed. It's an old idea I've had but I've never been able to get the graphics quite right. oh! and this dingy. 
|
|
|
|
|
Logged
|
|
|
|
Ivan
Owl Country
Level 10
alright, let's see what we can see
|
 |
« Reply #5267 on: December 08, 2009, 09:15:56 AM » |
|
 Game for Assemblee... 
|
|
|
|
|
Logged
|
|
|
|
|
jwaap
|
 |
« Reply #5268 on: December 08, 2009, 09:27:05 AM » |
|
 Game for Assemblee...  I LOVE THAT LOOK
|
|
|
|
|
Logged
|
|
|
|
|
JMickle
|
 |
« Reply #5269 on: December 08, 2009, 09:35:33 AM » |
|
yeah i might have to steal that if i could learn 3d in GM (or even learn to use unity  )
|
|
|
|
|
Logged
|
|
|
|
|
Alec S.
|
 |
« Reply #5270 on: December 08, 2009, 06:28:01 PM » |
|
 Another screenshot.
|
|
|
|
|
Logged
|
|
|
|
|
Lemming
|
 |
« Reply #5271 on: December 09, 2009, 04:22:47 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Inanimate
|
 |
« Reply #5272 on: December 09, 2009, 04:33:13 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Zaknafein
|
 |
« Reply #5273 on: December 09, 2009, 09:54:13 PM » |
|
Started extracting instancing and culling away from the polygonization classes, but then refactoritis happened and I had to roll back to avoid going in a(nother) 1-week refactoring craze.  "25 files with errors" = You've gone too far, son. 
|
|
|
|
|
Logged
|
|
|
|
Morre
Level 1
Apocaquatic syntomy.
|
 |
« Reply #5274 on: December 10, 2009, 06:46:52 AM » |
|
Some progress on Planet Z - we've added some simple buildings. We're not particularly proficient modellers, so you'll have to excuse the model quality. Click the image for higher resolution. 
|
|
|
|
|
Logged
|
|
|
|
|
powly
|
 |
« Reply #5275 on: December 10, 2009, 09:58:00 AM » |
|
Morre, imo they fit the planets perfectly 
|
|
|
|
|
Logged
|
|
|
|
|
iPope
|
 |
« Reply #5276 on: December 10, 2009, 10:55:05 AM » |
|
 Working on a point and click, more people need to use google images for placeholders in my opinion. I don't want to get rid of it 
|
|
|
|
|
Logged
|
|
|
|
|
xerios
|
 |
« Reply #5277 on: December 11, 2009, 08:06:47 AM » |
|
I remember that from somwhere  Oh yeah, FacePunch  Hello there
|
|
|
|
|
Logged
|
|
|
|
|
iPope
|
 |
« Reply #5278 on: December 11, 2009, 09:12:14 AM » |
|
And hello to you to :D
|
|
|
|
|
Logged
|
|
|
|
|
xerios
|
 |
« Reply #5279 on: December 12, 2009, 11:56:53 AM » |
|
Working on my animation editor  Say hello to Mr. FacePunch  and watch him DANCE ! 
|
|
|
|
|
Logged
|
|
|
|
|