Report as inappropriate.

Photo_on_2011-09-18_at_18

bourne presents ...

2011/12/1

Pyro's Apprentice

Controls:
'W' - Jump
'A' & 'D' - Run Left and Right
'1' - Throw fire ball
'2' - Build a fire
'F1' - Return to main menu

1948 views / 84 in the last 7 days

10 votes | 0 in the last 7 days

Tags: game with-source scrolling platform text-based-world fire

This scenario is a member of: Art, Patterns and Music


open in greenfoot
Your browser is ignoring the <APPLET> tag.
Happy-chicken_1__thumbdarkmist255

2011/12/3

Whoooa... Keep this up, looks very promising!
Avatar-1940Builderboy2005

2011/12/4

Are the shadows supposed to represent line of sight, or brightness levels? o.O Neither seems to fit, since you can see fires that are out of your line of sight, but you can't see daylight while in the caves.
Photo_on_2011-09-18_at_18bourne

2011/12/4

Line of sight but since you are a pyro you are alert to the fire's heat =)
Avatar-1940_thumbBuilderboy2005

2011/12/4

Ahhhhh that makes sense ^^ Looking good too, as always :)
Photo_on_2011-09-18_at_18bourne

2011/12/4

Thanks! Glad you guys enjoy it. My programming mind doesn't like to stay in one place, so I've already started and am midway with another project. But I'm very excited at making this one which I'm hoping to add a story to related to the title. I will probably be back on this very soon!
Avatar-1940Builderboy2005

2011/12/4

I know exactly how you feel, I jump to and from projects, working on whatever interests me at the time. Can't wait to see more of all of your work :)
____thumbwinnerpig

2011/12/6

I like the fire effects! However, your source code looks complicated ,and I wonder how the Spark class works?
Photo_on_2011-09-18_at_18bourne

2011/12/6

Basically the fire effect consists of having a 2d array of values of "intensities", where you add 0 & max intensities at the "bottom", then loop through the rest, where at each point - finding the average of what's directly below it and subtracting 1, then setting that to that point. I have a few modifications to making the effect look nice. But then you take the 2d array and loop through each point and translate the intensity onto a color spectrum (white -> yellow -> red -> black), which then is the pixel at that point. The Spark class is used so to not just be adding randomly 0 or max intensities to the bottom of the array. Basically there is a list of Sparks that cover the length of the bottom of the array, where each have a "home" that it must stay "close" to, but allowed to move randomly around. Also each can randomly change its "length". So using the Spark class, it makes the flames seem to waver, making a nice fire replication.
K_o_pK_O_P

2011/12/14

Nice effects! But... 13 is an unlucky number, so I'll be your 14th "stalker"! ;)
Coin_logo_1_thumbtoytttttt

2012/1/24

Lovely, lovely fire effect!

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Shushki_poster_thumb No_avatar_thumb ____thumb K_o_p_thumb Greenfoot2_thumb Sb2_thumb Happy-chicken_1__thumb Greenfootgalleryimage2_thumb No_avatar_thumb Netbeans-duke2_thumb