Jump to content


Photo
* * * * * 1 votes

Make 2D Topdown Sprite Looks 3D Tutorial UPDATED!


  • Please log in to reply
91 replies to this topic

#61 Fihrilkamal

Fihrilkamal

    GMC Member

  • GMC Member
  • 348 posts

Posted 17 June 2011 - 08:26 PM

You mean the HUD or the 3D effect? it's working for both actually. Both supports view angle varible.
  • 0

#62 Nurfana Ryan D

Nurfana Ryan D

    GMC Member

  • New Member
  • 15 posts

Posted 19 June 2011 - 07:53 AM

downloaded ! hehehe,, :D
  • 0

#63 ihato

ihato

    Destroyed

  • Banned Users
  • 739 posts
  • Version:GM8

Posted 24 June 2011 - 02:32 PM

My anti-virus AVG (Which is already known as its the good anti-virus) tells me that i shouldnt download your example. :mellow:

#64 Fihrilkamal

Fihrilkamal

    GMC Member

  • GMC Member
  • 348 posts

Posted 24 June 2011 - 11:59 PM

I don't know why your AVG alarms. I'm always using Avira anti virus (Which also well known good antivirus) to scan my files before uploading, and theres no problem so far. It might be a false alarm, or something like that, but if you think it's risky, then please don't dowload. And I'm even have two antiviruses in my comp (one is local av) and both is not alarmed when I'm trying downloading this tutorial.
  • 0

#65 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

Posted 26 June 2011 - 03:22 PM

Which is already known as its the good anti-virus

Please tell me your joking.

-MoK
  • 3

#66 Blue Leader

Blue Leader

    GMC Member

  • New Member
  • 467 posts

Posted 03 July 2011 - 01:45 AM

Out of curiosity, does anyone know if there's an example/tutorial of something similar to this for GM7?
  • 0

#67 Fihrilkamal

Fihrilkamal

    GMC Member

  • GMC Member
  • 348 posts

Posted 12 July 2011 - 05:28 PM

Out of curiosity, does anyone know if there's an example/tutorial of something similar to this for GM7?


I don't know, but the concept of this example is very basic, I think it will usable for any version of GM. This is the step by step :
first, create a top down sprite, and it must be separated based on their heights (for example create, a head sprite, then body sprite, and then feet). And then just draw them all together but with different "y" position based on their "heights". This is the script in that example:

/***************************************************
  This script will allow you to draw three layer of
  robot's sprites, PUT THIS IN DRAW EVENT!
  argument0 = Leg (Lowest Part)
  argument1 = Arm (Middle Part)
  argument2 = Body (Highest Part)
  You can always modify this script to fit your needs.
 ***************************************************/
draw_sprite(spr_shadow,0,x,y)
draw_sprite_ext(argument0,image_index,x,y,image_xscale,image_yscale,image_angle,c_gray,image_alpha);// draw first darker layer of the leg
draw_sprite_ext(argument0,image_index,x,y-4,image_xscale,image_yscale,image_angle,c_white,image_alpha);// draw second layer of the leg
draw_sprite_ext(argument1,image_index,x,y-10,image_xscale,image_yscale,image_angle,c_gray,image_alpha);// draw first darker layer of the arm
draw_sprite_ext(argument1,image_index,x,y-14,image_xscale,image_yscale,image_angle,c_white,image_alpha);// draw second layer of the arm
draw_sprite_ext(argument2,image_index,x,y-24,image_xscale,image_yscale,image_angle,c_gray,image_alpha);// draw first darker layer of the body
draw_sprite_ext(argument2,image_index,x,y-30,image_xscale,image_yscale,image_angle,c_white,image_alpha);// draw second layer of the body

Hope it helps :medieval:
  • 0

#68 Brawl

Brawl

    Magnitude Games

  • Retired Staff
  • 478 posts
  • Version:GM:Studio

Posted 12 July 2011 - 06:13 PM

