About Store Forum Documentation Contact
Donations:
327$/mo



Post Reply 
Generating 2d game shadows - drawing in texture coords?
Author Message
arturooo3 Offline
Member

Post: #1
Generating 2d game shadows - drawing in texture coords?
Hi, for fun I'm creating simple 2d tile game, using DrawPart for most operations, it works fine but promblem occurs when I try to generate simple shadow from a tile.

Attachment exactly shows what I have (upper tile) and what I need - "trapezoidal" tile, which function should I use? Is there any Image function I can use to set xs and ys for every corner?

I really appreciate any help!


Attached File(s) Image(s)
   
11-11-2012 08:10 PM
Find all posts by this user Quote this message in a reply
Post Reply