sdljava-users Mailing List for Java Binding for SDL (Page 2)
Status: Beta
Brought to you by:
ivan_ganza
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(43) |
Feb
(50) |
Mar
(44) |
Apr
(14) |
May
(18) |
Jun
(7) |
Jul
(26) |
Aug
(29) |
Sep
(28) |
Oct
(10) |
Nov
(5) |
Dec
(7) |
2006 |
Jan
(2) |
Feb
(9) |
Mar
(16) |
Apr
(1) |
May
(11) |
Jun
(8) |
Jul
(8) |
Aug
(5) |
Sep
(15) |
Oct
|
Nov
|
Dec
(2) |
2007 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
(2) |
May
(2) |
Jun
(4) |
Jul
(1) |
Aug
(14) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
(3) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
(5) |
Mar
|
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2013 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2016 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Ivan Z. G. <iva...@gm...> - 2009-02-15 22:28:40
|
Thanks for finding this. I'm not in a position where I'm working on SDL java at this momeent. But I plan to get my development system up and running again. At that point I'll merge your changes. Cheers, -Ivan/ On Wed, Jan 21, 2009 at 3:09 PM, David <dr...@gm...> wrote: > I had to make a minor correction to the register method (around line 108): > > // original version: if (SDLEvent.class.isAssignableFrom(eventType)) > return false; > if (!SDLEvent.class.isAssignableFrom(eventType)) return false; > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > -- -Ivan/ |
From: David <dr...@gm...> - 2009-01-21 20:09:53
|
I had to make a minor correction to the register method (around line 108): // original version: if (SDLEvent.class.isAssignableFrom(eventType)) return false; if (!SDLEvent.class.isAssignableFrom(eventType)) return false; |
From: Craftkiller <cra...@gm...> - 2008-12-30 02:26:50
|
When I run my program in Eclipse, it runs fine, but if I export it to an executable JAR then the program crashes. Commenting out lines in my code I narrowed down the problem to SDLTTF... anyone have any ideas? |
From: Toni P. <teh...@go...> - 2008-11-23 09:57:39
|
I'm trying to run my project with the following code: public class HelloSDL { static { System.loadLibrary("SDL"); System.loadLibrary("SDLJava"); } public static void main( String[] args ) { try { SDLSurface screen = SDLVideo.setVideoMode(640,480,0,1); } catch (SDLException e) { e.printStackTrace(); } } } First, he couldn't load the library and dependent libraries, but it works now ... But If I run the code, an error occurs: Exception in thread "main" java.lang.UnsatisfiedLinkError: sdljava.x.swig.SWIG_SDLVideoJNI.SDL_SetVideoMode(IIIJ)J at sdljava.x.swig.SWIG_SDLVideoJNI.SDL_SetVideoMode(Native Method) at sdljava.x.swig.SWIG_SDLVideo.SDL_SetVideoMode(SWIG_SDLVideo.java:38) at sdljava.video.SDLVideo.setVideoMode(SDLVideo.java:332) at HelloSDL.main(HelloSDL.java:14) Why is this? Thanks for any help. |
From: Matthew G. <mat...@gm...> - 2008-11-19 17:45:50
|
Hello all I'd like to write an SDL app in java which has does some small amount of audio synthesis. For my basic example, I'd like to generate a continuous sine wave, and I'd like the pitch to be controlled by some user interaction (mouse position or something). I have no problem generating the wave data, making an array of sample points etc, but how can I feed that data to the soundcard? Hope you can help! Matthew |
From: Ivan Z. G. <iva...@gm...> - 2008-11-11 15:11:17
|
Greetings, I'm still here but I'm not really doing any further work on sdljava. Unfortunately I can't really give you any advice on OSX as I've never tried to use sdljava on OSX. If you do figure out the problem post back so we can archive it. Cheers, -Ivan/ On Mon, Sep 15, 2008 at 4:11 AM, Seebauer Markus OSF sIT < Mar...@s-...> wrote: > > Hi! > > First of all, I'm new to this list and want to say hello to everybody! > > Second, I'm not sure, whether this mailing list is still active and Ivan > still keeps an eye on sdljava. > (Please let me know, if sdljava isnt maintained any longer :) > > > My question is about sdljava and Mac OS X (10.5 Leopard)... > > I had no problems getting sdljava and sdl working on my Windows machine. > However, on Mac OS X things look different: > > I compiled and installed SDL 1.2.13, which puts its libs to /usr/local/bin. > and run the SDL test programs (testsprite, loopwave) afterwards to verify, > that the installation succeeded. > > > Unfortunately, after unzipping sdljava I was not able to run the > sdljava-version "testsprite.sh" because of an > UnsatisfiedLinkError - sdljava does not seem to find the SDL libs on my > system, although java.library.path was set correctly. > > (As I said before, the same thing on my emulated Windows (Parallels) works > fine.) > > > So I'm trying to find anyone, who was able to get sdljava working on Mac OS > X ... > > I would appreciate any help, > thanks in advance > and greetings from Vienna > > Max > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > -- -Ivan/ |
From: Samuel S. <sam...@ya...> - 2008-10-15 18:44:17
|
Hello! I'm new to sdljava and just want to say that I was really happy to find it. Thanks! Anyway, I'm writing a program http://jojsticken.sourceforge.net which is a rewrite of my other project http://rejoystick.sourceforge.net which is written in c using sdl. I followed the tutorial "How to setup eclipse on windows" and used that to get sdljava working in Debian GNU/Linux. Nice! But now I want to make a jar file for my users which they should be able to run like $ java -jar jojsticken.jar Is there a good way to include sdljava (including native code and all that stuff) in a jar file? The ultimate solution would be to include sdl as well. But if not, how should I go about to get it working on another machine without the help of eclipse? Thanks! Cheers, Samuel __________________________________________________________ Ta semester! - sök efter resor hos Kelkoo. Jämför pris på flygbiljetter och hotellrum här: http://www.kelkoo.se/c-169901-resor-biljetter.html?partnerId=96914052 |
From: Seebauer M. O. s. <Mar...@s-...> - 2008-09-15 09:11:56
|
Hi! First of all, I'm new to this list and want to say hello to everybody! Second, I'm not sure, whether this mailing list is still active and Ivan still keeps an eye on sdljava. (Please let me know, if sdljava isnt maintained any longer :) My question is about sdljava and Mac OS X (10.5 Leopard)... I had no problems getting sdljava and sdl working on my Windows machine. However, on Mac OS X things look different: I compiled and installed SDL 1.2.13, which puts its libs to /usr/local/bin. and run the SDL test programs (testsprite, loopwave) afterwards to verify, that the installation succeeded. Unfortunately, after unzipping sdljava I was not able to run the sdljava-version "testsprite.sh" because of an UnsatisfiedLinkError - sdljava does not seem to find the SDL libs on my system, although java.library.path was set correctly. (As I said before, the same thing on my emulated Windows (Parallels) works fine.) So I'm trying to find anyone, who was able to get sdljava working on Mac OS X ... I would appreciate any help, thanks in advance and greetings from Vienna Max |
From: Ivan Z. G. <iva...@gm...> - 2007-10-14 22:40:40
|
Have you built the libgljava yourself? Regardless I think it should load the version of the shared library found by the dynamic linker -- but you might want to try building it yourself. In the java code we simply say System.loadLibrary("gljava") and libgljava is build with -lGLEW Let me know if that helps, -Ivan/ On 10/14/07, Andrew Wiley <ar...@gm...> wrote: > > I have been trying to get sdljava working today (I have been planning to > use it in a project), and I hit a major snag. > It is most easily illustrated by showing what happens when I try to run > the space-invaders test script (or any script that uses GL): > [arew264@Lagbox bin]$ ./space-invaders.sh > ******** Reading classes from sdljava.jar > Native code library failed to load. > java.lang.UnsatisfiedLinkError: /home/arew264/workspace/sdljava-0.9.1/lib/libgljava.so: > libGLEW.so.2: cannot open shared object file: No such file or directory > > Everything else seems to work without a problem, but for some reason it is > trying to load that library. As the latest version of libGLEW is 1.4.0 , > I'm not sure why it would try to load version 2. It should be trying to load > libGLEW.so.1.3.1 according to your website. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: Andrew W. <ar...@gm...> - 2007-10-14 18:47:47
|
I have been trying to get sdljava working today (I have been planning to use it in a project), and I hit a major snag. It is most easily illustrated by showing what happens when I try to run the space-invaders test script (or any script that uses GL): [arew264@Lagbox bin]$ ./space-invaders.sh ******** Reading classes from sdljava.jar Native code library failed to load. java.lang.UnsatisfiedLinkError: /home/arew264/workspace/sdljava-0.9.1/lib/libgljava.so: libGLEW.so.2: cannot open shared object file: No such file or directory Everything else seems to work without a problem, but for some reason it is trying to load that library. As the latest version of libGLEW is 1.4.0, I'm not sure why it would try to load version 2. It should be trying to load libGLEW.so.1.3.1 according to your website. |
From: Garry D. <gar...@gm...> - 2007-08-27 16:17:18
|
the problem was solved ;). it was between the chair and the PC display hehehehe:) 2007/8/20, Garry Dias <gar...@gm...>: > > Hi.. I need to use the SDLTTF resources but an exception is returned. The > exception explain that SDLJava_ttf.dll and its dependences libraries wasn= 't > found. > Is lacking some dll in my project directory? > I'm using all theses dlls in my project: > - ftgl_dynamic_MTD.dll > - ftgljava.dll > - glew32.dll > - gljava.dll > - SDLJava.dll > - SDLJava_gfx.dll > - SDLJava_image.dll > - SDLJava_mixer.dll > - SDLJava_ttf.dll > > > 2007/8/6, sdl...@li... <sdljava-users-requ= es...@li... > >: > > > > Send sdljava-users mailing list submissions to > > sdl...@li... > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > or, via email, send a message with subject or body 'help' to > > sdl...@li... > > > > You can reach the person managing the list at > > sdl...@li... > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of sdljava-users digest..." > > > > > > Today's Topics: > > > > 1. Re: joystick events without framebuffer? (Ivan Ganza) > > 2. Help with netbeans (Daniel M) > > 3. Game using SDLJava (Yoann Mercier) > > 4. Re: sdljava-users Digest, Vol 6, Issue 3 (Garry Dias) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Fri, 3 Aug 2007 12:23:23 -0400 > > From: "Ivan Ganza" <iva...@ya... > > > Subject: Re: [sdljava-users] joystick events without framebuffer? > > To: "Discussion for users of sdljava" > > <sdl...@li... > > > Message-ID: > > <818...@ma...> > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > Greetings, > > > > I think you should be able to but I haven't verified this. > > > > What you want to do is call SDL_INIT with only SDL_INIT_JOYSTICK. > > > > Have a look here: > > http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fInit > > > > Have not tried this myself though. Let me know if it works. I'm not > > sure > > if you are supposed to be able to do this -- but I don't see > > why not. If > > you are able to make it work with a simple C program then it should als= o > > be > > possible from sdljava. If it works from C but not sdljava then we nee= d > > to > > fix sdljava so it works. > > > > -Ivan/ > > > > On 7/30/07, C W < wa...@ya...> wrote: > > > > > > Greetings, > > > I just started trying to use sdljava, and I am interested in the > > > joystick interface. The test code SDLJoystickTest.java works fine, bu= t > > I'd > > > like to know if I can interface with a joystick without setting up a > > > framebuffer. > > > > > > If I comment out the lines associated with the framebuffer variable= , > > > then I get an SDLException when SDLEvent.waitEvent() is called. Is > > this > > > the expected behavior? If so, is there a way I can use the joystick > > > interface and events without having the framebuffer. > > > > > > Thanks, > > > Chris > > > > > > ------------------------------ > > > Boardwalk for $500? In 2007? Ha! > > > Play Monopoly Here and Now<http://us.rd.yahoo.com/evt=3D48223/*http:/= /get.games.yahoo.com/proddesc?gamekey=3Dmonopolyherenow>(it's > > updated for today's economy) at Yahoo! Games. > > > > > > > > > > > -----------------------------------------------------------------------= -- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > sdljava-users mailing list > > > sdl...@li... > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > > > ------------------------------ > > > > Message: 2 > > Date: Sat, 4 Aug 2007 18:08:13 -0300 > > From: "Daniel M" <rs....@gm...> > > Subject: [sdljava-users] Help with netbeans > > To: sdl...@li... > > Message-ID: > > <b5b...@ma... > > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > Hi, i am learning Java and was looking for a easy way to use SDL on it > > so > > here I am. > > I had some dificult and was wondering about a Netbeans packet/module, i= f > > it > > is possible to do, can anyone do this? > > (Maybe put on the site for download) > > > > Sorry for any english's mistake. > > Thx. > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > > > ------------------------------ > > > > Message: 3 > > Date: Sun, 5 Aug 2007 13:38:36 +0200 > > From: Yoann Mercier <yoa...@et...> > > Subject: [sdljava-users] Game using SDLJava > > To: sdl...@li... > > Message-ID: <200...@ma... > > > Content-Type: text/plain; charset=3DISO-8859-1; DelSp=3D"Yes"= ; > > format=3D"flowed" > > > > Hi everyone, > > > > I'm a french postgraduate student in computer science applied to > > management and I've learned a few things about programming during colle= ge. > > > > Few months ago, I was playing Bomberman 5 on the SNES and I thought > > about making my own game. I had already heard about another project (le= d by > > another french guy) around Bomberman : > > http://fury94.free.fr/ > > This guy used C++ and SDL to do it. > > > > I'm gonna explaining it quickly : > > Here is a website I made to present my project (and the SNES game) in > > French. > > http://superbomberman5.free.fr > > > > I used Java, SDLJava (thank you) and FMODJava to do this game. A demo i= s > > available on the website : http://superbomberman5.free.fr/Bomberman.rar > > You need Windows and JRE 1.6.0 to make it run. > > On my pc , the game runs at +60fps but if you don't have a great cpu it > > can be slow. I guess it may come from both my way of programming and th= e > > SDLJava (no offense). > > > > Any opinion would be good, i'm open to critics and reviews. > > You can reach me on the Contact page of the site (Name/Subject/Message) > > or here of course. > > > > Thanks. > > > > > > > > > > ------------------------------ > > > > Message: 4 > > Date: Mon, 6 Aug 2007 13:15:37 -0300 > > From: "Garry Dias" <gar...@gm...> > > Subject: Re: [sdljava-users] sdljava-users Digest, Vol 6, Issue 3 > > To: sdl...@li... > > Message-ID: > > <a6c...@ma... > > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > hi... which method can I use to update the screen and clear the scene > > during > > an animation? SDLSurface.blit() and SDLSurface.updateRect() don?t do > > that. > > The result is a track of my main surface when I move it by keyboard > > event. > > > > > > hi... which method can I use to update the screen and clear the scene > > during > > an animation? SDLSurface.blit() and SDLSurface.updateRect () don?t do > > that. > > The result is a track of my main surface when I move it by keyboard > > event. > > > > > > > > my main loop code : > > > > > > > > private void mainLoop() { > > > > while(true){ > > > > try { > > > > mainsurface.checkEvent (SDLEvent.pollEvent()); > > > > mainsurface.blitSurface(screen); > > > > screen.flip(); > > > > } > > > > catch (SDLException e) { > > > > e.printStackTrace(); > > > > } > > > > > > > > } > > > > > > > > } > > > > > > 2007/8/3, sdl...@li... < > > sdl...@li... >: > > > > > > Send sdljava-users mailing list submissions to > > > sdl...@li... > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > or, via email, send a message with subject or body 'help' to > > > sdl...@li... > > > > > > You can reach the person managing the list at > > > sdl...@li... > > > > > > When replying, please edit your Subject line so it is more specific > > > than "Re: Contents of sdljava-users digest..." > > > > > > > > > Today's Topics: > > > > > > 1. Re: sdljava-users Digest, Vol 6, Issue 1 (Ivan Ganza) > > > > > > > > > ---------------------------------------------------------------------= - > > > > > > Message: 1 > > > Date: Fri, 3 Aug 2007 12:21:40 -0400 > > > From: "Ivan Ganza" <iva...@ya...> > > > Subject: Re: [sdljava-users] sdljava-users Digest, Vol 6, Issue 1 > > > To: "Discussion for users of sdljava" > > > <sdl...@li...> > > > Message-ID: > > > < 818...@ma...> > > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > > > Download any of the source releases (non-binary) and the sources are > > > included. > > > > > > Or just get the sources from CVS. > > > > > > -Ivan/ > > > > > > On 8/3/07, Garry Dias <gar...@gm...> wrote: > > > > > > > > Hi all > > > > > > > > Where can I find the released sdljava source codes??? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2007/8/2, sdl...@li... < > > > sdl...@li... > > > > >: > > > > > > > > > > Send sdljava-users mailing list submissions to > > > > > sdl...@li... > > > > > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-user= s > > > > > or, via email, send a message with subject or body 'help' to > > > > > sdl...@li... > > > > > > > > > > You can reach the person managing the list at > > > > > sdl...@li... > > > > > > > > > > When replying, please edit your Subject line so it is more > > specific > > > > > than "Re: Contents of sdljava-users digest..." > > > > > > > > > > > > > > > Today's Topics: > > > > > > > > > > 1. Re: (no subject) (Ivan Z. Ganza) > > > > > 2. java3d and vecmath licensed as free software (Robert > > Schuster) > > > > > 3. Re: java3d and vecmath licensed as free software (Robert > > > Schuster) > > > > > 4. Re: java3d and vecmath licensed as free software (Ivan Z. > > Ganza) > > > > > 5. OT: Invitation to participate in research project (Ben Alex) > > > > > 6. joystick events without framebuffer? (C W) > > > > > 7. Re: joystick events without framebuffer? (Ivan Z. Ganza) > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > > > > > > > Message: 1 > > > > > Date: Sun, 27 May 2007 18:43:58 -0400 > > > > > From: "Ivan Z. Ganza" <iva...@ya... > > > > > > Subject: Re: [sdljava-users] (no subject) > > > > > To: Discussion for users of sdljava > > > > > < sdl...@li... > > > > > > Message-ID: < 465...@ya...> > > > > > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > > > > > > > > > Hi Thomas, > > > > > > > > > > I see the problem. The culprit is the code in SDLSurface.java : > > > > > > > > > > public int blitSurface(SDLRect src, SDLSurface dstSurface, SDLRec= t > > > > > dst) > > > > > throws SDLException { > > > > > if(src =3D=3D null) { > > > > > src =3D new SDLRect(0, 0, getWidth(), getHeight()); > > > > > } > > > > > if (dst =3D=3D null) { > > > > > dst =3D new SDLRect(0, 0, -1, -1); > > > > > } > > > > > return SWIG_SDLVideo.SWIG_SDL_BlitSurface_FAST(swigSurface, > > > > > src.getX(), > > > > > src.getY(), > > > > > src.getWidth(), > > > > > src.getHeight(), > > > > > dstSurface.getSwigSurface(), > > > > > dst.getX(), > > > > > dst.getY(), > > > > > dst.getWidth(), > > > > > dst.getHeight() > > > > > ); > > > > > } > > > > > > > > > > As you can see in the code I'm unwrapping the Rect, for speed, an= d > > > only > > > > > passing the values -- after the call there is only a status of th= e > > > > > blit > > > > > returned so SDLJava has no knowledge about updating the positions > > in > > > the > > > > > > > > > > rect that you passed in the call. > > > > > > > > > > Hrrmmm....I have to admit I did not consider your > > scenerio. However I > > > > > do think we need to support it. If the original SDL works that > > way, > > > we > > > > > should be doing the same thing in the java world. > > > > > > > > > > Its not clear to me how this can be done while still being > > fast. If > > > we > > > > > want to update the rect passed intot the java call, the rect has > > to be > > > > > passed to the C code, _by value_, and then it will be updated in = C > > and > > > > > passed back again to java by value once again. This won't be > > very > > > > > efficient. I could be wrong but right now I am fairly sure it > > will > > > all > > > > > by pass by value in this case. > > > > > > > > > > If I can figure out a way to fix this and still be efficient I > > will > > > get > > > > > the code in within a week or two. Not sure if you have the time > > but > > > > > feel free to dig into the code if you wish....I'm happy to accept > > > > > contributions. > > > > > > > > > > Cheers, > > > > > -Ivan/ > > > > > > > > > > > > > > > > > > > > > > > > > Thomas Beck wrote: > > > > > > > > > > >Hi @all! > > > > > > > > > > > >My name is Thomas, I'm a german software engeneer and I've got a > > > > > problem with sdljava.I didn't get solved by extensively searching > > the > > > > > web. > > > > > > > > > > > >Question: > > > > > >Why is it not allowed to blit a surface onto another ( > > > > > surface.blitsurface(SrcRect,screen,DestRect)by giving the > > rectangle > > > > > negative values. For example: my Position on the main-surface > > where to > > > blit > > > > > is DestRect.x=3D-200; DestRect.y=3D-10; DestRect.w=3D100;DestRect= .h=3D100 > > > > > > > > > > > >I read in the sdljava-doc that if the blitting succeeds the > > blitted > > > > > coordinates are written back to the DestRect. When I do the blit, > > my > > > > > DestRect.x is at -200 so I would think that the blitting was done > > > > > without any errors - but the blitting was done on (0|0) - no > > matter > > > what > > > > > negative values I choose...it's erverytime on (0|0) > > > > > > > > > > > >This blitting with negative values is very important for > > scrolling > > > and > > > > > is no problem in the c++ binding or the sdl.net binding..so is > > there a > > > > > cause to do so? Or is it a bug (and if so.. will it be fixed) > > > > > > > > > > > >Greetings to all of you, Thomas > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > Message: 2 > > > > > Date: Wed, 13 Jun 2007 17:39:38 +0200 > > > > > From: Robert Schuster <the...@gm...> > > > > > Subject: [sdljava-users] java3d and vecmath licensed as free > > software > > > > > To: sdl...@li... > > > > > Message-ID: < 467...@gm...> > > > > > Content-Type: text/plain; charset=3D"iso-8859-15" > > > > > > > > > > hi, > > > > > unbelievable but true: java3d as well as the vecmath package are > > now > > > > > licensed under the gpl + linking exception (what gnu classpath & > > > openjdk > > > > > > > > > > uses). > > > > > > > > > > now the vecmath in sdljava can be replaced with that. > > > > > > > > > > regards > > > > > robert > > > > > > > > > > -------------- next part -------------- > > > > > A non-text attachment was scrubbed... > > > > > Name: signature.asc > > > > > Type: application/pgp-signature > > > > > Size: 252 bytes > > > > > Desc: OpenPGP digital signature > > > > > > > > > > ------------------------------ > > > > > > > > > > Message: 3 > > > > > Date: Wed, 13 Jun 2007 18:08:54 +0200 > > > > > From: Robert Schuster < the...@gm...> > > > > > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > > > > > software > > > > > To: Discussion for users of sdljava > > > > > < sdl...@li...> > > > > > Message-ID: < 467...@gm...> > > > > > Content-Type: text/plain; charset=3D"iso-8859-15" > > > > > > > > > > and here is the link > > > > > > > > > > http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > > > > > > > > > regards > > > > > robert > > > > > > > > > > Robert Schuster schrieb: > > > > > > hi, > > > > > > unbelievable but true: java3d as well as the vecmath package ar= e > > now > > > > > > licensed under the gpl + linking exception (what gnu classpath = & > > > > > openjdk > > > > > > uses). > > > > > > > > > > > > now the vecmath in sdljava can be replaced with that. > > > > > > > > > > > > regards > > > > > > robert > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -----------------------------------------------------------------------= - > > > > > > > > > > > > > > > > > > > > > > -----------------------------------------------------------------------= -- > > > > > > This SF.net email is sponsored by DB2 Express > > > > > > Download DB2 Express C - the FREE version of DB2 express and > > take > > > > > > control of your XML. No limits. Just data. Click to get it now. > > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > -----------------------------------------------------------------------= - > > > > > > > > > > > > _______________________________________________ > > > > > > sdljava-users mailing list > > > > > > sdl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > -------------- next part -------------- > > > > > A non-text attachment was scrubbed... > > > > > Name: signature.asc > > > > > Type: application/pgp-signature > > > > > Size: 252 bytes > > > > > Desc: OpenPGP digital signature > > > > > > > > > > ------------------------------ > > > > > > > > > > Message: 4 > > > > > Date: Wed, 13 Jun 2007 22:32:20 -0400 > > > > > From: "Ivan Z. Ganza" <iva...@ya... > > > > > > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > > > > > software > > > > > To: Discussion for users of sdljava > > > > > < sdl...@li... > > > > > > Message-ID: < 467...@ya...> > > > > > Content-Type: text/plain; charset=3DISO-8859-15; format=3Dflowed > > > > > > > > > > Cool! Thanks for sending the info about this! > > > > > > > > > > Robert Schuster wrote: > > > > > > > > > > >and here is the link > > > > > > > > > > > > http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > > > > > > > > > > >regards > > > > > >robert > > > > > > > > > > > >Robert Schuster schrieb: > > > > > > > > > > > > > > > > > >>hi, > > > > > >>unbelievable but true: java3d as well as the vecmath package ar= e > > now > > > > > >>licensed under the gpl + linking exception (what gnu classpath = & > > > > > > > openjdk > > > > > >>uses). > > > > > >> > > > > > >>now the vecmath in sdljava can be replaced with that. > > > > > >> > > > > > >>regards > > > > > >>robert > > > > > >> > > > > > >> > > > > > >> > > > > > > > > > > >>---------------------------------------------------------------------= --- > > > > > > > > > > >> > > > > > > > > > > > > > > > >>---------------------------------------------------------------------= ---- > > > > > >>This SF.net email is sponsored by DB2 Express > > > > > >>Download DB2 Express C - the FREE version of DB2 express and > > take > > > > > >>control of your XML. No limits. Just data. Click to get it now. > > > > > >> http://sourceforge.net/powerbar/db2/ > > > > > >> > > > > > >> > > > > > > > > > > >>---------------------------------------------------------------------= --- > > > > > > > > > > >> > > > > > >>_______________________________________________ > > > > > >>sdljava-users mailing list > > > > > >> sdl...@li... > > > > > >> https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > >----------------------------------------------------------------------= -- > > > > > > > > > > > > > > > > > > > > > > > > > > >----------------------------------------------------------------------= --- > > > > > >This SF.net email is sponsored by DB2 Express > > > > > >Download DB2 Express C - the FREE version of DB2 express and tak= e > > > > > > > >control of your XML. No limits. Just data. Click to get it now. > > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > > > > > > > > > > > > > > > > >----------------------------------------------------------------------= -- > > > > > > > > > > > >_______________________________________________ > > > > > >sdljava-users mailing list > > > > > >sdl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > Message: 5 > > > > > Date: Mon, 25 Jun 2007 19:28:03 +1000 > > > > > From: Ben Alex < ben...@st... > > > > > > Subject: [sdljava-users] OT: Invitation to participate in researc= h > > > > > > > project > > > > > To: sdl...@li... > > > > > Message-ID: < E1I...@lu... > > > > > > > > > > > Hello there > > > > > > > > > > I would greatly appreciate a small amount of your time to assist > > with > > > > > my doctoral research at The University of Newcastle. The research > > > > > concerns open source licensing and we're seeking developers > > working on > > > > > Java projects. The research is supervised, ethics-approved, > > anonymous > > > > > and results will be freely available. Participation will also > > provide > > > a > > > > > custom licensing report for your project. To learn more, please > > visit: > > > > > > > > > > http://licensing-research.newcastle.edu.au > > > > > > > > > > Thanks for reading this email, and I hope you'll consider > > > participating. > > > > > > > > > > > > > > > Best regards > > > > > Ben Alex > > > > > > > > > > (My apologies for being off-topic; this list will not be emailed > > > again) > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > Message: 6 > > > > > Date: Sun, 29 Jul 2007 21:04:33 -0700 (PDT) > > > > > From: C W < wa...@ya...> > > > > > Subject: [sdljava-users] joystick events without framebuffer? > > > > > To: sdl...@li... > > > > > Message-ID: < 644...@we... > > > > > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > > > > > > > Greetings, > > > > > I just started trying to use sdljava, and I am interested in the > > > > > joystick interface. The test code SDLJoystickTest.java works fine= , > > but > > > > > I'd like to know if I can interface with a joystick without > > setting up > > > a > > > > > framebuffer. > > > > > > > > > > If I comment out the lines associated with the framebuffer > > variable, > > > > > then I get an SDLException when SDLEvent.waitEvent() is called. I= s > > > this > > > > > the expected behavior? If so, is there a way I can use the > > joystick > > > > > interface and events without having the framebuffer. > > > > > > > > > > Thanks, > > > > > Chris > > > > > > > > > > > > > > > --------------------------------- > > > > > Boardwalk for $500? In 2007? Ha! > > > > > Play Monopoly Here and Now (it's updated for today's economy) at > > > Yahoo! > > > > > Games. > > > > > -------------- next part -------------- > > > > > An HTML attachment was scrubbed... > > > > > > > > > > ------------------------------ > > > > > > > > > > Message: 7 > > > > > Date: Thu, 2 Aug 2007 21:47:21 -0400 > > > > > From: "Ivan Z. Ganza" <iva...@gm... > > > > > > Subject: Re: [sdljava-users] joystick events without framebuffer? > > > > > To: "Discussion for users of sdljava" > > > > > < sdl...@li...> > > > > > Message-ID: > > > > > < 818...@ma...ail.= com > > > > > > > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > > > > > > > Greetings, > > > > > > > > > > I think you should be able to but I havn't verified this. > > > > > > > > > > What you want to do is call SDL_INIT with only SDL_INIT_JOYSTICK. > > > > > > > > > > Have a look here: > > > > > http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fInit > > > > > > > > > > Have not tried this myself though. Let me know if it works. I'm > > no > > > > > sure if > > > > > you are supposed to be able to do this -- but I don't see > > > why not. If > > > > > you > > > > > are able to make it work with a simple C program then it should > > also > > > be > > > > > possible from sdljava. > > > > > > > > > > -Ivan/ > > > > > > > > > > On 7/30/07, C W < wa...@ya...> wrote: > > > > > > > > > > > > Greetings, > > > > > > I just started trying to use sdljava, and I am interested in > > the > > > > > > joystick interface. The test code SDLJoystickTest.java works > > fine, > > > but > > > > > I'd > > > > > > like to know if I can interface with a joystick without setting > > up a > > > > > > framebuffer. > > > > > > > > > > > > If I comment out the lines associated with the framebuffer > > > variable, > > > > > > then I get an SDLException when SDLEvent.waitEvent () is called= . > > Is > > > > > this > > > > > > the expected behavior? If so, is there a way I can use the > > joystick > > > > > > interface and events without having the framebuffer. > > > > > > > > > > > > Thanks, > > > > > > Chris > > > > > > > > > > > > ------------------------------ > > > > > > Boardwalk for $500? In 2007? Ha! > > > > > > Play Monopoly Here and Now< > > > > > http://us.rd.yahoo.com/evt=3D48223/*http://get.games.yahoo.com/proddesc= ?gamekey=3Dmonopolyherenow > > > >(it's > > > > > updated for today's economy) at Yahoo! Games. > > > > > > > > > > > > > > > > > > > > > > > > > > > > -----------------------------------------------------------------------= -- > > > > > > This SF.net email is sponsored by: Splunk Inc. > > > > > > Still grepping through log files to find problems? Stop. > > > > > > Now Search log events and configuration files using AJAX and a > > > > > browser. > > > > > > Download your FREE copy of Splunk now >> > > http://get.splunk.com/ > > > > > > _______________________________________________ > > > > > > sdljava-users mailing list > > > > > > sdl...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > > > > > > > -------------- next part -------------- > > > > > An HTML attachment was scrubbed... > > > > > > > > > > ------------------------------ > > > > > > > > > > > > > > > -----------------------------------------------------------------------= -- > > > > > > > > > > This SF.net email is sponsored by: Splunk Inc. > > > > > Still grepping through log files to find problems? Stop. > > > > > Now Search log events and configuration files using AJAX and a > > > browser. > > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > > > > > ------------------------------ > > > > > > > > > > _______________________________________________ > > > > > sdljava-users mailing list > > > > > sdl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > > > > > End of sdljava-users Digest, Vol 6, Issue 1 > > > > > ******************************************* > > > > > > > > > > > > > > > > > > > > > -- > > > > "N?o espero nada cair do c?u. Derrubo logo!! > > > > > > > > Garry Dias > > > > Rio de Janeiro, RJ, Brazil > > > > Contacts: > > > > Resid?ncial (home): 55 21 26575640 > > > > Trabalho (Job): 55 21 25014000 ramal 4038 > > > > E-mails: nin...@ya... > > > > gar...@gm... > > > > gar...@ho... > > > > mag...@ne... > > > > > > > > > -----------------------------------------------------------------------= -- > > > > This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX and a > > browser. > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > _______________________________________________ > > > > sdljava-users mailing list > > > > sdl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > -------------- next part -------------- > > > An HTML attachment was scrubbed... > > > > > > ------------------------------ > > > > > > > > -----------------------------------------------------------------------= -- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > ------------------------------ > > > > > > _______________________________________________ > > > sdljava-users mailing list > > > sdl...@li... > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > End of sdljava-users Digest, Vol 6, Issue 3 > > > ******************************************* > > > > > > > > > > > -- > > "N?o espero nada cair do c?u. Derrubo logo!! > > > > Garry Dias > > Rio de Janeiro, RJ, Brasil > > Contacts: > > Resid?ncial (home): 55 21 26575640 > > Trabalho (Job): 55 21 25014000 ramal 4038 > > E-mails: nin...@ya... > > gar...@gm... > > gar...@ho... > > mag...@ne... > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > > > ------------------------------ > > > > > > -----------------------------------------------------------------------= -- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > ------------------------------ > > > > _______________________________________________ > > sdljava-users mailing list > > sdl...@li... > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > End of sdljava-users Digest, Vol 6, Issue 4 > > ******************************************* > > > > > > -- > "N=E3o espero nada cair do c=E9u. Derrubo logo!! > > Garry Dias > Rio de Janeiro, RJ, Brasil > Contacts: > Resid=EAncial (home): 55 21 26575640 > Trabalho (Job): 55 21 25014000 ramal 4038 > E-mails: nin...@ya... > gar...@gm... > gar...@ho... > mag...@ne... > --=20 "N=E3o espero nada cair do c=E9u. Derrubo logo!! Garry Dias Rio de Janeiro, RJ, Brasil Contacts: Resid=EAncial (home): 55 21 26575640 Trabalho (Job): 55 21 25014000 ramal 4038 E-mails: nin...@ya... gar...@gm... gar...@ho... mag...@ne... |
From: mailmur <ma...@ya...> - 2007-08-23 07:53:14
|
Yoann, I downloaded a bomberman example and tried running it. It started fine and was able to browse menus. Unable to start the actual game after choosing 1-Man, 2-Com players. But it's not my question. I am interested in how did you package bomberman.exe file. Found out it's actually an executable zip file. I can rename it to bomberman.exe.zip and PowerArchiver opened it fine. PA also can convert it back to the clean zip file and filesize was decreased about 20kB. How did you do it? thx --- sdl...@li... wrote: > Send sdljava-users mailing list submissions to > sdl...@li... > > To subscribe or unsubscribe via the World Wide Web, > visit > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > or, via email, send a message with subject or body > 'help' to > sdl...@li... > > You can reach the person managing the list at > sdl...@li... > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of sdljava-users digest..." > > > Today's Topics: > > 1. Re: Game using SDLJava (Ivan Z. Ganza) > 2. (no subject) (Andrew.du) > 3. (no subject) (Andrew.du) > 4. > =?GB2312?B?0fvH67zTyOvO0tTaWElOR7XEyMvC9s34wuc=?= > (=?GB2312?B?tsUg6Lo=?=) > 5. Re: sdljava-users Digest, Vol 6, Issue 4 > (Garry Dias) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 7 Aug 2007 14:57:13 -0400 > From: "Ivan Z. Ganza" <iva...@gm...> > Subject: Re: [sdljava-users] Game using SDLJava > To: "Discussion for users of sdljava" > <sdl...@li...> > Message-ID: > > <818...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Yoann, > > Thanks for posting about this. Its nice to see > sdljava being used. > > Checking it out now. > > Cheers, > -Ivan/ > > On 8/5/07, Yoann Mercier > <yoa...@et...> wrote: > > > > Hi everyone, > > > > I'm a french postgraduate student in computer > science applied to > > management and I've learned a few things about > programming during college. > > > > Few months ago, I was playing Bomberman 5 on the > SNES and I thought about > > making my own game. I had already heard about > another project (led by > > another french guy) around Bomberman : > > http://fury94.free.fr/ > > This guy used C++ and SDL to do it. > > > > I'm gonna explaining it quickly : > > Here is a website I made to present my project > (and the SNES game) in > > French. > > http://superbomberman5.free.fr > > > > I used Java, SDLJava (thank you) and FMODJava to > do this game. A demo is > > available on the website : > http://superbomberman5.free.fr/Bomberman.rar > > You need Windows and JRE 1.6.0 to make it run. > > On my pc , the game runs at +60fps but if you > don't have a great cpu it > > can be slow. I guess it may come from both my way > of programming and the > > SDLJava (no offense). > > > > Any opinion would be good, i'm open to critics and > reviews. > > You can reach me on the Contact page of the site > (Name/Subject/Message) or > > here of course. > > > > Thanks. > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? > Stop. > > Now Search log events and configuration files > using AJAX and a browser. > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > _______________________________________________ > > sdljava-users mailing list > > sdl...@li... > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Thu, 9 Aug 2007 06:55:09 +0800 > From: Andrew.du <yi...@gm...> > Subject: [sdljava-users] (no subject) > To: sdl...@li... > Message-ID: > > <238...@ma...> > Content-Type: text/plain; charset="utf-8" > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Thu, 9 Aug 2007 07:03:26 +0800 > From: Andrew.du <yi...@gm...> > Subject: [sdljava-users] (no subject) > To: sdl...@li... > Message-ID: > > <238...@ma...> > Content-Type: text/plain; charset="utf-8" > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 4 > Date: Thu, 9 Aug 2007 01:09:17 +0200 (CEST) > From: "=?GB2312?B?tsUg6Lo=?=" > <use...@xi...> > Subject: [sdljava-users] > =?GB2312?B?0fvH67zTyOvO0tTaWElOR7XEyMvC9s34wuc=?= > To: "" <sdl...@li...> > Message-ID: > <200...@ob...> > Content-Type: text/plain; charset="utf-8" > > ??? > > ???????XING??????????????????????????? > > ????????????? > > ??? > ? ? > > ----------------------------------------------------------------------- > > ? ? ????? XING? > http://www.xing.com/go/inv/11696345.255941 > > > > ???????XING???: > http://www.xing.com/go/opt_out_invite/U2FsdGVkX1_hj8K_QxW9FL1f3Gg8dL7QaYP024KQagd0MD6dMRNeM7bkHVjGioemXZV1dHi6-gw > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 5 > Date: Mon, 20 Aug 2007 13:44:33 -0300 > From: "Garry Dias" <gar...@gm...> > Subject: Re: [sdljava-users] sdljava-users Digest, > Vol 6, Issue 4 > To: sdl...@li... > Message-ID: > > <a6c...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi.. I need to use the SDLTTF resources but an > exception is returned. The > exception explain that SDLJava_ttf.dll and its > dependences libraries wasn't > found. > Is lacking some dll in my project directory? > === message truncated === ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC |
From: Garry D. <gar...@gm...> - 2007-08-20 16:44:36
|
Hi.. I need to use the SDLTTF resources but an exception is returned. The exception explain that SDLJava_ttf.dll and its dependences libraries wasn't found. Is lacking some dll in my project directory? I'm using all theses dlls in my project: - ftgl_dynamic_MTD.dll - ftgljava.dll - glew32.dll - gljava.dll - SDLJava.dll - SDLJava_gfx.dll - SDLJava_image.dll - SDLJava_mixer.dll - SDLJava_ttf.dll 2007/8/6, sdl...@li... < sdl...@li...>: > > Send sdljava-users mailing list submissions to > sdl...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/sdljava-users > or, via email, send a message with subject or body 'help' to > sdl...@li... > > You can reach the person managing the list at > sdl...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sdljava-users digest..." > > > Today's Topics: > > 1. Re: joystick events without framebuffer? (Ivan Ganza) > 2. Help with netbeans (Daniel M) > 3. Game using SDLJava (Yoann Mercier) > 4. Re: sdljava-users Digest, Vol 6, Issue 3 (Garry Dias) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 3 Aug 2007 12:23:23 -0400 > From: "Ivan Ganza" <iva...@ya...> > Subject: Re: [sdljava-users] joystick events without framebuffer? > To: "Discussion for users of sdljava" > <sdl...@li...> > Message-ID: > <818...@ma...> > Content-Type: text/plain; charset=3D"iso-8859-1" > > Greetings, > > I think you should be able to but I haven't verified this. > > What you want to do is call SDL_INIT with only SDL_INIT_JOYSTICK. > > Have a look here: > http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fInit > > Have not tried this myself though. Let me know if it works. I'm not sur= e > if you are supposed to be able to do this -- but I don't see why not. I= f > you are able to make it work with a simple C program then it should also > be > possible from sdljava. If it works from C but not sdljava then we need > to > fix sdljava so it works. > > -Ivan/ > > On 7/30/07, C W <wa...@ya...> wrote: > > > > Greetings, > > I just started trying to use sdljava, and I am interested in the > > joystick interface. The test code SDLJoystickTest.java works fine, but > I'd > > like to know if I can interface with a joystick without setting up a > > framebuffer. > > > > If I comment out the lines associated with the framebuffer variable, > > then I get an SDLException when SDLEvent.waitEvent() is called. Is this > > the expected behavior? If so, is there a way I can use the joystick > > interface and events without having the framebuffer. > > > > Thanks, > > Chris > > > > ------------------------------ > > Boardwalk for $500? In 2007? Ha! > > Play Monopoly Here and Now< > http://us.rd.yahoo.com/evt=3D48223/*http://get.games.yahoo.com/proddesc?g= amekey=3Dmonopolyherenow>(it's > updated for today's economy) at Yahoo! Games. > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > sdljava-users mailing list > > sdl...@li... > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Sat, 4 Aug 2007 18:08:13 -0300 > From: "Daniel M" <rs....@gm...> > Subject: [sdljava-users] Help with netbeans > To: sdl...@li... > Message-ID: > <b5b...@ma...> > Content-Type: text/plain; charset=3D"iso-8859-1" > > Hi, i am learning Java and was looking for a easy way to use SDL on it so > here I am. > I had some dificult and was wondering about a Netbeans packet/module, if > it > is possible to do, can anyone do this? > (Maybe put on the site for download) > > Sorry for any english's mistake. > Thx. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Sun, 5 Aug 2007 13:38:36 +0200 > From: Yoann Mercier <yoa...@et...> > Subject: [sdljava-users] Game using SDLJava > To: sdl...@li... > Message-ID: <200...@ma...> > Content-Type: text/plain; charset=3DISO-8859-1; DelSp=3D"Yes"; > format=3D"flowed" > > Hi everyone, > > I'm a french postgraduate student in computer science applied to > management and I've learned a few things about programming during college= . > > Few months ago, I was playing Bomberman 5 on the SNES and I thought about > making my own game. I had already heard about another project (led by > another french guy) around Bomberman : > http://fury94.free.fr/ > This guy used C++ and SDL to do it. > > I'm gonna explaining it quickly : > Here is a website I made to present my project (and the SNES game) in > French. > http://superbomberman5.free.fr > > I used Java, SDLJava (thank you) and FMODJava to do this game. A demo is > available on the website : http://superbomberman5.free.fr/Bomberman.rar > You need Windows and JRE 1.6.0 to make it run. > On my pc , the game runs at +60fps but if you don't have a great cpu it > can be slow. I guess it may come from both my way of programming and the > SDLJava (no offense). > > Any opinion would be good, i'm open to critics and reviews. > You can reach me on the Contact page of the site (Name/Subject/Message) o= r > here of course. > > Thanks. > > > > > ------------------------------ > > Message: 4 > Date: Mon, 6 Aug 2007 13:15:37 -0300 > From: "Garry Dias" <gar...@gm...> > Subject: Re: [sdljava-users] sdljava-users Digest, Vol 6, Issue 3 > To: sdl...@li... > Message-ID: > <a6c...@ma...> > Content-Type: text/plain; charset=3D"iso-8859-1" > > hi... which method can I use to update the screen and clear the scene > during > an animation? SDLSurface.blit() and SDLSurface.updateRect() don?t do that= . > The result is a track of my main surface when I move it by keyboard event= . > > > hi... which method can I use to update the screen and clear the scene > during > an animation? SDLSurface.blit() and SDLSurface.updateRect() don?t do that= . > The result is a track of my main surface when I move it by keyboard event= . > > > > my main loop code : > > > > private void mainLoop() { > > while(true){ > > try { > > mainsurface.checkEvent(SDLEvent.pollEvent()); > > mainsurface.blitSurface(screen); > > screen.flip(); > > } > > catch (SDLException e) { > > e.printStackTrace(); > > } > > > > } > > > > } > > > 2007/8/3, sdl...@li... < > sdl...@li...>: > > > > Send sdljava-users mailing list submissions to > > sdl...@li... > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > or, via email, send a message with subject or body 'help' to > > sdl...@li... > > > > You can reach the person managing the list at > > sdl...@li... > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of sdljava-users digest..." > > > > > > Today's Topics: > > > > 1. Re: sdljava-users Digest, Vol 6, Issue 1 (Ivan Ganza) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Fri, 3 Aug 2007 12:21:40 -0400 > > From: "Ivan Ganza" <iva...@ya...> > > Subject: Re: [sdljava-users] sdljava-users Digest, Vol 6, Issue 1 > > To: "Discussion for users of sdljava" > > <sdl...@li...> > > Message-ID: > > <818...@ma...> > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > Download any of the source releases (non-binary) and the sources are > > included. > > > > Or just get the sources from CVS. > > > > -Ivan/ > > > > On 8/3/07, Garry Dias <gar...@gm...> wrote: > > > > > > Hi all > > > > > > Where can I find the released sdljava source codes??? > > > > > > > > > > > > > > > > > > > > > > > > 2007/8/2, sdl...@li... < > > sdl...@li... > > > >: > > > > > > > > Send sdljava-users mailing list submissions to > > > > sdl...@li... > > > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > or, via email, send a message with subject or body 'help' to > > > > sdl...@li... > > > > > > > > You can reach the person managing the list at > > > > sdl...@li... > > > > > > > > When replying, please edit your Subject line so it is more specific > > > > than "Re: Contents of sdljava-users digest..." > > > > > > > > > > > > Today's Topics: > > > > > > > > 1. Re: (no subject) (Ivan Z. Ganza) > > > > 2. java3d and vecmath licensed as free software (Robert Schuster) > > > > 3. Re: java3d and vecmath licensed as free software (Robert > > Schuster) > > > > 4. Re: java3d and vecmath licensed as free software (Ivan Z. > Ganza) > > > > 5. OT: Invitation to participate in research project (Ben Alex) > > > > 6. joystick events without framebuffer? (C W) > > > > 7. Re: joystick events without framebuffer? (Ivan Z. Ganza) > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > > > > > Message: 1 > > > > Date: Sun, 27 May 2007 18:43:58 -0400 > > > > From: "Ivan Z. Ganza" <iva...@ya... > > > > > Subject: Re: [sdljava-users] (no subject) > > > > To: Discussion for users of sdljava > > > > < sdl...@li...> > > > > Message-ID: < 465...@ya...> > > > > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > > > > > > > Hi Thomas, > > > > > > > > I see the problem. The culprit is the code in SDLSurface.java : > > > > > > > > public int blitSurface(SDLRect src, SDLSurface dstSurface, SDLRect > > dst) > > > > throws SDLException { > > > > if(src =3D=3D null) { > > > > src =3D new SDLRect(0, 0, getWidth(), getHeight()); > > > > } > > > > if (dst =3D=3D null) { > > > > dst =3D new SDLRect(0, 0, -1, -1); > > > > } > > > > return SWIG_SDLVideo.SWIG_SDL_BlitSurface_FAST(swigSurface, > > > > src.getX(), > > > > src.getY(), > > > > src.getWidth(), > > > > src.getHeight(), > > > > dstSurface.getSwigSurface(), > > > > dst.getX(), > > > > dst.getY(), > > > > dst.getWidth(), > > > > dst.getHeight() > > > > ); > > > > } > > > > > > > > As you can see in the code I'm unwrapping the Rect, for speed, and > > only > > > > passing the values -- after the call there is only a status of the > > blit > > > > returned so SDLJava has no knowledge about updating the positions i= n > > the > > > > > > > > rect that you passed in the call. > > > > > > > > Hrrmmm....I have to admit I did not consider your scenerio. Howeve= r > I > > > > do think we need to support it. If the original SDL works that way= , > > we > > > > should be doing the same thing in the java world. > > > > > > > > Its not clear to me how this can be done while still being fast. I= f > > we > > > > want to update the rect passed intot the java call, the rect has to > be > > > > passed to the C code, _by value_, and then it will be updated in C > and > > > > passed back again to java by value once again. This won't be very > > > > efficient. I could be wrong but right now I am fairly sure it will > > all > > > > by pass by value in this case. > > > > > > > > If I can figure out a way to fix this and still be efficient I will > > get > > > > the code in within a week or two. Not sure if you have the time bu= t > > > > feel free to dig into the code if you wish....I'm happy to accept > > > > contributions. > > > > > > > > Cheers, > > > > -Ivan/ > > > > > > > > > > > > > > > > > > > > Thomas Beck wrote: > > > > > > > > >Hi @all! > > > > > > > > > >My name is Thomas, I'm a german software engeneer and I've got a > > > > problem with sdljava.I didn't get solved by extensively searching > the > > > > web. > > > > > > > > > >Question: > > > > >Why is it not allowed to blit a surface onto another ( > > > > surface.blitsurface(SrcRect,screen,DestRect)by giving the rectangle > > > > negative values. For example: my Position on the main-surface where > to > > blit > > > > is DestRect.x=3D-200; DestRect.y=3D-10; DestRect.w=3D100;DestRect.h= =3D100 > > > > > > > > > >I read in the sdljava-doc that if the blitting succeeds the blitte= d > > > > coordinates are written back to the DestRect. When I do the blit, m= y > > > > DestRect.x is at -200 so I would think that the blitting was done > > > > without any errors - but the blitting was done on (0|0) - no matter > > what > > > > negative values I choose...it's erverytime on (0|0) > > > > > > > > > >This blitting with negative values is very important for scrolling > > and > > > > is no problem in the c++ binding or the sdl.net binding..so is ther= e > a > > > > cause to do so? Or is it a bug (and if so.. will it be fixed) > > > > > > > > > >Greetings to all of you, Thomas > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > Message: 2 > > > > Date: Wed, 13 Jun 2007 17:39:38 +0200 > > > > From: Robert Schuster <the...@gm...> > > > > Subject: [sdljava-users] java3d and vecmath licensed as free > software > > > > To: sdl...@li... > > > > Message-ID: < 467...@gm...> > > > > Content-Type: text/plain; charset=3D"iso-8859-15" > > > > > > > > hi, > > > > unbelievable but true: java3d as well as the vecmath package are no= w > > > > licensed under the gpl + linking exception (what gnu classpath & > > openjdk > > > > > > > > uses). > > > > > > > > now the vecmath in sdljava can be replaced with that. > > > > > > > > regards > > > > robert > > > > > > > > -------------- next part -------------- > > > > A non-text attachment was scrubbed... > > > > Name: signature.asc > > > > Type: application/pgp-signature > > > > Size: 252 bytes > > > > Desc: OpenPGP digital signature > > > > > > > > ------------------------------ > > > > > > > > Message: 3 > > > > Date: Wed, 13 Jun 2007 18:08:54 +0200 > > > > From: Robert Schuster < the...@gm...> > > > > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > > > > software > > > > To: Discussion for users of sdljava > > > > < sdl...@li...> > > > > Message-ID: < 467...@gm...> > > > > Content-Type: text/plain; charset=3D"iso-8859-15" > > > > > > > > and here is the link > > > > > > > > http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > > > > > > > regards > > > > robert > > > > > > > > Robert Schuster schrieb: > > > > > hi, > > > > > unbelievable but true: java3d as well as the vecmath package are > now > > > > > licensed under the gpl + linking exception (what gnu classpath & > > > > openjdk > > > > > uses). > > > > > > > > > > now the vecmath in sdljava can be replaced with that. > > > > > > > > > > regards > > > > > robert > > > > > > > > > > > > > > > > > > > > > > > > > > -----------------------------------------------------------------------= - > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by DB2 Express > > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > > control of your XML. No limits. Just data. Click to get it now. > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > > > > > > > > > > > > > > > > -----------------------------------------------------------------------= - > > > > > > > > > > _______________________________________________ > > > > > sdljava-users mailing list > > > > > sdl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > -------------- next part -------------- > > > > A non-text attachment was scrubbed... > > > > Name: signature.asc > > > > Type: application/pgp-signature > > > > Size: 252 bytes > > > > Desc: OpenPGP digital signature > > > > > > > > ------------------------------ > > > > > > > > Message: 4 > > > > Date: Wed, 13 Jun 2007 22:32:20 -0400 > > > > From: "Ivan Z. Ganza" <iva...@ya... > > > > > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > > > > software > > > > To: Discussion for users of sdljava > > > > < sdl...@li... > > > > > Message-ID: <467...@ya...> > > > > Content-Type: text/plain; charset=3DISO-8859-15; format=3Dflowed > > > > > > > > Cool! Thanks for sending the info about this! > > > > > > > > Robert Schuster wrote: > > > > > > > > >and here is the link > > > > > > > > > > http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > > > > > > > > >regards > > > > >robert > > > > > > > > > >Robert Schuster schrieb: > > > > > > > > > > > > > > >>hi, > > > > >>unbelievable but true: java3d as well as the vecmath package are > now > > > > >>licensed under the gpl + linking exception (what gnu classpath & > > > > openjdk > > > > >>uses). > > > > >> > > > > >>now the vecmath in sdljava can be replaced with that. > > > > >> > > > > >>regards > > > > >>robert > > > > >> > > > > >> > > > > >> > > > > > > > >>-----------------------------------------------------------------------= - > > > > > > > > >> > > > > > > > > > > > >>-----------------------------------------------------------------------= -- > > > > >>This SF.net email is sponsored by DB2 Express > > > > >>Download DB2 Express C - the FREE version of DB2 express and take > > > > >>control of your XML. No limits. Just data. Click to get it now. > > > > >> http://sourceforge.net/powerbar/db2/ > > > > >> > > > > >> > > > > > > > >>-----------------------------------------------------------------------= - > > > > > > > > >> > > > > >>_______________________________________________ > > > > >>sdljava-users mailing list > > > > >>sdl...@li... > > > > >> https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > >> > > > > >> > > > > > > > > > > > > > > > > > > > > > > >------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > >------------------------------------------------------------------------= - > > > > >This SF.net email is sponsored by DB2 Express > > > > >Download DB2 Express C - the FREE version of DB2 express and take > > > > >control of your XML. No limits. Just data. Click to get it now. > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > > > > > > > > > > > >------------------------------------------------------------------------ > > > > > > > > > >_______________________________________________ > > > > >sdljava-users mailing list > > > > >sdl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > Message: 5 > > > > Date: Mon, 25 Jun 2007 19:28:03 +1000 > > > > From: Ben Alex < ben...@st... > > > > > Subject: [sdljava-users] OT: Invitation to participate in research > > > > project > > > > To: sdl...@li... > > > > Message-ID: < E1I...@lu... > > > > > > > > > Hello there > > > > > > > > I would greatly appreciate a small amount of your time to assist > with > > > > my doctoral research at The University of Newcastle. The research > > > > concerns open source licensing and we're seeking developers working > on > > > > Java projects. The research is supervised, ethics-approved, > anonymous > > > > and results will be freely available. Participation will also > provide > > a > > > > custom licensing report for your project. To learn more, please > visit: > > > > > > > > http://licensing-research.newcastle.edu.au > > > > > > > > Thanks for reading this email, and I hope you'll consider > > participating. > > > > > > > > > > > > Best regards > > > > Ben Alex > > > > > > > > (My apologies for being off-topic; this list will not be emailed > > again) > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > Message: 6 > > > > Date: Sun, 29 Jul 2007 21:04:33 -0700 (PDT) > > > > From: C W < wa...@ya...> > > > > Subject: [sdljava-users] joystick events without framebuffer? > > > > To: sdl...@li... > > > > Message-ID: < 644...@we...> > > > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > > > > > Greetings, > > > > I just started trying to use sdljava, and I am interested in the > > > > joystick interface. The test code SDLJoystickTest.java works fine, > but > > > > I'd like to know if I can interface with a joystick without setting > up > > a > > > > framebuffer. > > > > > > > > If I comment out the lines associated with the framebuffer variable= , > > > > then I get an SDLException when SDLEvent.waitEvent() is called. Is > > this > > > > the expected behavior? If so, is there a way I can use the joystick > > > > interface and events without having the framebuffer. > > > > > > > > Thanks, > > > > Chris > > > > > > > > > > > > --------------------------------- > > > > Boardwalk for $500? In 2007? Ha! > > > > Play Monopoly Here and Now (it's updated for today's economy) at > > Yahoo! > > > > Games. > > > > -------------- next part -------------- > > > > An HTML attachment was scrubbed... > > > > > > > > ------------------------------ > > > > > > > > Message: 7 > > > > Date: Thu, 2 Aug 2007 21:47:21 -0400 > > > > From: "Ivan Z. Ganza" <iva...@gm... > > > > > Subject: Re: [sdljava-users] joystick events without framebuffer? > > > > To: "Discussion for users of sdljava" > > > > < sdl...@li...> > > > > Message-ID: > > > > < 818...@ma...= m > > > > > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > > > > > Greetings, > > > > > > > > I think you should be able to but I havn't verified this. > > > > > > > > What you want to do is call SDL_INIT with only SDL_INIT_JOYSTICK. > > > > > > > > Have a look here: > > > > http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fInit > > > > > > > > Have not tried this myself though. Let me know if it works. I'm n= o > > > > sure if > > > > you are supposed to be able to do this -- but I don't see > > why not. If > > > > you > > > > are able to make it work with a simple C program then it should als= o > > be > > > > possible from sdljava. > > > > > > > > -Ivan/ > > > > > > > > On 7/30/07, C W < wa...@ya...> wrote: > > > > > > > > > > Greetings, > > > > > I just started trying to use sdljava, and I am interested in th= e > > > > > joystick interface. The test code SDLJoystickTest.java works fine= , > > but > > > > I'd > > > > > like to know if I can interface with a joystick without setting u= p > a > > > > > framebuffer. > > > > > > > > > > If I comment out the lines associated with the framebuffer > > variable, > > > > > then I get an SDLException when SDLEvent.waitEvent() is called. I= s > > > > this > > > > > the expected behavior? If so, is there a way I can use the > joystick > > > > > interface and events without having the framebuffer. > > > > > > > > > > Thanks, > > > > > Chris > > > > > > > > > > ------------------------------ > > > > > Boardwalk for $500? In 2007? Ha! > > > > > Play Monopoly Here and Now< > > > http://us.rd.yahoo.com/evt=3D48223/*http://get.games.yahoo.com/proddesc?g= amekey=3Dmonopolyherenow > > >(it's > > > > updated for today's economy) at Yahoo! Games. > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by: Splunk Inc. > > > > > Still grepping through log files to find problems? Stop. > > > > > Now Search log events and configuration files using AJAX and a > > > > browser. > > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > _______________________________________________ > > > > > sdljava-users mailing list > > > > > sdl...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > > > > -------------- next part -------------- > > > > An HTML attachment was scrubbed... > > > > > > > > ------------------------------ > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX and a > > browser. > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > > > ------------------------------ > > > > > > > > _______________________________________________ > > > > sdljava-users mailing list > > > > sdl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > > End of sdljava-users Digest, Vol 6, Issue 1 > > > > ******************************************* > > > > > > > > > > > > > > > > -- > > > "N?o espero nada cair do c?u. Derrubo logo!! > > > > > > Garry Dias > > > Rio de Janeiro, RJ, Brazil > > > Contacts: > > > Resid?ncial (home): 55 21 26575640 > > > Trabalho (Job): 55 21 25014000 ramal 4038 > > > E-mails: nin...@ya... > > > gar...@gm... > > > gar...@ho... > > > mag...@ne... > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > sdljava-users mailing list > > > sdl...@li... > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > > > ------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > ------------------------------ > > > > _______________________________________________ > > sdljava-users mailing list > > sdl...@li... > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > End of sdljava-users Digest, Vol 6, Issue 3 > > ******************************************* > > > > > > -- > "N?o espero nada cair do c?u. Derrubo logo!! > > Garry Dias > Rio de Janeiro, RJ, Brasil > Contacts: > Resid?ncial (home): 55 21 26575640 > Trabalho (Job): 55 21 25014000 ramal 4038 > E-mails: nin...@ya... > gar...@gm... > gar...@ho... > mag...@ne... > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------ > > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > End of sdljava-users Digest, Vol 6, Issue 4 > ******************************************* > --=20 "N=E3o espero nada cair do c=E9u. Derrubo logo!! Garry Dias Rio de Janeiro, RJ, Brasil Contacts: Resid=EAncial (home): 55 21 26575640 Trabalho (Job): 55 21 25014000 ramal 4038 E-mails: nin...@ya... gar...@gm... gar...@ho... mag...@ne... |
From: <use...@xi...> - 2007-08-08 23:11:40
|
您好! 这是邀请您加入XING的信息,请您查看。在这里,您可以结识大量同行业的人士。 请不用担心,注册是免费的。 祝好! 杜 韬 ----------------------------------------------------------------------- 杜 韬 邀请您参加 XING: http://www.xing.com/go/inv/11696345.255941 我不希望再收到XING的邀请: http://www.xing.com/go/opt_out_invite/U2FsdGVkX1_hj8K_QxW9FL1f3Gg8dL7QaYP024KQagd0MD6dMRNeM7bkHVjGioemXZV1dHi6-gw |
From: Andrew.du <yi...@gm...> - 2007-08-08 23:03:28
|
From: Andrew.du <yi...@gm...> - 2007-08-08 22:55:13
|
From: Ivan Z. G. <iva...@gm...> - 2007-08-07 18:57:19
|
Hi Yoann, Thanks for posting about this. Its nice to see sdljava being used. Checking it out now. Cheers, -Ivan/ On 8/5/07, Yoann Mercier <yoa...@et...> wrote: > > Hi everyone, > > I'm a french postgraduate student in computer science applied to > management and I've learned a few things about programming during college. > > Few months ago, I was playing Bomberman 5 on the SNES and I thought about > making my own game. I had already heard about another project (led by > another french guy) around Bomberman : > http://fury94.free.fr/ > This guy used C++ and SDL to do it. > > I'm gonna explaining it quickly : > Here is a website I made to present my project (and the SNES game) in > French. > http://superbomberman5.free.fr > > I used Java, SDLJava (thank you) and FMODJava to do this game. A demo is > available on the website : http://superbomberman5.free.fr/Bomberman.rar > You need Windows and JRE 1.6.0 to make it run. > On my pc , the game runs at +60fps but if you don't have a great cpu it > can be slow. I guess it may come from both my way of programming and the > SDLJava (no offense). > > Any opinion would be good, i'm open to critics and reviews. > You can reach me on the Contact page of the site (Name/Subject/Message) or > here of course. > > Thanks. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > |
From: Garry D. <gar...@gm...> - 2007-08-06 16:15:39
|
hi... which method can I use to update the screen and clear the scene durin= g an animation? SDLSurface.blit() and SDLSurface.updateRect() don=B4t do that= . The result is a track of my main surface when I move it by keyboard event. hi... which method can I use to update the screen and clear the scene durin= g an animation? SDLSurface.blit() and SDLSurface.updateRect() don=B4t do that= . The result is a track of my main surface when I move it by keyboard event. my main loop code : private void mainLoop() { while(true){ try { mainsurface.checkEvent(SDLEvent.pollEvent()); mainsurface.blitSurface(screen); screen.flip(); } catch (SDLException e) { e.printStackTrace(); } } } 2007/8/3, sdl...@li... < sdl...@li...>: > > Send sdljava-users mailing list submissions to > sdl...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/sdljava-users > or, via email, send a message with subject or body 'help' to > sdl...@li... > > You can reach the person managing the list at > sdl...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sdljava-users digest..." > > > Today's Topics: > > 1. Re: sdljava-users Digest, Vol 6, Issue 1 (Ivan Ganza) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 3 Aug 2007 12:21:40 -0400 > From: "Ivan Ganza" <iva...@ya...> > Subject: Re: [sdljava-users] sdljava-users Digest, Vol 6, Issue 1 > To: "Discussion for users of sdljava" > <sdl...@li...> > Message-ID: > <818...@ma...> > Content-Type: text/plain; charset=3D"iso-8859-1" > > Download any of the source releases (non-binary) and the sources are > included. > > Or just get the sources from CVS. > > -Ivan/ > > On 8/3/07, Garry Dias <gar...@gm...> wrote: > > > > Hi all > > > > Where can I find the released sdljava source codes??? > > > > > > > > > > > > > > > > 2007/8/2, sdl...@li... < > sdl...@li... > > >: > > > > > > Send sdljava-users mailing list submissions to > > > sdl...@li... > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > or, via email, send a message with subject or body 'help' to > > > sdl...@li... > > > > > > You can reach the person managing the list at > > > sdl...@li... > > > > > > When replying, please edit your Subject line so it is more specific > > > than "Re: Contents of sdljava-users digest..." > > > > > > > > > Today's Topics: > > > > > > 1. Re: (no subject) (Ivan Z. Ganza) > > > 2. java3d and vecmath licensed as free software (Robert Schuster) > > > 3. Re: java3d and vecmath licensed as free software (Robert > Schuster) > > > 4. Re: java3d and vecmath licensed as free software (Ivan Z. Ganza) > > > 5. OT: Invitation to participate in research project (Ben Alex) > > > 6. joystick events without framebuffer? (C W) > > > 7. Re: joystick events without framebuffer? (Ivan Z. Ganza) > > > > > > > > > ---------------------------------------------------------------------= - > > > > > > Message: 1 > > > Date: Sun, 27 May 2007 18:43:58 -0400 > > > From: "Ivan Z. Ganza" <iva...@ya... > > > > Subject: Re: [sdljava-users] (no subject) > > > To: Discussion for users of sdljava > > > < sdl...@li...> > > > Message-ID: < 465...@ya...> > > > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > > > > > Hi Thomas, > > > > > > I see the problem. The culprit is the code in SDLSurface.java : > > > > > > public int blitSurface(SDLRect src, SDLSurface dstSurface, SDLRect > dst) > > > throws SDLException { > > > if(src =3D=3D null) { > > > src =3D new SDLRect(0, 0, getWidth(), getHeight()); > > > } > > > if (dst =3D=3D null) { > > > dst =3D new SDLRect(0, 0, -1, -1); > > > } > > > return SWIG_SDLVideo.SWIG_SDL_BlitSurface_FAST(swigSurface, > > > src.getX(), > > > src.getY(), > > > src.getWidth(), > > > src.getHeight(), > > > dstSurface.getSwigSurface(), > > > dst.getX(), > > > dst.getY(), > > > dst.getWidth(), > > > dst.getHeight() > > > ); > > > } > > > > > > As you can see in the code I'm unwrapping the Rect, for speed, and > only > > > passing the values -- after the call there is only a status of the > blit > > > returned so SDLJava has no knowledge about updating the positions in > the > > > > > > rect that you passed in the call. > > > > > > Hrrmmm....I have to admit I did not consider your scenerio. However = I > > > do think we need to support it. If the original SDL works that way, > we > > > should be doing the same thing in the java world. > > > > > > Its not clear to me how this can be done while still being fast. If > we > > > want to update the rect passed intot the java call, the rect has to b= e > > > passed to the C code, _by value_, and then it will be updated in C an= d > > > passed back again to java by value once again. This won't be very > > > efficient. I could be wrong but right now I am fairly sure it will > all > > > by pass by value in this case. > > > > > > If I can figure out a way to fix this and still be efficient I will > get > > > the code in within a week or two. Not sure if you have the time but > > > feel free to dig into the code if you wish....I'm happy to accept > > > contributions. > > > > > > Cheers, > > > -Ivan/ > > > > > > > > > > > > > > > Thomas Beck wrote: > > > > > > >Hi @all! > > > > > > > >My name is Thomas, I'm a german software engeneer and I've got a > > > problem with sdljava.I didn't get solved by extensively searching the > > > web. > > > > > > > >Question: > > > >Why is it not allowed to blit a surface onto another ( > > > surface.blitsurface(SrcRect,screen,DestRect)by giving the rectangle > > > negative values. For example: my Position on the main-surface where t= o > blit > > > is DestRect.x=3D-200; DestRect.y=3D-10; DestRect.w=3D100;DestRect.h= =3D100 > > > > > > > >I read in the sdljava-doc that if the blitting succeeds the blitted > > > coordinates are written back to the DestRect. When I do the blit, my > > > DestRect.x is at -200 so I would think that the blitting was done > > > without any errors - but the blitting was done on (0|0) - no matter > what > > > negative values I choose...it's erverytime on (0|0) > > > > > > > >This blitting with negative values is very important for scrolling > and > > > is no problem in the c++ binding or the sdl.net binding..so is there = a > > > cause to do so? Or is it a bug (and if so.. will it be fixed) > > > > > > > >Greetings to all of you, Thomas > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > Message: 2 > > > Date: Wed, 13 Jun 2007 17:39:38 +0200 > > > From: Robert Schuster <the...@gm...> > > > Subject: [sdljava-users] java3d and vecmath licensed as free software > > > To: sdl...@li... > > > Message-ID: < 467...@gm...> > > > Content-Type: text/plain; charset=3D"iso-8859-15" > > > > > > hi, > > > unbelievable but true: java3d as well as the vecmath package are now > > > licensed under the gpl + linking exception (what gnu classpath & > openjdk > > > > > > uses). > > > > > > now the vecmath in sdljava can be replaced with that. > > > > > > regards > > > robert > > > > > > -------------- next part -------------- > > > A non-text attachment was scrubbed... > > > Name: signature.asc > > > Type: application/pgp-signature > > > Size: 252 bytes > > > Desc: OpenPGP digital signature > > > > > > ------------------------------ > > > > > > Message: 3 > > > Date: Wed, 13 Jun 2007 18:08:54 +0200 > > > From: Robert Schuster < the...@gm...> > > > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > > > software > > > To: Discussion for users of sdljava > > > < sdl...@li...> > > > Message-ID: < 467...@gm...> > > > Content-Type: text/plain; charset=3D"iso-8859-15" > > > > > > and here is the link > > > > > > http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > > > > > regards > > > robert > > > > > > Robert Schuster schrieb: > > > > hi, > > > > unbelievable but true: java3d as well as the vecmath package are no= w > > > > licensed under the gpl + linking exception (what gnu classpath & > > > openjdk > > > > uses). > > > > > > > > now the vecmath in sdljava can be replaced with that. > > > > > > > > regards > > > > robert > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > sdljava-users mailing list > > > > sdl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > -------------- next part -------------- > > > A non-text attachment was scrubbed... > > > Name: signature.asc > > > Type: application/pgp-signature > > > Size: 252 bytes > > > Desc: OpenPGP digital signature > > > > > > ------------------------------ > > > > > > Message: 4 > > > Date: Wed, 13 Jun 2007 22:32:20 -0400 > > > From: "Ivan Z. Ganza" <iva...@ya... > > > > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > > > software > > > To: Discussion for users of sdljava > > > < sdl...@li... > > > > Message-ID: <467...@ya...> > > > Content-Type: text/plain; charset=3DISO-8859-15; format=3Dflowed > > > > > > Cool! Thanks for sending the info about this! > > > > > > Robert Schuster wrote: > > > > > > >and here is the link > > > > > > > > http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > > > > > > >regards > > > >robert > > > > > > > >Robert Schuster schrieb: > > > > > > > > > > > >>hi, > > > >>unbelievable but true: java3d as well as the vecmath package are no= w > > > >>licensed under the gpl + linking exception (what gnu classpath & > > > openjdk > > > >>uses). > > > >> > > > >>now the vecmath in sdljava can be replaced with that. > > > >> > > > >>regards > > > >>robert > > > >> > > > >> > > > >> > > > > >>-----------------------------------------------------------------------= - > > > > > > >> > > > > > > > >>-----------------------------------------------------------------------= -- > > > >>This SF.net email is sponsored by DB2 Express > > > >>Download DB2 Express C - the FREE version of DB2 express and take > > > >>control of your XML. No limits. Just data. Click to get it now. > > > >> http://sourceforge.net/powerbar/db2/ > > > >> > > > >> > > > > >>-----------------------------------------------------------------------= - > > > > > > >> > > > >>_______________________________________________ > > > >>sdljava-users mailing list > > > >>sdl...@li... > > > >> https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > >> > > > >> > > > > > > > > > > > > > > > > >------------------------------------------------------------------------ > > > > > > > > > > > > > > >------------------------------------------------------------------------= - > > > >This SF.net email is sponsored by DB2 Express > > > >Download DB2 Express C - the FREE version of DB2 express and take > > > >control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > > > > > > > > >------------------------------------------------------------------------ > > > > > > > >_______________________________________________ > > > >sdljava-users mailing list > > > >sdl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > Message: 5 > > > Date: Mon, 25 Jun 2007 19:28:03 +1000 > > > From: Ben Alex < ben...@st... > > > > Subject: [sdljava-users] OT: Invitation to participate in research > > > project > > > To: sdl...@li... > > > Message-ID: < E1I...@lu... > > > > > > > Hello there > > > > > > I would greatly appreciate a small amount of your time to assist with > > > my doctoral research at The University of Newcastle. The research > > > concerns open source licensing and we're seeking developers working o= n > > > Java projects. The research is supervised, ethics-approved, anonymous > > > and results will be freely available. Participation will also provide > a > > > custom licensing report for your project. To learn more, please visit= : > > > > > > http://licensing-research.newcastle.edu.au > > > > > > Thanks for reading this email, and I hope you'll consider > participating. > > > > > > > > > Best regards > > > Ben Alex > > > > > > (My apologies for being off-topic; this list will not be emailed > again) > > > > > > > > > > > > ------------------------------ > > > > > > Message: 6 > > > Date: Sun, 29 Jul 2007 21:04:33 -0700 (PDT) > > > From: C W < wa...@ya...> > > > Subject: [sdljava-users] joystick events without framebuffer? > > > To: sdl...@li... > > > Message-ID: < 644...@we...> > > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > > > Greetings, > > > I just started trying to use sdljava, and I am interested in the > > > joystick interface. The test code SDLJoystickTest.java works fine, bu= t > > > I'd like to know if I can interface with a joystick without setting u= p > a > > > framebuffer. > > > > > > If I comment out the lines associated with the framebuffer variable, > > > then I get an SDLException when SDLEvent.waitEvent() is called. Is > this > > > the expected behavior? If so, is there a way I can use the joystick > > > interface and events without having the framebuffer. > > > > > > Thanks, > > > Chris > > > > > > > > > --------------------------------- > > > Boardwalk for $500? In 2007? Ha! > > > Play Monopoly Here and Now (it's updated for today's economy) at > Yahoo! > > > Games. > > > -------------- next part -------------- > > > An HTML attachment was scrubbed... > > > > > > ------------------------------ > > > > > > Message: 7 > > > Date: Thu, 2 Aug 2007 21:47:21 -0400 > > > From: "Ivan Z. Ganza" <iva...@gm... > > > > Subject: Re: [sdljava-users] joystick events without framebuffer? > > > To: "Discussion for users of sdljava" > > > < sdl...@li...> > > > Message-ID: > > > < 818...@ma...> > > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > > > Greetings, > > > > > > I think you should be able to but I havn't verified this. > > > > > > What you want to do is call SDL_INIT with only SDL_INIT_JOYSTICK. > > > > > > Have a look here: > > > http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fInit > > > > > > Have not tried this myself though. Let me know if it works. I'm no > > > sure if > > > you are supposed to be able to do this -- but I don't see > why not. If > > > you > > > are able to make it work with a simple C program then it should also > be > > > possible from sdljava. > > > > > > -Ivan/ > > > > > > On 7/30/07, C W < wa...@ya...> wrote: > > > > > > > > Greetings, > > > > I just started trying to use sdljava, and I am interested in the > > > > joystick interface. The test code SDLJoystickTest.java works fine, > but > > > I'd > > > > like to know if I can interface with a joystick without setting up = a > > > > framebuffer. > > > > > > > > If I comment out the lines associated with the framebuffer > variable, > > > > then I get an SDLException when SDLEvent.waitEvent() is called. Is > > > this > > > > the expected behavior? If so, is there a way I can use the joystick > > > > interface and events without having the framebuffer. > > > > > > > > Thanks, > > > > Chris > > > > > > > > ------------------------------ > > > > Boardwalk for $500? In 2007? Ha! > > > > Play Monopoly Here and Now< > http://us.rd.yahoo.com/evt=3D48223/*http://get.games.yahoo.com/proddesc?g= amekey=3Dmonopolyherenow > >(it's > > > updated for today's economy) at Yahoo! Games. > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX and a > > > browser. > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > _______________________________________________ > > > > sdljava-users mailing list > > > > sdl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > -------------- next part -------------- > > > An HTML attachment was scrubbed... > > > > > > ------------------------------ > > > > > > > ------------------------------------------------------------------------- > > > > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > ------------------------------ > > > > > > _______________________________________________ > > > sdljava-users mailing list > > > sdl...@li... > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > End of sdljava-users Digest, Vol 6, Issue 1 > > > ******************************************* > > > > > > > > > > > -- > > "N?o espero nada cair do c?u. Derrubo logo!! > > > > Garry Dias > > Rio de Janeiro, RJ, Brazil > > Contacts: > > Resid?ncial (home): 55 21 26575640 > > Trabalho (Job): 55 21 25014000 ramal 4038 > > E-mails: nin...@ya... > > gar...@gm... > > gar...@ho... > > mag...@ne... > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > sdljava-users mailing list > > sdl...@li... > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------ > > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > End of sdljava-users Digest, Vol 6, Issue 3 > ******************************************* > --=20 "N=E3o espero nada cair do c=E9u. Derrubo logo!! Garry Dias Rio de Janeiro, RJ, Brasil Contacts: Resid=EAncial (home): 55 21 26575640 Trabalho (Job): 55 21 25014000 ramal 4038 E-mails: nin...@ya... gar...@gm... gar...@ho... mag...@ne... |
From: Yoann M. <yoa...@et...> - 2007-08-05 11:38:47
|
Hi everyone, I'm a french postgraduate student in computer science applied to management = and I've learned a few things about programming during college. Few months ago, I was playing Bomberman 5 on the SNES and I thought about ma= king my own game. I had already heard about another project (led by another = french guy) around Bomberman : http://fury94.free.fr/ This guy used C++ and SDL to do it. I'm gonna explaining it quickly : Here is a website I made to present my project (and the SNES game) in French= . http://superbomberman5.free.fr I used Java, SDLJava (thank you) and FMODJava to do this game. A demo is ava= ilable on the website : http://superbomberman5.free.fr/Bomberman.rar You need Windows and JRE 1.6.0 to make it run. On my pc , the game runs at +60fps but if you don't have a great cpu it can = be slow. I guess it may come from both my way of programming and the SDLJava= (no offense). Any opinion would be good, i'm open to critics and reviews. You can reach me on the Contact page of the site (Name/Subject/Message) or h= ere of course. Thanks. |
From: Daniel M <rs....@gm...> - 2007-08-04 21:08:15
|
Hi, i am learning Java and was looking for a easy way to use SDL on it so here I am. I had some dificult and was wondering about a Netbeans packet/module, if it is possible to do, can anyone do this? (Maybe put on the site for download) Sorry for any english's mistake. Thx. |
From: Ivan G. <iva...@ya...> - 2007-08-03 16:23:27
|
Greetings, I think you should be able to but I haven't verified this. What you want to do is call SDL_INIT with only SDL_INIT_JOYSTICK. Have a look here: http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fInit Have not tried this myself though. Let me know if it works. I'm not sure if you are supposed to be able to do this -- but I don't see why not. If you are able to make it work with a simple C program then it should also be possible from sdljava. If it works from C but not sdljava then we need to fix sdljava so it works. -Ivan/ On 7/30/07, C W <wa...@ya...> wrote: > > Greetings, > I just started trying to use sdljava, and I am interested in the > joystick interface. The test code SDLJoystickTest.java works fine, but I'd > like to know if I can interface with a joystick without setting up a > framebuffer. > > If I comment out the lines associated with the framebuffer variable, > then I get an SDLException when SDLEvent.waitEvent() is called. Is this > the expected behavior? If so, is there a way I can use the joystick > interface and events without having the framebuffer. > > Thanks, > Chris > > ------------------------------ > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now<http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow>(it's updated for today's economy) at Yahoo! Games. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: Ivan G. <iva...@ya...> - 2007-08-03 16:21:48
|
Download any of the source releases (non-binary) and the sources are included. Or just get the sources from CVS. -Ivan/ On 8/3/07, Garry Dias <gar...@gm...> wrote: > > Hi all > > Where can I find the released sdljava source codes??? > > > > > > > > 2007/8/2, sdl...@li... <sdljava-users-requ= es...@li... > >: > > > > Send sdljava-users mailing list submissions to > > sdl...@li... > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > or, via email, send a message with subject or body 'help' to > > sdl...@li... > > > > You can reach the person managing the list at > > sdl...@li... > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of sdljava-users digest..." > > > > > > Today's Topics: > > > > 1. Re: (no subject) (Ivan Z. Ganza) > > 2. java3d and vecmath licensed as free software (Robert Schuster) > > 3. Re: java3d and vecmath licensed as free software (Robert Schuster) > > 4. Re: java3d and vecmath licensed as free software (Ivan Z. Ganza) > > 5. OT: Invitation to participate in research project (Ben Alex) > > 6. joystick events without framebuffer? (C W) > > 7. Re: joystick events without framebuffer? (Ivan Z. Ganza) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 27 May 2007 18:43:58 -0400 > > From: "Ivan Z. Ganza" <iva...@ya... > > > Subject: Re: [sdljava-users] (no subject) > > To: Discussion for users of sdljava > > < sdl...@li...> > > Message-ID: < 465...@ya...> > > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > > > Hi Thomas, > > > > I see the problem. The culprit is the code in SDLSurface.java : > > > > public int blitSurface(SDLRect src, SDLSurface dstSurface, SDLRect dst) > > throws SDLException { > > if(src =3D=3D null) { > > src =3D new SDLRect(0, 0, getWidth(), getHeight()); > > } > > if (dst =3D=3D null) { > > dst =3D new SDLRect(0, 0, -1, -1); > > } > > return SWIG_SDLVideo.SWIG_SDL_BlitSurface_FAST(swigSurface, > > src.getX(), > > src.getY(), > > src.getWidth(), > > src.getHeight(), > > dstSurface.getSwigSurface(), > > dst.getX(), > > dst.getY(), > > dst.getWidth(), > > dst.getHeight() > > ); > > } > > > > As you can see in the code I'm unwrapping the Rect, for speed, and only > > passing the values -- after the call there is only a status of the blit > > returned so SDLJava has no knowledge about updating the positions in th= e > > > > rect that you passed in the call. > > > > Hrrmmm....I have to admit I did not consider your scenerio. However I > > do think we need to support it. If the original SDL works that way, we > > should be doing the same thing in the java world. > > > > Its not clear to me how this can be done while still being fast. If we > > want to update the rect passed intot the java call, the rect has to be > > passed to the C code, _by value_, and then it will be updated in C and > > passed back again to java by value once again. This won't be very > > efficient. I could be wrong but right now I am fairly sure it will all > > by pass by value in this case. > > > > If I can figure out a way to fix this and still be efficient I will get > > the code in within a week or two. Not sure if you have the time but > > feel free to dig into the code if you wish....I'm happy to accept > > contributions. > > > > Cheers, > > -Ivan/ > > > > > > > > > > Thomas Beck wrote: > > > > >Hi @all! > > > > > >My name is Thomas, I'm a german software engeneer and I've got a > > problem with sdljava.I didn't get solved by extensively searching the > > web. > > > > > >Question: > > >Why is it not allowed to blit a surface onto another ( > > surface.blitsurface(SrcRect,screen,DestRect)by giving the rectangle > > negative values. For example: my Position on the main-surface where to = blit > > is DestRect.x=3D-200; DestRect.y=3D-10; DestRect.w=3D100;DestRect.h=3D1= 00 > > > > > >I read in the sdljava-doc that if the blitting succeeds the blitted > > coordinates are written back to the DestRect. When I do the blit, my > > DestRect.x is at -200 so I would think that the blitting was done > > without any errors - but the blitting was done on (0|0) - no matter wha= t > > negative values I choose...it's erverytime on (0|0) > > > > > >This blitting with negative values is very important for scrolling and > > is no problem in the c++ binding or the sdl.net binding..so is there a > > cause to do so? Or is it a bug (and if so.. will it be fixed) > > > > > >Greetings to all of you, Thomas > > > > > > > > > > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Wed, 13 Jun 2007 17:39:38 +0200 > > From: Robert Schuster <the...@gm...> > > Subject: [sdljava-users] java3d and vecmath licensed as free software > > To: sdl...@li... > > Message-ID: < 467...@gm...> > > Content-Type: text/plain; charset=3D"iso-8859-15" > > > > hi, > > unbelievable but true: java3d as well as the vecmath package are now > > licensed under the gpl + linking exception (what gnu classpath & openjd= k > > > > uses). > > > > now the vecmath in sdljava can be replaced with that. > > > > regards > > robert > > > > -------------- next part -------------- > > A non-text attachment was scrubbed... > > Name: signature.asc > > Type: application/pgp-signature > > Size: 252 bytes > > Desc: OpenPGP digital signature > > > > ------------------------------ > > > > Message: 3 > > Date: Wed, 13 Jun 2007 18:08:54 +0200 > > From: Robert Schuster < the...@gm...> > > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > > software > > To: Discussion for users of sdljava > > < sdl...@li...> > > Message-ID: < 467...@gm...> > > Content-Type: text/plain; charset=3D"iso-8859-15" > > > > and here is the link > > > > http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > > > regards > > robert > > > > Robert Schuster schrieb: > > > hi, > > > unbelievable but true: java3d as well as the vecmath package are now > > > licensed under the gpl + linking exception (what gnu classpath & > > openjdk > > > uses). > > > > > > now the vecmath in sdljava can be replaced with that. > > > > > > regards > > > robert > > > > > > > > > > > > > > -----------------------------------------------------------------------= - > > > > > > > > -----------------------------------------------------------------------= -- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > > > > > > > > > -----------------------------------------------------------------------= - > > > > > > _______________________________________________ > > > sdljava-users mailing list > > > sdl...@li... > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > -------------- next part -------------- > > A non-text attachment was scrubbed... > > Name: signature.asc > > Type: application/pgp-signature > > Size: 252 bytes > > Desc: OpenPGP digital signature > > > > ------------------------------ > > > > Message: 4 > > Date: Wed, 13 Jun 2007 22:32:20 -0400 > > From: "Ivan Z. Ganza" <iva...@ya... > > > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > > software > > To: Discussion for users of sdljava > > < sdl...@li... > > > Message-ID: <467...@ya...> > > Content-Type: text/plain; charset=3DISO-8859-15; format=3Dflowed > > > > Cool! Thanks for sending the info about this! > > > > Robert Schuster wrote: > > > > >and here is the link > > > > > > http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > > > > >regards > > >robert > > > > > >Robert Schuster schrieb: > > > > > > > > >>hi, > > >>unbelievable but true: java3d as well as the vecmath package are now > > >>licensed under the gpl + linking exception (what gnu classpath & > > openjdk > > >>uses). > > >> > > >>now the vecmath in sdljava can be replaced with that. > > >> > > >>regards > > >>robert > > >> > > >> > > >> > > >>---------------------------------------------------------------------= --- > > > > >> > > > > >>---------------------------------------------------------------------= ---- > > >>This SF.net email is sponsored by DB2 Express > > >>Download DB2 Express C - the FREE version of DB2 express and take > > >>control of your XML. No limits. Just data. Click to get it now. > > >> http://sourceforge.net/powerbar/db2/ > > >> > > >> > > >>---------------------------------------------------------------------= --- > > > > >> > > >>_______________________________________________ > > >>sdljava-users mailing list > > >>sdl...@li... > > >> https://lists.sourceforge.net/lists/listinfo/sdljava-users > > >> > > >> > > > > > > > > > > > >----------------------------------------------------------------------= -- > > > > > > > > > >----------------------------------------------------------------------= --- > > >This SF.net email is sponsored by DB2 Express > > >Download DB2 Express C - the FREE version of DB2 express and take > > >control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > > > > > >----------------------------------------------------------------------= -- > > > > > >_______________________________________________ > > >sdljava-users mailing list > > >sdl...@li... > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > > > > > > > > ------------------------------ > > > > Message: 5 > > Date: Mon, 25 Jun 2007 19:28:03 +1000 > > From: Ben Alex < ben...@st... > > > Subject: [sdljava-users] OT: Invitation to participate in research > > project > > To: sdl...@li... > > Message-ID: < E1I...@lu... > > > > > Hello there > > > > I would greatly appreciate a small amount of your time to assist with > > my doctoral research at The University of Newcastle. The research > > concerns open source licensing and we're seeking developers working on > > Java projects. The research is supervised, ethics-approved, anonymous > > and results will be freely available. Participation will also provide a > > custom licensing report for your project. To learn more, please visit: > > > > http://licensing-research.newcastle.edu.au > > > > Thanks for reading this email, and I hope you'll consider participating= . > > > > > > Best regards > > Ben Alex > > > > (My apologies for being off-topic; this list will not be emailed again) > > > > > > > > ------------------------------ > > > > Message: 6 > > Date: Sun, 29 Jul 2007 21:04:33 -0700 (PDT) > > From: C W < wa...@ya...> > > Subject: [sdljava-users] joystick events without framebuffer? > > To: sdl...@li... > > Message-ID: < 644...@we...> > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > Greetings, > > I just started trying to use sdljava, and I am interested in the > > joystick interface. The test code SDLJoystickTest.java works fine, but > > I'd like to know if I can interface with a joystick without setting up = a > > framebuffer. > > > > If I comment out the lines associated with the framebuffer variable, > > then I get an SDLException when SDLEvent.waitEvent() is called. Is this > > the expected behavior? If so, is there a way I can use the joystick > > interface and events without having the framebuffer. > > > > Thanks, > > Chris > > > > > > --------------------------------- > > Boardwalk for $500? In 2007? Ha! > > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! > > Games. > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > > > ------------------------------ > > > > Message: 7 > > Date: Thu, 2 Aug 2007 21:47:21 -0400 > > From: "Ivan Z. Ganza" <iva...@gm... > > > Subject: Re: [sdljava-users] joystick events without framebuffer? > > To: "Discussion for users of sdljava" > > < sdl...@li...> > > Message-ID: > > < 818...@ma...> > > Content-Type: text/plain; charset=3D"iso-8859-1" > > > > Greetings, > > > > I think you should be able to but I havn't verified this. > > > > What you want to do is call SDL_INIT with only SDL_INIT_JOYSTICK. > > > > Have a look here: > > http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fInit > > > > Have not tried this myself though. Let me know if it works. I'm no > > sure if > > you are supposed to be able to do this -- but I don't see why not. If > > you > > are able to make it work with a simple C program then it should also be > > possible from sdljava. > > > > -Ivan/ > > > > On 7/30/07, C W < wa...@ya...> wrote: > > > > > > Greetings, > > > I just started trying to use sdljava, and I am interested in the > > > joystick interface. The test code SDLJoystickTest.java works fine, bu= t > > I'd > > > like to know if I can interface with a joystick without setting up a > > > framebuffer. > > > > > > If I comment out the lines associated with the framebuffer variable= , > > > then I get an SDLException when SDLEvent.waitEvent() is called. Is > > this > > > the expected behavior? If so, is there a way I can use the joystick > > > interface and events without having the framebuffer. > > > > > > Thanks, > > > Chris > > > > > > ------------------------------ > > > Boardwalk for $500? In 2007? Ha! > > > Play Monopoly Here and Now<http://us.rd.yahoo.com/evt=3D48223/*http:/= /get.games.yahoo.com/proddesc?gamekey=3Dmonopolyherenow>(it's > > updated for today's economy) at Yahoo! Games. > > > > > > > > > > > -----------------------------------------------------------------------= -- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > sdljava-users mailing list > > > sdl...@li... > > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > > > ------------------------------ > > > > -----------------------------------------------------------------------= -- > > > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > ------------------------------ > > > > _______________________________________________ > > sdljava-users mailing list > > sdl...@li... > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > End of sdljava-users Digest, Vol 6, Issue 1 > > ******************************************* > > > > > > -- > "N=E3o espero nada cair do c=E9u. Derrubo logo!! > > Garry Dias > Rio de Janeiro, RJ, Brazil > Contacts: > Resid=EAncial (home): 55 21 26575640 > Trabalho (Job): 55 21 25014000 ramal 4038 > E-mails: nin...@ya... > gar...@gm... > gar...@ho... > mag...@ne... > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: Garry D. <gar...@gm...> - 2007-08-03 14:34:23
|
Hi all Where can I find the released sdljava source codes??? 2007/8/2, sdl...@li... <sdl...@li... >: > > Send sdljava-users mailing list submissions to > sdl...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/sdljava-users > or, via email, send a message with subject or body 'help' to > sdl...@li... > > You can reach the person managing the list at > sdl...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sdljava-users digest..." > > > Today's Topics: > > 1. Re: (no subject) (Ivan Z. Ganza) > 2. java3d and vecmath licensed as free software (Robert Schuster) > 3. Re: java3d and vecmath licensed as free software (Robert Schuster) > 4. Re: java3d and vecmath licensed as free software (Ivan Z. Ganza) > 5. OT: Invitation to participate in research project (Ben Alex) > 6. joystick events without framebuffer? (C W) > 7. Re: joystick events without framebuffer? (Ivan Z. Ganza) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 27 May 2007 18:43:58 -0400 > From: "Ivan Z. Ganza" <iva...@ya... > > Subject: Re: [sdljava-users] (no subject) > To: Discussion for users of sdljava > <sdl...@li...> > Message-ID: < 465...@ya...> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > Hi Thomas, > > I see the problem. The culprit is the code in SDLSurface.java : > > public int blitSurface(SDLRect src, SDLSurface dstSurface, SDLRect dst) > throws SDLException { > if(src =3D=3D null) { > src =3D new SDLRect(0, 0, getWidth(), getHeight()); > } > if (dst =3D=3D null) { > dst =3D new SDLRect(0, 0, -1, -1); > } > return SWIG_SDLVideo.SWIG_SDL_BlitSurface_FAST(swigSurface, > src.getX(), > src.getY(), > src.getWidth(), > src.getHeight(), > dstSurface.getSwigSurface(), > dst.getX(), > dst.getY(), > dst.getWidth(), > dst.getHeight() > ); > } > > As you can see in the code I'm unwrapping the Rect, for speed, and only > passing the values -- after the call there is only a status of the blit > returned so SDLJava has no knowledge about updating the positions in the > rect that you passed in the call. > > Hrrmmm....I have to admit I did not consider your scenerio. However I > do think we need to support it. If the original SDL works that way, we > should be doing the same thing in the java world. > > Its not clear to me how this can be done while still being fast. If we > want to update the rect passed intot the java call, the rect has to be > passed to the C code, _by value_, and then it will be updated in C and > passed back again to java by value once again. This won't be very > efficient. I could be wrong but right now I am fairly sure it will all > by pass by value in this case. > > If I can figure out a way to fix this and still be efficient I will get > the code in within a week or two. Not sure if you have the time but > feel free to dig into the code if you wish....I'm happy to accept > contributions. > > Cheers, > -Ivan/ > > > > > Thomas Beck wrote: > > >Hi @all! > > > >My name is Thomas, I'm a german software engeneer and I've got a problem > with sdljava.I didn't get solved by extensively searching the web. > > > >Question: > >Why is it not allowed to blit a surface onto another (surface.blitsurfac= e(SrcRect,screen,DestRect)by > giving the rectangle negative values. For example: my Position on the > main-surface where to blit is DestRect.x=3D-200; DestRect.y=3D-10; > DestRect.w=3D100;DestRect.h=3D100 > > > >I read in the sdljava-doc that if the blitting succeeds the blitted > coordinates are written back to the DestRect. When I do the blit, my > DestRect.x is at -200 so I would think that the blitting was done without > any errors - but the blitting was done on (0|0) - no matter what negative > values I choose...it's erverytime on (0|0) > > > >This blitting with negative values is very important for scrolling and i= s > no problem in the c++ binding or the sdl.net binding..so is there a cause > to do so? Or is it a bug (and if so.. will it be fixed) > > > >Greetings to all of you, Thomas > > > > > > > > > ------------------------------ > > Message: 2 > Date: Wed, 13 Jun 2007 17:39:38 +0200 > From: Robert Schuster <the...@gm...> > Subject: [sdljava-users] java3d and vecmath licensed as free software > To: sdl...@li... > Message-ID: <467...@gm...> > Content-Type: text/plain; charset=3D"iso-8859-15" > > hi, > unbelievable but true: java3d as well as the vecmath package are now > licensed under the gpl + linking exception (what gnu classpath & openjdk > uses). > > now the vecmath in sdljava can be replaced with that. > > regards > robert > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 252 bytes > Desc: OpenPGP digital signature > > ------------------------------ > > Message: 3 > Date: Wed, 13 Jun 2007 18:08:54 +0200 > From: Robert Schuster <the...@gm...> > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > software > To: Discussion for users of sdljava > <sdl...@li...> > Message-ID: < 467...@gm...> > Content-Type: text/plain; charset=3D"iso-8859-15" > > and here is the link > > http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > regards > robert > > Robert Schuster schrieb: > > hi, > > unbelievable but true: java3d as well as the vecmath package are now > > licensed under the gpl + linking exception (what gnu classpath & openjd= k > > > uses). > > > > now the vecmath in sdljava can be replaced with that. > > > > regards > > robert > > > > > > > > -----------------------------------------------------------------------= - > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > > > > > -----------------------------------------------------------------------= - > > > > > _______________________________________________ > > sdljava-users mailing list > > sdl...@li... > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 252 bytes > Desc: OpenPGP digital signature > > ------------------------------ > > Message: 4 > Date: Wed, 13 Jun 2007 22:32:20 -0400 > From: "Ivan Z. Ganza" <iva...@ya... > > Subject: Re: [sdljava-users] java3d and vecmath licensed as free > software > To: Discussion for users of sdljava > <sdl...@li... > > Message-ID: <467...@ya...> > Content-Type: text/plain; charset=3DISO-8859-15; format=3Dflowed > > Cool! Thanks for sending the info about this! > > Robert Schuster wrote: > > >and here is the link > > > >http://forums.java.net/jive/thread.jspa?threadID=3D27494 > > > >regards > >robert > > > >Robert Schuster schrieb: > > > > > >>hi, > >>unbelievable but true: java3d as well as the vecmath package are now > >>licensed under the gpl + linking exception (what gnu classpath & openjd= k > > >>uses). > >> > >>now the vecmath in sdljava can be replaced with that. > >> > >>regards > >>robert > >> > >> > >> > >>-----------------------------------------------------------------------= - > > >> > > >>-----------------------------------------------------------------------= -- > >>This SF.net email is sponsored by DB2 Express > >>Download DB2 Express C - the FREE version of DB2 express and take > >>control of your XML. No limits. Just data. Click to get it now. > >>http://sourceforge.net/powerbar/db2/ > >> > >> > >>-----------------------------------------------------------------------= - > > >> > >>_______________________________________________ > >>sdljava-users mailing list > >>sdl...@li... > >> https://lists.sourceforge.net/lists/listinfo/sdljava-users > >> > >> > > > > > > > >------------------------------------------------------------------------ > > > >------------------------------------------------------------------------= - > >This SF.net email is sponsored by DB2 Express > >Download DB2 Express C - the FREE version of DB2 express and take > >control of your XML. No limits. Just data. Click to get it now. > >http://sourceforge.net/powerbar/db2/ > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >sdljava-users mailing list > >sdl...@li... > >https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > > ------------------------------ > > Message: 5 > Date: Mon, 25 Jun 2007 19:28:03 +1000 > From: Ben Alex <ben...@st... > > Subject: [sdljava-users] OT: Invitation to participate in research > project > To: sdl...@li... > Message-ID: < E1I...@lu...> > > Hello there > > I would greatly appreciate a small amount of your time to assist with > my doctoral research at The University of Newcastle. The research > concerns open source licensing and we're seeking developers working on > Java projects. The research is supervised, ethics-approved, anonymous > and results will be freely available. Participation will also provide a > custom licensing report for your project. To learn more, please visit: > > http://licensing-research.newcastle.edu.au > > Thanks for reading this email, and I hope you'll consider participating. > > Best regards > Ben Alex > > (My apologies for being off-topic; this list will not be emailed again) > > > > ------------------------------ > > Message: 6 > Date: Sun, 29 Jul 2007 21:04:33 -0700 (PDT) > From: C W < wa...@ya...> > Subject: [sdljava-users] joystick events without framebuffer? > To: sdl...@li... > Message-ID: < 644...@we...> > Content-Type: text/plain; charset=3D"iso-8859-1" > > Greetings, > I just started trying to use sdljava, and I am interested in the joystick > interface. The test code SDLJoystickTest.java works fine, but I'd like to > know if I can interface with a joystick without setting up a framebuffer. > > If I comment out the lines associated with the framebuffer variable, then > I get an SDLException when SDLEvent.waitEvent() is called. Is this the > expected behavior? If so, is there a way I can use the joystick interface > and events without having the framebuffer. > > Thanks, > Chris > > > --------------------------------- > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! > Games. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 7 > Date: Thu, 2 Aug 2007 21:47:21 -0400 > From: "Ivan Z. Ganza" <iva...@gm...> > Subject: Re: [sdljava-users] joystick events without framebuffer? > To: "Discussion for users of sdljava" > <sdl...@li...> > Message-ID: > < 818...@ma...> > Content-Type: text/plain; charset=3D"iso-8859-1" > > Greetings, > > I think you should be able to but I havn't verified this. > > What you want to do is call SDL_INIT with only SDL_INIT_JOYSTICK. > > Have a look here: > http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fInit > > Have not tried this myself though. Let me know if it works. I'm no sure > if > you are supposed to be able to do this -- but I don't see why not. If > you > are able to make it work with a simple C program then it should also be > possible from sdljava. > > -Ivan/ > > On 7/30/07, C W < wa...@ya...> wrote: > > > > Greetings, > > I just started trying to use sdljava, and I am interested in the > > joystick interface. The test code SDLJoystickTest.java works fine, but > I'd > > like to know if I can interface with a joystick without setting up a > > framebuffer. > > > > If I comment out the lines associated with the framebuffer variable, > > then I get an SDLException when SDLEvent.waitEvent() is called. Is this > > the expected behavior? If so, is there a way I can use the joystick > > interface and events without having the framebuffer. > > > > Thanks, > > Chris > > > > ------------------------------ > > Boardwalk for $500? In 2007? Ha! > > Play Monopoly Here and Now<http://us.rd.yahoo.com/evt=3D48223/*http://g= et.games.yahoo.com/proddesc?gamekey=3Dmonopolyherenow>(it's > updated for today's economy) at Yahoo! Games. > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > sdljava-users mailing list > > sdl...@li... > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------ > > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > End of sdljava-users Digest, Vol 6, Issue 1 > ******************************************* > --=20 "N=E3o espero nada cair do c=E9u. Derrubo logo!! Garry Dias Rio de Janeiro, RJ, Brazil Contacts: Resid=EAncial (home): 55 21 26575640 Trabalho (Job): 55 21 25014000 ramal 4038 E-mails: nin...@ya... gar...@gm... gar...@ho... mag...@ne... |
From: Ivan Z. G. <iva...@gm...> - 2007-08-03 01:47:24
|
Greetings, I think you should be able to but I havn't verified this. What you want to do is call SDL_INIT with only SDL_INIT_JOYSTICK. Have a look here: http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fInit Have not tried this myself though. Let me know if it works. I'm no sure if you are supposed to be able to do this -- but I don't see why not. If you are able to make it work with a simple C program then it should also be possible from sdljava. -Ivan/ On 7/30/07, C W <wa...@ya...> wrote: > > Greetings, > I just started trying to use sdljava, and I am interested in the > joystick interface. The test code SDLJoystickTest.java works fine, but I'd > like to know if I can interface with a joystick without setting up a > framebuffer. > > If I comment out the lines associated with the framebuffer variable, > then I get an SDLException when SDLEvent.waitEvent() is called. Is this > the expected behavior? If so, is there a way I can use the joystick > interface and events without having the framebuffer. > > Thanks, > Chris > > ------------------------------ > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now<http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow>(it's updated for today's economy) at Yahoo! Games. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: C W <wa...@ya...> - 2007-07-30 04:04:42
|
Greetings, I just started trying to use sdljava, and I am interested in the joystick interface. The test code SDLJoystickTest.java works fine, but I'd like to know if I can interface with a joystick without setting up a framebuffer. If I comment out the lines associated with the framebuffer variable, then I get an SDLException when SDLEvent.waitEvent() is called. Is this the expected behavior? If so, is there a way I can use the joystick interface and events without having the framebuffer. Thanks, Chris --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. |