Page 1 of 1

GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 12:12 am
by SuperSonic
Hey guys what's up? :D

So, a long time ago I was expirimenting around to find a way to create 3d stuff in GE. It took me a while but I finally found a way to create lines with 1 point perspective. It's not an amazing accomplishement but I'm still proud of myself. So here it is: Ge Neon

Enjoy :P

http://www.multiupload.com/ZIS87LJOHS

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 12:32 am
by hunter84
what is it?

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 12:34 am
by Game A Gogo
wow, this reminds me of something I did loong time ago! (A year?)
if you don't mind I'll post it here since it's essentially the same thing :)
Pixeloid.zip
(48.3 KiB) Downloaded 102 times
if you want me to take it down, just tell me :D
Perhaps you could find it useful? it probably isn't any help for the FPS is kinda slow xD
Also with the save/load dialog you can change the boxes of color!
Edit: I should add that this is a level editor, so click to add tiles and right click to remove them xD you can also press numbers on the keyboard to place different tiles that was going to be used for something else

Otherwise your work is pretty neatly done I must say!

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 12:45 am
by SuperSonic
hunter84 wrote:what is it?

It's a 3d game :D
Game A Gogo wrote:wow, this reminds me of something I did loong time ago! (A year?)
if you don't mind I'll post it here since it's essentially the same thing :)
if you want me to take it down, just tell me :D
Perhaps you could find it useful? it probably isn't any help for the FPS is kinda slow xD
Also with the save/load dialog you can change the boxes of color!
Edit: I should add that this is a level editor, so click to add tiles and right click to remove them xD you can also press numbers on the keyboard to place different tiles that was going to be used for something else

Otherwise your work is pretty neatly done I must say!

Wow dude, that is amazing. I gotta take a look at the code :shock:

And thanks :P

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 12:57 am
by Game A Gogo
The drawing functions are in the global code, basically what it does, is draw the front, then the back the same way, but smaller then connects the corners with lines

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 1:03 am
by SuperSonic
Thanks so much man. And +1 :wink:

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 6:05 pm
by jimmynewguy
Gogo, you make a top down shooter with that perspective right now! :) That'd be awesome. Good job to both of you!

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 6:23 pm
by SuperSonic
I thought I'd post the code so that everyone can see it :D
Code: Select all
void MakeLine(int X, int Y, float length)
{
    int xPer = view.x + view.width - X;
    int yPer = view.y + view.height - Y;
    moveto(X, Y);
    lineto(X - (xPer * length), Y - (yPer * length));
}

As you can see, I've added the ability to change the length of the lines. Also, if you are using a negative number for the length, make sure that you don't use anything less than -1 or else the line goes past the vanashing point :wink:

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 6:25 pm
by Hblade
Gag pwns.

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 6:37 pm
by SuperSonic
jimmynewguy wrote:Good job to both of you!

Thanks^^

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 6:49 pm
by lcl
Wow, nice job both of you! :D
Great!

Re: GE Neon (3d demo)

PostPosted: Wed Nov 16, 2011 6:49 pm
by Hblade
^-Agreed