Jump to content

Recommended Posts

Posted

Can someone please provide guidance on how to use LE 3 to create 2D game. I want to use sprites as the feel should be similar Pokemon.

bool Life()
{
 while(death=false)
 {
   if(death==true)
   return death;
 }
}

 

I have found the secret to infinite life

 

Did I help you out? Like my post!

Posted

Nice gamecreator!

 

@xtrempb LE is missing some handy methods for doing 2D like drawing parts of bigger images and 2D physics. You can either mess directly with OpenGL commands to give such functionality or just use DrawImage() and switch what image to draw (for animated sprites). You can implement simple 2d bounding box collision detection for some physics stuff.

Posted

You don't need to set the camera to orthographic if you are using DrawImage(). This is more to make 3D things look 2D but if he's going true 2D and using DrawImage() then there is no need to do this, as I recall.

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...