Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Superimposed image on a sprite sheet
Started by fferraro67 Oct 07 2018 03:36 AM

2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

fferraro67

[GLOBAL: userInfoPane.html]
fferraro67
  • Contributor

  • 240 posts
  • Corona SDK

My question is simple: can you play a sprite sheet with another image above, superimposing yourself somewhere in the video?



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,363 posts
  • Corona SDK

Sprites are display objects.  They are are not videos and not native.* objects.

 

You can layer display objects over display objects, so you are are fine.  "Yes, you can layer other display objects over an animating sprite."

 

On the other hand if you're asking, "Can I put a sprite over a (native.*) video?", then the answer is, "No."

 

 

PS -  You used the term  'sprite sheet' in the question title and I'm not sure why.  A sprite sheet is not displayed.  It is used to create other display objects.  You cannot manipulate a sprite sheet if that is what you are actually asking. 



[TOPIC: post.html]
#3

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,363 posts
  • Corona SDK

Here are a number of things you can do.

 

https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2018/10/maskingSprites.zip

 

 

 

I wasn't really sure what you were going after so I tried multiple masking, layering, and blending choices.  There are more than this, but its a start.

 




[topic_controls]
[/topic_controls]