Martin's Recent Forum Activity

  • Martin - why dont you repost this in the tutorial section so its easier to find even when this thread ages?

    FYI: A pretty cools software to compose 3D animation and export them as picture sequence can be found here:

    http://www.reallusion.com/iclone/

    I have reposted it in the tutorial section <img src="smileys/smiley1.gif" border="0" align="middle">

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I moved to a better domain, that's why it doesn't work :D

  • Thanks guys! It seems I should study the manual more :D

  • My problem is that I have multiple sprites of the same type and I want to access them from the event sheet. For example I have a 'wall' sprite 4 times in one layer and I want to change the coordinates of the second instance of the wall. Is this possible and how can I do this? Thanks!

  • Thanks a lot, it did the trick! <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Is there a way to get the value of the layer angle? I can't seem to find it anywhere. Thanks

  • I figured that out after I posted the topic, sorry for that :)

  • Since I cannot search for '3D' to see if there are similar topics I decided to write one myself.

    Note that I have been using Construct 2 for less than a week, but have programmed in C++ with Allegro and I hope you won't be mad for my bad English.

    The concept

    As you all know Construct 2 doesn't support 3D models, so the only way to make a game seem like it's 3D is to generate images of 3D objects and use them as sprites.

    Where to start?

    First get some 3D Modeling software (I will be using Google SketchUp because it's free, and it has a warehouse where you can find finished models quickly if you're too lazy to do them yourself)

    I recommend you use the engineering template if you don't want to color your shadows later in Photoshop (they appear green if you use the standard template)

    Creating the sprite

    After you have created or opened your model, choose the angle of your game (platform, top-view etc.) I have created a Watch Tower for a tower defense game I'm doing at the moment.

    To make it more 3D we will add some shadows (Note: shadows are a bit tricky to work with because of the objects that move on them i.e. if you put your hand on light the shadow of the hand that appears on the ground will be bigger than the shadow that appears on a table, for example)

    The shadow properties in Google SketchUp are located under Window>Shadows (Note !important: Remember the date and time of the shadow you're using and use the same settings for all your models!)

    After you have created/selected your model, added shadows, you are ready to export it. Click File>Export>2D Graphic... and save it as .png file.

    The exported image should look something similar to this ...

    Editing in Photoshop

    This is the raw sprite we will be using. Now open a photo editing software (I will be using Photoshop in this tutorial). Select the white area (or like in my case the green because I used the standard template) and press delete. Now we made the area around our sprite transparent. Click Select>Inverse and then crop the image. Now we have just the sprite and it's shadow. What we have to do is make the shadow transparent because shadows are transparent. Select the shadow with the Magic wand tool and press ctrl+shift+j. A new layer is created with only the shadow inside. From the layer tab that should be on the right make the opacity about 35% (I think this is about right). Save the image over the old 'raw' sprite with .png extension.

    The result should be similar to this ...

    Now you can import this sprite in Construct 2 and make great games!

    P.S. Make sure that the shadow is not in the collision detection area (?) because objects cannot collide with shadows . This is easily done in the 'edit animations' menu in Construct 2

    I hope you liked this tutorial, and again sorry for my bad English.

    You can see a live example of the test game at my page.Martin2011-12-22 19:56:23

  • Hello! <img src="smileys/smiley4.gif" border="0" align="middle" />

    I don't have an idea what to write here, so ... hi! <img src="smileys/smiley4.gif" border="0" align="middle" />

Martin's avatar

Martin

Member since 18 Dec, 2011

None one is following Martin yet!

Connect with Martin

Trophy Case

  • 13-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

15/44
How to earn trophies