Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

998803 Posts in 39178 Topics- by 30591 Members - Latest Member: gerardrallo

April 21, 2014, 01:37:57 AM
TIGSource ForumsFeedbackDevLogsFinishedwinnose
Pages: 1 2 [3] 4 5
Print
Author Topic: winnose  (Read 6213 times)
mushroomized
Level 6
*


haha im tired


View Profile WWW Email
« Reply #30 on: May 06, 2013, 07:31:13 AM »

:~) lovesong :~)

: <3 )
Logged

todd
Level 8
***


msmymo


View Profile WWW Email
« Reply #31 on: May 06, 2013, 08:39:07 PM »

You should talk more of what witchcraft you are doing to the screen.
Or if it's really witches I guess I don't wanna hear about it.

you're the second person to ask so i'll dive into the concepts behind the effects. i'll avoid an acutal tutorial because that would take way too much time and people using other languages will be left out. andrew brophy got me into this stuff and it's actually super easy.

basically, i have a View class that takes a picture of the screen every frame, applies a blendmode to that image, then redraws the treated image at an offset connected to a sin wave to give it that flow.

here's a stripped down version of my View class.
http://pastebin.com/bcTyVjtg
if you're using gm, a class is an object.

here's the screen w/o any effects applied


-set up a canvas(flashpunk), surface(gm), or bitmap(everything else), to display your treated image on. it's like a frame that you're going to set your image into.

-apply a blendmode to your bitmap, surface, or canvas. with as3/flashpunk, it's as easy as
Code:
canvas.blend = Blendmode.HARDLIGHT
this is like putting colored saran wrap over your frame

-set up a bitmapData the size of the screen. bitmapData is an array that contains color information. i'm not sure what the gm equivalent is. imagine it as an unused polaroid at this point.

-copy the image currently drawn on the screen (in my case FP.buffer) to your bitmapData
Code:
bmpData.copyPixels(FP.buffer, rect, rect.topLeft);

-apply an offset on a sin wave to the bitmapdata
Code:
bmpData.scroll(flowX, 0);
the 2 arguments in this function are x and y. flowX is the number i'm applying the sin wave to

-stick that bitmapData into your bitmap/surface/canvas
Code:
canvas.fillTexture(rect, bmpData);

-draw it on the screen
Code:
canvas.render(FP.buffer, 0, 0);

shakzam
Logged

mushroomized
Level 6
*


haha im tired


View Profile WWW Email
« Reply #32 on: May 07, 2013, 10:15:44 AM »

 Coffee
Logged

todd
Level 8
***


msmymo


View Profile WWW Email
« Reply #33 on: May 08, 2013, 10:10:22 PM »

trying to make portraits/text boxes fun

hey get over here ):


got the idea from the score board in mooosh's break out hit sake express 2
« Last Edit: May 08, 2013, 10:25:23 PM by todd » Logged

todd
Level 8
***


msmymo


View Profile WWW Email
« Reply #34 on: May 09, 2013, 09:24:17 PM »

https://dl.dropboxusercontent.com/u/74132074/winnoseflow.mp3

split by the winnowing and man its changing everything
and everybody comin after me
now its gettin close and im gonna play winnose
by todd luke and calum bowen and its free

we got statues that outmatch you
evil hands that want you dead
brains that move by buttons
warps that mess with your head

made in flashpunk when i was drunk
faded level design
got that 3/4 view
1x zoom lookin fine
Logged

Gib
Level 0
***


sup


View Profile WWW Email
« Reply #35 on: May 10, 2013, 03:44:53 AM »

This is history happening right now
Logged

I love the smell of lariat in the morning. Also, twitter and stuff. And b__g.
mushroomized
Level 6
*


haha im tired


View Profile WWW Email
« Reply #36 on: May 10, 2013, 08:05:02 AM »

SMELLS G O O D
Logged

Andrew Brophy
Level 1
*


can't be hip forever


View Profile WWW Email
« Reply #37 on: May 11, 2013, 10:03:58 AM »

YESSSSSS
Logged

todd
Level 8
***


msmymo


View Profile WWW Email
« Reply #38 on: May 12, 2013, 05:36:51 PM »

my original plan was to have the player backtrack through variations of the previous levels after they fuse, and unite the monsters in a limited amount of time. i couldn't get it to not feel laborsome, so i'm scrapping that for something completely different.

noses will run
Logged

holy
Level 0
**



View Profile Email
« Reply #39 on: May 13, 2013, 02:12:43 AM »

support
Logged

i make chiptunes and art.
Calum Bowen
Level 4
****



View Profile WWW Email
« Reply #40 on: May 13, 2013, 05:42:06 PM »

we are family

Logged

Ness Kain
Level 6
*


died and is a ghost.


View Profile WWW Email
« Reply #41 on: May 13, 2013, 06:46:29 PM »

you're the second person to ask so i'll dive into the concepts behind the effects. i'll avoid an acutal tutorial because that would take way too much time and people using other languages will be left out. andrew brophy got me into this stuff and it's actually super easy.
...
Cool beans.
Logged

Ever Toward a Better Yesterday: music; more is on the way, but it must first complete an arduous journey fraught with peril.
If your Twitter doesn't have enough depression and awkward pomposity, here you go.
todd
Level 8
***


msmymo


View Profile WWW Email
« Reply #42 on: May 15, 2013, 08:15:55 PM »


been doing polishy stuff like room transitions, and working on the endgame
bumping this up to 80%

24/24 levels
1/5 story rooms
3/3 musics
2/2 tileset
fusion
launch
space
Logged

todd
Level 8
***


msmymo


View Profile WWW Email
« Reply #43 on: May 19, 2013, 08:31:16 AM »

this weekend i've been polishing, working on the story rooms where mechanics are introduced, and coding the end game boss

the story rooms i've been mentioning introduce enemies and give their mechanics some context. i didn't want to stop the game at all, so the text boxes change position/content as you move around the room. <click for gif>

i hope to wrap this up within a week or two. the last step will be emailing sponsors to see if any are interested. if not, i'll throw it up on my site for everyone to check out
Logged

todd
Level 8
***


msmymo


View Profile WWW Email
« Reply #44 on: May 26, 2013, 09:50:37 AM »



there will be a midway point in the game where you chill and this guy will play you a song

edit:

« Last Edit: May 26, 2013, 07:51:38 PM by todd » Logged

Pages: 1 2 [3] 4 5
Print
Jump to:  

Theme orange-lt created by panic