Diablo ASM - a Collaborate effort.

A forum where you can announce your awesome project(s).

Moderator: MaxCoderz Staff

Liazon
Calc Guru
Posts: 962
Joined: Thu 27 Oct, 2005 8:28 pm

Post by Liazon »

Why not write the code to adapt to 45 degree tilted squares? Draw the isometric grid on the screen and assign each diamond square a number. Associate coordinates with that diamond.

Tile mapping will then put transparent isometric grid sprites in each of diamond of the grid. People sprites will then be designed to fit/stand on these diamonds. To show deepth, we have the sprites in the back/at the top drawn first, then draw the ones towards the front/at the bottom last. Then everything overlaps perfectly. The hard part is writing a routine that can update the screen fast enough to do this.

This was just my idea that popped up all of a sudden. :idea:
Image Image Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Yes, that's exactely how you should do it!
Anyway, I don't have the time to write that sprite routine for you within the next 5 months with my current planning :oops::( if I'd even be able to write one...
I guess you'd be better off trying to understand the mathematics behind sprite routines, and adapting that yourself. You'll learn much more from that in the process too.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Liazon
Calc Guru
Posts: 962
Joined: Thu 27 Oct, 2005 8:28 pm

Post by Liazon »

Well, I finally got my hands on a copy of ionf.inc so I've begun looking at it. During break, I'll probably starting reading more than just days 1-4 + 21 in ASMin28.

The only annoying problem is if the character sprite is too tall on the topmost row of diamonds. Then I'll have to cut the sprite in half and re-adjust the height.

I've never played diablo before. Is it live action RPG or what?
Image Image Image
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

I would say so.
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

I think it's free, it doesn't require a cd key, I know that. Try to find a download, it's a fun game.
Image
User avatar
kalan_vod
Calc King
Posts: 2932
Joined: Sat 18 Dec, 2004 6:46 am
Contact:

Post by kalan_vod »

threefingeredguy wrote:I think it's free, it doesn't require a cd key, I know that. Try to find a download, it's a fun game.
Shame shame! You can dl the demo for free I believe.
woods_dragon
New Member
Posts: 9
Joined: Thu 30 Jun, 2005 1:14 am
Location: OH,USA
Contact:

Post by woods_dragon »

if your gonna download it, you should find the bit torrent for "Hellfire". It adds 3 new classes to the original.
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

JoeP (sic) wrote an isometric tilemapping engine, perhaps when he gets back you could query him about it.

You could either write a sprite routine to draw each bit in its required position or just waste space in the sprite data if you cant afford the speed loss.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
CompWiz
Calc King
Posts: 1950
Joined: Thu 13 Oct, 2005 1:54 pm
Location: UB

Post by CompWiz »

tr1p1ea wrote:JoeP (sic) wrote an isometric tilemapping engine, perhaps when he gets back you could query him about it.
Do you have any idea when this could be? :? It's been a while.
In Memory of the Maxcoderz Trophy Image
User avatar
dysfunction
Calc Master
Posts: 1454
Joined: Wed 22 Dec, 2004 3:07 am
Location: Through the Aura

Post by dysfunction »

Too bad we don't have the old Ikonboard anymore, it was there Joe. P posted his isometric engine (which was originally intended for someone, don't remember who, to use for FF Tactics).
Image


"You're very clever, young man, but it's turtles all the way down!"
Liazon
Calc Guru
Posts: 962
Joined: Thu 27 Oct, 2005 8:28 pm

Post by Liazon »

Somebody made FF Tactics for calc already? Awwww....

Here's a suggestion:

Modify your walking routine so that it is tilted 45 degrees.
up=up+right
down=down+left
right=down+right
left=up+left

Won't there be more tiles per screen if it's isometric?
Image Image Image
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

Um, why would we modify the directions? You click to move (probably have a mouse controlled by the arrow keys). And you can go 8 directions. And it should be smooth scrolling.
Image
Liazon
Calc Guru
Posts: 962
Joined: Thu 27 Oct, 2005 8:28 pm

Post by Liazon »

oh, woops. :D :D :D Didn't realize you could go diagonal. (like diagonal in perspective to the isometry)
Image Image Image
threefingeredguy
Calc King
Posts: 2195
Joined: Sun 27 Mar, 2005 4:06 am
Location: sleeping
Contact:

Post by threefingeredguy »

Maybe you should dl the game :mrgreen:.
Image
CompWiz
Calc King
Posts: 1950
Joined: Thu 13 Oct, 2005 1:54 pm
Location: UB

Post by CompWiz »

threefingeredguy wrote:Maybe you should dl the game :mrgreen:.
you wouldn't be saying to do something, oh banish the thought, illegal, would you? :mrgreen:
In Memory of the Maxcoderz Trophy Image
Post Reply