Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
February 8, 2010
Image Size
8.8 KB
Resolution
600×600
Link
Thumb
Embed

Stats

Views
2,043
Favourites
4 (who?)
Comments
7
Downloads
46
×
No real objective, just a plaftormer engine combined with the new engine Rob started. Rob came up with the idea of kind of tracing a circle around the character with a bunch of points, and then stopping them when they hit the wall. With that we could fill in the area with a gradient and mask the floor with it.
Makes a pretty cool line of sight engine.
[edit] Forgot to mention that the maze is draw dynamically using data from an array[/edit]

Arrow Keys to move and jump. Avoid the red circle that randomly floats around the maze as it will put you back at the start.
No there is no exit.
Add a Comment:
 
:iconkiracou:
KiraCou Featured By Owner Nov 25, 2011
hey, it looks very nice... i would like to take a look in your code, i have the idea on how it works... but i'm new developing games and i would like to implement a feature like that in this game... ^^ :D
Reply
:iconmogisb29:
MOGIsb29 Featured By Owner Aug 26, 2011  Student Traditional Artist
WOW.. what a cool maze
Reply
:iconlegogo:
Legogo Featured By Owner Mar 28, 2010
Very interesting.

Maybe you can go further into the detail of this engine ?
You create a shape around the character to apply a mask ?
Is it based on "lineTo"s on every 360° ?
Reply
:iconcomputer-turret:
Computer-Turret Featured By Owner Mar 28, 2010  Student Artist
Basically yes that is what we did. For better performance (less cpu usage) it actually checks every 2 degrees rather than every 1 degree.
It takes a point, and moves out from the character until it hits a wall and then draws a line. Then it's just drawing in a gradient fill and making it a mask.
I'll send you the fla in a note if you want to look at the source.
Reply
Flagged as Spam
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Feb 11, 2010
Nice :)
Reply
:iconcollinbollin:
collinbollin Featured By Owner Feb 8, 2010  Hobbyist General Artist
wow dtaled ad an obgective and it'ed be fun!(well actly it already it!)
Reply
Add a Comment: