Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drawing a background of tiles
#10
It wasn't nearly as hard as I had thought it would be. And you do put a sizable number of comments in your code, which makes it a bit easier to follow. Also, Unity has supported the importing and use of third-party pre-compiled libraries for a while, and there are a sizable number of tutorials for doing that, even if they aren't specific to Tilengine.

I might give compiling Tilengine for iOS a try, I keep a Mac Mini around for iOS and Mac development. Ideally, it would be great to cook up a Swift 4 binding, but I shouldn't get ahead of myself. But it will have to wait until a little later in the year. I'm very busy with some home repairs, and a trip coming up, and of course the holiday season is fast approaching. I was able to sort out exporting 8-bit pngs from GIMP properly, so my asset pipeline for Tilengine has firmed up. And I've played around with dynamic palette generation and assignment, which has been going very well.

Also, the C# binding I was using didn't actually have an UpdateFrame function. But I've learned enough that I was able to add one, and took your suggestion about using that function instead of a for loop in the Update function. It worked great. I might look into using the separate thread approach to getting a Tilengine context when running the engine in the Unity Editor environment. I think that might help with a few of the issues I was running into.
Reply


Messages In This Thread
Drawing a background of tiles - by Domarius - 10-02-2018, 10:14 PM
RE: Drawing a background of tiles - by megamarc - 10-08-2018, 06:58 AM
RE: Drawing a background of tiles - by Domarius - 10-08-2018, 01:49 PM
RE: Drawing a background of tiles - by megamarc - 10-08-2018, 05:52 PM
RE: Drawing a background of tiles - by Domarius - 10-10-2018, 01:40 PM
RE: Drawing a background of tiles - by megamarc - 10-24-2018, 05:05 PM
RE: Drawing a background of tiles - by Domarius - 10-30-2018, 03:50 PM
RE: Drawing a background of tiles - by megamarc - 10-31-2018, 04:36 AM
RE: Drawing a background of tiles - by Richard Kain - 11-01-2018, 03:38 AM
RE: Drawing a background of tiles - by Domarius - 11-02-2018, 11:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)