Author Topic: EGSL 2  (Read 10437 times)

GEEK

  • Guest
Re: EGSL 2
« Reply #15 on: November 06, 2013, 07:19:23 PM »
is there a possibility that you can make a function or something in EGSL2
for seeing when a sound is stopped playing?
you can do nice things with a function like that (:

grts, Tom!

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: EGSL 2
« Reply #16 on: November 06, 2013, 08:32:42 PM »
Can't say for now. I am not implementing sound, yet. I will have a look intoto that then.

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: EGSL 2
« Reply #17 on: November 09, 2013, 10:32:57 PM »
Just playing a bit with the new particles engine. It's still rather simple but more advanced than the old one. (Did I mention that PNGs keep their transparency?  ;))
So this weekend I hope to implement bitmap fonts, sprite animations and the particle system. Then the Lua bindings will start.

GEEK

  • Guest
Re: EGSL 2
« Reply #18 on: November 09, 2013, 10:59:22 PM »
very nice! (;

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: EGSL 2
« Reply #19 on: November 10, 2013, 12:04:13 PM »
Acutually one can do this:
(Will be part of Astrorocks HD  8))

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: EGSL 2
« Reply #20 on: November 10, 2013, 03:43:48 PM »
Okay, here are the bitmap fonts. Did I mention that I actually love SDL2?
« Last Edit: November 10, 2013, 05:07:34 PM by Cybermonkey »

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: EGSL 2
« Reply #21 on: November 11, 2013, 01:40:33 PM »
Now try that parallax demo. It goes fullscreen with a 1024 x 768 virtual size whether your desktop has greater resolution or not.
All files are taken from: http://smartmobilestudio.com/Smartdemo/Spartacus/index.html
(I tried to imitate as equal as possible).

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: EGSL 2
« Reply #22 on: November 12, 2013, 08:59:57 PM »
Okay, I just detected something weird. I installed for testing and compiling a 32bit Xubuntu 13.10. One thing what is pleasant is that the SDL2 libs are now in the repository. One not so pleasant thing is that fullscreen mode does not work as expected. Starting a program in windowed mode and going to fullscreen results in a crash. The only thing that works is this (an example):
Code: [Select]
win:=openwindow ('Parallax',-1,-1,0,0);
setvirtualsize (1920,1080);
togglefullscreen;
This sets the width and height to 0 and toggles to the fullscreen with the current desktop resolution. You can set however the virtual resolution like you want (e.g. 1024 x 768). But it is not possible to toggle to windowed mode because the window is set to 0 x 0. A work around could be to use two windows and if the user wants to leave the fullscreen mode to show the second window.
I have to check this with other 32bit Linux distros (or is it because of XFCE?) On my 64bit Kubuntu everything works as expected ...
Anyone willing to test Linux binaries?

Osgeld

  • Guest
Re: EGSL 2
« Reply #23 on: November 14, 2013, 12:42:25 AM »
yea I can do a little testing

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: EGSL 2
« Reply #24 on: November 14, 2013, 09:08:27 AM »
yea I can do a little testing
Thanks. What system (32 or 64 bit)? What is your native desktop resolution?

Tomaaz

  • Guest
Re: EGSL 2
« Reply #25 on: November 14, 2013, 12:57:12 PM »
I can help, too. Mint 13 (based on Ubuntu 12.04 LTS) 32bit with LXDE and Mate. I was also using EGSL 1.6 on Puppy Linux, so I can try with a new version, as well. Desktop resolutions: 1366x768 and 1024x768.

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: EGSL 2
« Reply #26 on: November 14, 2013, 09:19:43 PM »
Okay, then please install SDL 2.0.0 or SDL 2.0.1 and SDL2_image. All binaries are included into the attachment. They are named with the resolution. Having a _0x0 added means that the resolution of the window starts with 0x0 otherwise with the appr. resolution. All binaries are 32 bit and compiled on Xubuntu 13.10.

Osgeld

  • Guest
Re: EGSL 2
« Reply #27 on: November 15, 2013, 01:09:06 AM »
yea I can do a little testing
Thanks. What system (32 or 64 bit)? What is your native desktop resolution?

I have xubuntu 12 x32 at 1024x768 and fedora x64 at 1280x1024, I could also boot a cd on my work laptop wihch is 1366x768
« Last Edit: November 15, 2013, 01:10:54 AM by Osgeld »

Tomaaz

  • Guest
Re: EGSL 2
« Reply #28 on: November 15, 2013, 01:12:16 PM »
Sorry, can't do this. I have problem with SDL2_image. To many dependencies are missing on 12.04. At the moment this is the most recent LTS version (with support lasting till 2017), so probably it is a bit to early for EGSL2 for Linux (or is it Mint issue only?).

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: EGSL 2
« Reply #29 on: November 15, 2013, 02:02:35 PM »
Why not compiling from source? I compiled all SDL2 libs on Kubuntu 12.10 from source. (If it works on 12.10 it might work on 12.04, too). The 13.10 comes with SDL2 in repository. I know it's not a LTS but gamers are adviced to use the newest distro because of the graphics cards drivers. And EGSL2 needs hardware accelerated graphics. If you have an Intel based graphics card, 12.04 might not be recommended because for e.g. Steam:
Quote
For Ubuntu 12.04 LTS, you'll need to update your mesa stack using the x-updates PPA.