Author Topic: 3D in Axe - Isometric Projection  (Read 18399 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 3D in Axe - Isometric Projection
« Reply #15 on: April 28, 2012, 01:46:59 pm »
I see. As for the last tilemapper attempt, I think the slowdown was caused by having to figure out if a tile needs to be drawn or not, depending if it's behind another, and because of all the transparency and masks involved.



The following was written in TI-BASIC with xLIB but it did not support variable wall heights and only supported going up and down, IIRC



Same for this (although this was written in Axe)



The last one was an RPG, though, so not much speed was needed.
« Last Edit: April 28, 2012, 01:47:17 pm by DJ_O »

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #16 on: April 28, 2012, 02:01:49 pm »
Wow, those are cool mappers. I think I will make it more like a flat terrain with 3D ish objects, so I do not really need to take care about the layers.
Maybe I will do the scrolling with the screen-shifting operations and only draw the tiles shifted in.

The middle one is sped up, right? I don't think TI-basic with xLib runs that fast on a 83+/84+.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 3D in Axe - Isometric Projection
« Reply #17 on: April 28, 2012, 02:04:58 pm »
Ah ok that's good then. Or another idea is that you can do like what they did in Mario RPG and design your maps so the higher stuff is always behind. As for the tilemappers above, they all run at SE speed. The reason why the xLIB one runs this fast is because all the author does is scrolling up/down and only draw one single row of tiles per frame. Also another reason why it's so fast is that it was written by Builderboy. :P

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #18 on: April 28, 2012, 04:20:06 pm »
As for the tilemappers above, they all run at SE speed. The reason why the xLIB one runs this fast is because all the author does is scrolling up/down and only draw one single row of tiles per frame. Also another reason why it's so fast is that it was written by Builderboy. :P
Ok, that makes sense. Cause I have only a 83+, I will try it as fast as I can and I hope the games still will be playable.

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #19 on: May 01, 2012, 11:01:02 am »
Two things:

Firstly, I won't be able to continue any of my project for two weeks, 'cause I'm going to the USA tomorrow (school exchange, yeah!).

Secondly, I finally got my super fast (due to 8 bit assembler LUT function and coordinate transformation algorithms) flat tilemapper for any size of map ready:

 
(again, better grey on calc)

The program lets you enter the size of the tilemap (only square maps, but other arbitary formats aren't any harder to implement), then it generates some random grey/white tiles and displays it on the screen. You can scroll around with the arrow keys.
« Last Edit: May 01, 2012, 11:03:44 am by MGOS »

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #20 on: May 01, 2012, 11:12:42 am »
That is looking great! Very impressive! =) I hope you enjoy your trip to the U.S. Myself and many other members live here. How long are you going to be staying?

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #21 on: May 01, 2012, 11:15:37 am »
How long are you going to be staying?
As said, two weeks. But our schedule is full of stuff we want to do.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #22 on: May 01, 2012, 11:20:15 am »
Ah, I misread your post. I'm a bit sleepy at the moment. XD It should be a very nice experience. :D

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #23 on: May 01, 2012, 05:35:10 pm »
That looks very good, I hope you post the source.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 3D in Axe - Isometric Projection
« Reply #24 on: May 01, 2012, 07:40:46 pm »
Looks very nice. And have fun in USA :)

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #25 on: May 01, 2012, 08:54:07 pm »
I see. As for the last tilemapper attempt, I think the slowdown was caused by having to figure out if a tile needs to be drawn or not, depending if it's behind another, and because of all the transparency and masks involved.

Oh, that looks like a familiar screenshot XD
Yeah, also remember that that gif is running 15 fps or whatever, so it'll look slow in chrome which caps at 9fps. But it was still too slow for practical use *sigh*. Though I did have a (slightly buggy) quadratic gravity/physics/collision engine running on top of that ;) The main reason it was so slow was actually because I didn't bother checking for whether or not a tile needed to be drawn...making it 5x slower than a normal 16x16 masked tilemapper by default. My advice would be to figure out an efficient way to accomplish that, since I was too lazy to XD

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 3D in Axe - Isometric Projection
« Reply #26 on: May 01, 2012, 08:59:50 pm »
If you had used it for an RPG and got rid of the ability to go behind walls, however, it might have been just fast enough.

It seems in Mario RPG you could sometimes go behind tiles, but I'M sure an isometric game could be made so it's not possible.



In Kirby Dream Course you could never go behind walls anywhere, because no map were designed to allow such thing. There were slopes, though.

Pretend there are bushes behind houses or put houses in the corner, somewhere where it's impossible to walk behind. Only have a few select portions of the map where you can go behind stuff and if you have any similar map, make them tile scrolling rather than smooth, so when moving behind stuff, you just make your character disappear entirely rather than going through the hassle of making him disappear partially.

After all, in most RPGs made before 1993, you can't even go behind walls.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #27 on: May 01, 2012, 09:00:25 pm »
Actually chrome doesn't have that cap anymore :D they fixed it ^^

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: 3D in Axe - Isometric Projection
« Reply #28 on: May 01, 2012, 09:09:15 pm »
@Builderboy
Wow, I didn't notice XD well now i just look silly :O haha

@DJ, hm sounds interesting...Maybe I'll pick this up after finishing Zombie Gun (Actually by then the contest might start..plus i want to work on Ash D:)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 3D in Axe - Isometric Projection
« Reply #29 on: May 01, 2012, 09:15:27 pm »
@Builder I know IE6 had it, though. Do newer version have it?

@Squidgetx hopefully you pick up Ash again in the future :D
« Last Edit: May 01, 2012, 09:16:03 pm by DJ_O »