Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Unsupported features  (Read 5454 times)

0 Members and 1 Guest are viewing this topic.

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Unsupported features
« on: May 21, 2011, 11:23:13 AM »

Hi Mnemonic!

You've done a great work, thanks. But I have a question.

Is this features:
- Sprite frame mirroring.
- Sprite rotations.
will work in future releases of WME Lite?

Regards.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re: Unsupported features
« Reply #1 on: May 21, 2011, 03:41:18 PM »

I know these limitations are annoying, but unfortunately they are inherited from SDL, the portable graphics library WME Lite is using.
While both of these features are easy to achieve on 3D accelerated hardware, SDL keeps compatibility with non-accelerated systems and for that reasons those features were never added.

The mirroring could be faked for the price of keeping multiple copies of the image in memory, but there's no feasible way of providing smooth rotation without hardware support.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Unsupported features
« Reply #2 on: June 09, 2011, 04:43:58 PM »

Hey Mnem, just in case you did not know :

SDL_Gfx includes rotozoom, some stuff for rotating and zooming sprites. I used it a while ago. I don't know if its easy to implement into wme_lite, but maybe worh a look.


http://www.ferzkopp.net/joomla/content/view/19/14/


greets
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re: Unsupported features
« Reply #3 on: June 10, 2011, 03:20:25 PM »

I know about this, thanks. But AFAIK it's not intended for realtime rotations, because it's slow.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Unsupported features
« Reply #4 on: June 13, 2011, 04:31:08 PM »

I know about this, thanks. But AFAIK it's not intended for realtime rotations, because it's slow.

But you can try, what if you mistakes? :)

My another question is about switching of windowed/fullscreen modes inside the game (and saving the choise) in MacOS - is it possible in the future?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re: Unsupported features
« Reply #5 on: June 15, 2011, 04:24:53 PM »

I tried windowed/fullscreen switching on both windows and mac and there results aren't very good, there are often graphical glitches. Not sure whom to blame, whether SDL or drivers.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Unsupported features
« Reply #6 on: June 16, 2011, 02:34:09 PM »

I tried windowed/fullscreen switching on both windows and mac and there results aren't very good, there are often graphical glitches. Not sure whom to blame, whether SDL or drivers.

But can you turn on this feature in the next build with note that we can use it for our own risk?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re: Unsupported features
« Reply #7 on: June 16, 2011, 02:41:56 PM »

It's there actually. Press Alt+Enter to switch between windowed/fullscreen (no script method currently, though).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Unsupported features
« Reply #8 on: July 14, 2011, 11:45:23 AM »

I know about this, thanks. But AFAIK it's not intended for realtime rotations, because it's slow.

But can you add this feature (even if it works very slow) for testing purposes?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re: Unsupported features
« Reply #9 on: July 14, 2011, 12:06:04 PM »

What testing purposes?
I don't think I will add this. It would mean one more external library dependency, plus the way sprite images are handled would have to be changed (currently the rotations are done on-thy-fly, this library would require to generate and cache rotated images). Not worth the hassle, IMO, because in the end it's not going to be usable anyway.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Re: Unsupported features
« Reply #10 on: July 14, 2011, 01:13:54 PM »

OK, thanks anyway.
Another question is about blending mode - now BlendMode = 1 (additive) is not works correctly (probably in particles) - it works such as a normal mode. It can be corrected?
Logged
 

Page created in 0.131 seconds with 23 queries.