Author Topic: Perspective Tile Prototype  (Read 3258 times)

Kayn

  • Member
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Heatknives
Perspective Tile Prototype
« on: Thu, Apr 15, 2010 »
I posted this to #flixel before Easter. It's a rebuild of my long suffering project to build a GTA style engine in Flash, now using Flixel (so I don't have to worry too much about building any kind of game logic behind the insane graphical process).

The plan is to use this to build a Dungeon Keeper clone. Or at least a graphical Roguelike.

A Dungeon Building Demo
- Mouse controls.
- Click to change a tile from a dirt block to a floor, to a different type of floor, back to a dirt block.
- No clicking on the solid rock walls. Mwahaha


Currently it's single layer without the ramps and slopes I had from the previous incarnations of this (when I wasn't using Flixel). The hope is to take what fefranca did for slopes for 1.5 and build at least that much into this, and develop some way of building multiple Z levels using scaled-up FlxGroups.

Although the scaling of groups would probably lead to a lot of program slowdown.

Anyway. Thoughts?
Restlessness and discontent are the first necessities of progress. -Edison

Retro-Rob

  • Active Member
  • ***
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: Perspective Tile Prototype
« Reply #1 on: Thu, Apr 15, 2010 »
1 thought.


Awesome.

zuperxtreme

  • Contributor
  • ****
  • Posts: 254
  • Karma: +0/-0
    • View Profile
    • Buddah
Re: Perspective Tile Prototype
« Reply #2 on: Thu, Apr 15, 2010 »
Awesome work! I'm getting a steady 45-50FPS. It's a little jittery when you aren't moving, like the distance it probably a px or less. I love it, keep it up. :D
..."without order nothing exists, without chaos nothing evolves"... 
Zoklet.net

darthlupi

  • Active Member
  • ***
  • Posts: 241
  • Karma: +0/-0
  • All Smiles
    • View Profile
    • LupiGames.com
Re: Perspective Tile Prototype
« Reply #3 on: Thu, Apr 15, 2010 »
Man, this could make a really fun top down game!  I kept envisioning all sorts of fun game play options.  This is really inspiring.  Great work!
To take care of that not so fresh feeling: #flixel on irc.freenode.net.

Use your favorite IRC client or  http://webchat.freenode.net/

amitait

  • Guest
Re: Perspective Tile Prototype
« Reply #4 on: Thu, Apr 15, 2010 »
Dungeon Keeper. Freaking nostalgic.

The idea is cool and the UI is pretty nice except is a bit fast to control. Maybe you should use the keyboard to move the map and the mouse just to put blocks and stuff. You know...keep it simple & familiar.

XanderXevious

  • Contributor
  • ****
  • Posts: 360
  • Karma: +0/-0
    • View Profile
    • Deadly Alien Microbots
Re: Perspective Tile Prototype
« Reply #5 on: Thu, Apr 15, 2010 »
This is very impressive and Dungeon Keeper is one of the best games ever so I'd love to see what more you can do with this engine!

I'm very curious to know how you've implemented 3d here. Did you use a libray like papervision or write your own thing?

paul k

  • Member
  • **
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Perspective Tile Prototype
« Reply #6 on: Thu, Apr 15, 2010 »
Love the perspective tiles, and in-game editing.

Paul

Rybar

  • Contributor
  • ****
  • Posts: 279
  • Karma: +0/-0
    • View Profile
Re: Perspective Tile Prototype
« Reply #7 on: Fri, Apr 16, 2010 »
This is very cool, and I too would be very interested in having you share a bit on how you're implementing the 3d effect here. 

lukesx22

  • Guest
Re: Perspective Tile Prototype
« Reply #8 on: Mon, Apr 19, 2010 »
Wow, very nice, nice ideas too, love Dungeon Keeper, love Rogue-likes.

eddietree

  • Member
  • **
  • Posts: 64
  • Karma: +0/-0
  • Bees nuts
    • View Profile
    • Illogictree
Re: Perspective Tile Prototype
« Reply #9 on: Thu, Apr 22, 2010 »
Wow. this is fantastic. I'm really curious on how you were able to get 3D into flixel.
Dev Blog: illogictree | Twitter: @eddietree

Kayn

  • Member
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
    • Heatknives
Re: Perspective Tile Prototype
« Reply #10 on: Fri, May 21, 2010 »
Kayn casts threadromancy...

Wow, very nice, nice ideas too, love Dungeon Keeper, love Rogue-likes.
This is very impressive and Dungeon Keeper is one of the best games ever so I'd love to see what more you can do with this engine!

I'm very curious to know how you've implemented 3d here. Did you use a libray like papervision or write your own thing?

No papervision - just some bitmap data being created based on the tiles on the screen, and drawn with some matrix transformations (the math for which was provided by my good friend Luca, who knew immediately what calculations I had to make after I told him I wanted something for affine transformations).

I'll be sharing this thing's source code. One day. For now there's enough bugs in it to make me want to vomit - particularily one insane one that changes where the rendering of the blocks takes place if I change the Zoom or stage dimensions. I also need to work out a proper method for defining wall textures.

That and I, yknow, want to one day release an actual game with it.

Anyway. For now, take Magus for a walk. Cursor Keys to move. If you stop, you can go back to level editting mode.

Restlessness and discontent are the first necessities of progress. -Edison

MaToMaStEr

  • Guest
Re: Perspective Tile Prototype
« Reply #11 on: Fri, May 21, 2010 »
cool !!

xhunterko

  • Contributor
  • ****
  • Posts: 449
  • Karma: +0/-0
    • View Profile
Re: Perspective Tile Prototype
« Reply #12 on: Fri, May 21, 2010 »
At first I was like, not knowing what was going on. Then I moved.
Then I was like 'Oh wow!'.
Then I started clicking. :)
Looking forward to seeing the source. :)
Now on twitter: http://twitter.com/xhunterko I made a game that's in alpha you can buy here: http://xhunterko.itch.io/wave-miner-alpha

hima

  • Member
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
    • My Dev Blog
Re: Perspective Tile Prototype
« Reply #13 on: Fri, May 21, 2010 »
Amazing! I've always wanted to do something like this, but I thought it has to do with 3D or Papervision or Away3D so I haven't got myself to learn 3D on flash yet. Can't wait to learn from the source code :D