Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tilengine API questions
#2
Hello and welcome to the forums  Smile

  1. The spriteset memory layout is quite static. It would be easy to implement a method to update the pixels of a pre-allocated spriteset (just as you can do with a tileset), but you won't be able to add, remove or modify the sizes of sprites. You can already do it with tilesets because their layout is fixed. If this feature would be useful, you can open a GitHub issue with the feature request.
  2. Just as in the first question, if this feature would be useful please open another GitHub issue. This feature will only need changes to Window.c, which is open source.
  3. No, at this moment it's not possible. In fact switching windowed/fullscreen mode with Alt+Enter destroys the current window and creates a new one with the requested attributes. The engine and loaded resources keep loaded. It would be possible to implement changing the resolution of the engine, but keep in mind that the display target is independent from the engine itself. You'd be responsible of manually propagating te resolution change to the target display, be it the built-in window, or any surface you attach to it.

Reply


Messages In This Thread
Tilengine API questions - by NeXT - 11-23-2017, 05:34 AM
RE: Tilengine API questions - by megamarc - 11-23-2017, 09:03 AM
RE: Tilengine API questions - by NeXT - 12-04-2017, 07:58 AM
RE: Tilengine API questions - by megamarc - 12-04-2017, 08:44 AM
RE: Tilengine API questions - by NeXT - 12-04-2017, 08:16 PM
RE: Tilengine API questions - by megamarc - 12-04-2017, 10:19 PM
RE: Tilengine API questions - by NeXT - 12-13-2017, 08:26 AM
RE: Tilengine API questions - by megamarc - 12-15-2017, 04:47 AM
RE: Tilengine API questions - by NeXT - 12-17-2017, 05:46 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)