SDL

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Mon Dec 17, 2007 8:18 pm

Hello :D

I come with good news.. I've begun preliminarily changing the runtime to work with SDL. It's hard work but I can get some stuff rendering.

I'll post here when I have more information.

PS: For people who do not know about SDL, it would mean the runtime would work on Mac, Linux, Handhelds like GP32X and many other systems.

Tim
B
2
G
5
Posts: 26
Reputation: 1,302

Post » Mon Dec 17, 2007 9:31 pm

That's great :D. I wondered when somebody will do this :P. This will bring in more interested people from the Linux world. And possibly more developers, since there is a lot of coders using Linux.
B
3
S
2
G
5
Posts: 263
Reputation: 2,201

Post » Tue Dec 18, 2007 3:48 am

VERY VERY AWESOME
B
2
G
5
Posts: 34
Reputation: 1,318

Post » Tue Dec 18, 2007 8:56 am

Outstandingness!!
B
2
S
1
G
5
Posts: 70
Reputation: 1,540

Post » Tue Dec 18, 2007 9:04 am

Interesting!
But are you using OpenGL? Otherwise it might be a problem with rotating/scaling/a lot of sprites on the screen, and pixel shaders. :)
B
2
S
1
G
5
Posts: 50
Reputation: 1,500

Post » Tue Dec 18, 2007 11:09 am

[quote="deps":3bhzimc3]Interesting!
But are you using OpenGL? Otherwise it might be a problem with rotating/scaling/a lot of sprites on the screen, and pixel shaders. :)[/quote:3bhzimc3]

Hey,

OpenGL is a future possibility but pixel shaders just won't be viable.. it's a Direct-X technology which has only been recently implemented. However, I am confident scaling and rotations should be workable, and that it will be pretty fast.

Tim
B
2
G
5
Posts: 26
Reputation: 1,302

Post » Tue Dec 18, 2007 3:18 pm

very nice!
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Tue Dec 18, 2007 3:56 pm

I think we all owe timtim a big thanks :)
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Tue Dec 18, 2007 8:03 pm

Thank you for the encouragement everyone :D

I've worked on this for a few hours and thrown together a working runtime.. it's a bit hacked as I had to pull out any of the HLSL stuff, and rewrite alot of runtime drawing functions, but it works.

So far rotations are working and relatively fast, alpha channels working fine, and I can play templates like simple platformer no problem.

The biggest challenge is going to be changing some parts of the runtime for other platforms, I noticed some Windows APIs which might be difficult.

If all goes well I'll put up a preview runtime for people to try and make sure it works for them in the next few days.

Tim
B
2
G
5
Posts: 26
Reputation: 1,302

Post » Tue Dec 18, 2007 9:28 pm

Wow... awesome!

Edit: Doesn't openGL support pixel shaders? So would there be a possibility of them at some point?
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Next

Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests