Jump to content
  • 0

Main menu source question


minisoft

Question

So i'm just starting out with C#, pretty inexperienced I must say. I'm trying to replace the background.png file with an animated gif in the source code and json files and I just get a black background, no rendering. I suppose this is because the form background doesent support gifs? Any way around this? 

 

Sorry, I know this is a silly question I am trying to learn more c# so I understand things better

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

MonoGame itself doesn't support gifs. You'd have to get some sort of extension to read your gif, make pngs for each frame (whether it be in memory or on the disk) and then edit the source to rotate between rendering those images at a certain time interval.

Link to comment
Share on other sites

×
×
  • Create New...