Author Topic: EGSL 2  (Read 3854 times)

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: EGSL 2
« Reply #15 on: 06. November 2013, 20:19:23 »
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
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 2
« Reply #16 on: 06. November 2013, 21:32:42 »
Can't say for now. I am not implementing sound, yet. I will have a look intoto that then.
Best regards,
Cybermonkey

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 2
« Reply #17 on: 09. November 2013, 23:32:57 »
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.
Best regards,
Cybermonkey

GEEK

  • Jr. Member
  • **
  • Posts: 83
  • want to learn c++, if you want to teach me, pm me!
    • View Profile
Re: EGSL 2
« Reply #18 on: 09. November 2013, 23:59:22 »
very nice! (;

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 2
« Reply #19 on: 10. November 2013, 13:04:13 »
Acutually one can do this:
(Will be part of Astrorocks HD  8))
Best regards,
Cybermonkey

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 2
« Reply #20 on: 10. November 2013, 16:43:48 »
Okay, here are the bitmap fonts. Did I mention that I actually love SDL2?
« Last Edit: 10. November 2013, 18:07:34 by Cybermonkey »
Best regards,
Cybermonkey

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 2
« Reply #21 on: 11. November 2013, 14:40:33 »
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).
Best regards,
Cybermonkey

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 2
« Reply #22 on: 12. November 2013, 21:59:57 »
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?
Best regards,
Cybermonkey

Osgeld

  • Newcomer
  • *
  • Posts: 33
    • View Profile
Re: EGSL 2
« Reply #23 on: 14. November 2013, 01:42:25 »
yea I can do a little testing

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 2
« Reply #24 on: 14. November 2013, 10:08:27 »
yea I can do a little testing
Thanks. What system (32 or 64 bit)? What is your native desktop resolution?
Best regards,
Cybermonkey

Tomaaz

  • Guest
Re: EGSL 2
« Reply #25 on: 14. November 2013, 13:57:12 »
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
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 2
« Reply #26 on: 14. November 2013, 22:19:43 »
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.
Best regards,
Cybermonkey

Osgeld

  • Newcomer
  • *
  • Posts: 33
    • View Profile
Re: EGSL 2
« Reply #27 on: 15. November 2013, 02:09:06 »
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: 15. November 2013, 02:10:54 by Osgeld »

Tomaaz

  • Guest
Re: EGSL 2
« Reply #28 on: 15. November 2013, 14:12:16 »
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
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 2
« Reply #29 on: 15. November 2013, 15:02:35 »
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.
Best regards,
Cybermonkey