Author Topic: Sort of 3D Platformer-Contest Entry  (Read 7857 times)

0 Members and 1 Guest are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Sort of 3D Platformer-Contest Entry
« Reply #15 on: May 24, 2011, 02:37:58 pm »
Do you redraw the entire screen each frame?  How do you do the masking for each object?  Do you draw the objects at the same time you draw the tiles? 

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Sort of 3D Platformer-Contest Entry
« Reply #16 on: May 24, 2011, 08:13:11 pm »
The screen gets redrawn every frame which makes it as slow as it is, unfortunately. The objects that you see are actually tiles that are 1 level higher than the floor. The masking is pretty simple, transparent all around except the actual block. Except the transparent blocks that I made that are, well, transparent haha. The tiles are drawn from the top left corner to the bottom right corner, starting at the lowest depth level and progressing to the highest.

I believe lookitsan00b already made an isometric engine with Axe, actually, although I can't find it atm...

No, you are right, he is falling through the floor. I have to fix that.

This runs decently at 15mhz, but I can't really figure out what I want to do with it. It's too slow to handle any kind of enemies or anything, as well as any extra physics to play with. I might actually move on to another, more traditional 2d entry if I can't speed it up/think of something...

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Sort of 3D Platformer-Contest Entry
« Reply #17 on: May 24, 2011, 08:20:05 pm »
Would it be possible to use screen shifting to draw the map faster, and then instead of applying every mask from the world onto the object, you could copy the object sprite onto a separate buffer, mask it with the appropriate 3 masks or whatever, and then display it onto the screen or something?

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Sort of 3D Platformer-Contest Entry
« Reply #18 on: May 24, 2011, 08:21:44 pm »
How about keeping the screen in the back buffer and moving it around as needed, then RecallPicing it to the front buffer and putting all the other stuff on it? That's what I do.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Sort of 3D Platformer-Contest Entry
« Reply #19 on: May 24, 2011, 09:49:14 pm »
Could you only redraw the changing parts to the screen to make it faster?
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Sort of 3D Platformer-Contest Entry
« Reply #20 on: May 24, 2011, 09:54:06 pm »
The genesis had a crapload of isometric platformers if you want ideas.
In-progress: Graviter (...)

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: Sort of 3D Platformer-Contest Entry
« Reply #21 on: May 24, 2011, 10:30:02 pm »
The isometric looks nice.  I hope you can find a good idea for the gameplay.  :)
ld a, 0
ld a, a

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sort of 3D Platformer-Contest Entry
« Reply #22 on: June 07, 2011, 11:21:24 pm »
It's too bad this died. It would have been nice if a faster way was figured out D:. It looked epic! O.O

EDIT: Someone should make a SUper Mario RPG clone with this. Maybe get rid of transparency and make sure the char can't go behind stuff, like stuffing the back of houses with bushes or something :P
« Last Edit: June 08, 2011, 12:00:22 am by DJ_O »

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sort of 3D Platformer-Contest Entry
« Reply #23 on: June 13, 2011, 05:58:17 am »
wait, this is dead?

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>