I put on some 3D glasses that I had laying around. That first image really popped off the screen! Well done. =D
  • 0

#69 Fihrilkamal

Fihrilkamal

    GMC Member

  • GMC Member
  • 348 posts

Posted 12 July 2011 - 09:51 PM

Popped off the screen? really? I never intend to make stereoscopic 3D, it just 3D looking 2D sprite. Thank you Brawl.
  • 0

#70 michael pw

michael pw

    GMC Member

  • GMC Member
  • 1488 posts
  • Version:GM8.1

Posted 16 July 2011 - 08:11 AM

Anyone got a link for this?
It looks SWEET!
  • 0

#71 Dark Matter

Dark Matter

    RPG Expert

  • GMC Member
  • 3196 posts
  • Version:GM:Studio

Posted 16 July 2011 - 08:56 AM

I put on some 3D glasses that I had laying around. That first image really popped off the screen! Well done. =D

Yeah, that's not actually how 3D works. You can't just put on 3D glasses and see stuff in 3D...
  • 1

#72 Fihrilkamal

Fihrilkamal

    GMC Member

  • GMC Member
  • 348 posts

Posted 28 July 2011 - 11:20 PM

Anyone got a link for this?
It looks SWEET!


Did you see a link in the first page? :blink:
  • 0

#73 Aertcz

Aertcz

    Aleksander

  • GMC Member
  • 1659 posts

Posted 01 August 2011 - 07:43 AM

I love you Fihrilkamal. Honestly. I love you.
  • 1

#74 Fihrilkamal

Fihrilkamal

    GMC Member

  • GMC Member
  • 348 posts

Posted 02 August 2011 - 07:22 PM

I love you Fihrilkamal. Honestly. I love you.

I love you too :snitch:
  • 0

#75 jofoxx

jofoxx

    GMC Member

  • New Member
  • 1 posts

Posted 07 September 2011 - 12:09 PM

Really thanks just what i need i thought of it to but i doesnt know how to program this so really thanks :biggrin:

Edited by jofoxx, 07 September 2011 - 12:09 PM.

  • 0

#76 decemer

decemer

    GMC Member

  • GMC Member
  • 70 posts

Posted 08 September 2011 - 02:48 PM

[quote name='Fihrilkamal' date='17 March 2011 - 06:11 AM' timestamp='1300313468' post='3717784']
[list]
[*]Title: How to make 2D Topdown Sprite Looks 3D Tutorial

nice,but what about 3d scene?
can scene 3d perfect?
  • 0

#77 Catalyst_101

Catalyst_101

    GMC Member

  • GMC Member
  • 45 posts
  • Version:GM:Studio

Posted 09 September 2011 - 09:22 AM

Here's an exxample to draw 3D looking walls. Thanks man this tutorial has inspired me to make a game :biggrin:

example

just change the depth of the walls to -2900000 in the above example.

Edited by Catalyst_101, 11 September 2011 - 04:18 PM.

  • 0

#78 creepers9164

creepers9164

    GMC Member

  • GMC Member
  • 72 posts
  • Version:GM8

Posted 16 October 2011 - 06:14 PM

This is brilliant! Bravo.
  • 0

#79 RowanFN

RowanFN

    Mr. Awesome

  • GMC Member
  • 1480 posts

Posted 17 October 2011 - 12:23 AM

Here's an exxample to draw 3D looking walls. Thanks man this tutorial has inspired me to make a game :biggrin:

example

just change the depth of the walls to -2900000 in the above example.


Thats cool but you need to work on the corners and getting the mans angle right for the walls, as a far away view looks ok but when the character is close to the wall the angles in the wall and the man are out of per-portion
  • 0

#80 jon sploder

jon sploder

    GMC Member

  • GMC Member
  • 858 posts

Posted 22 October 2011 - 11:47 AM

Very simple and a good alternative to having to bother to learn GMs 'real' 3d if not much is required for the project. Really nice sprites too!
  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users