PDA

View Full Version : Example 2d using JEDI



Snipes
05-03-2005, 03:20 AM
Send me an basic example in 2d using JEDI.

email: tiosnipa@gmail.com

thanks.

cairnswm
05-03-2005, 06:27 AM
Here is an example of creating a 2D platform game in JEDI-SDL - was entered in a 72hour game dev contest and finished 11 of 25:

http://www.cairnsgames.co.za/gdc72/foogs.zip
http://www.cairnsgames.co.za/gdc72/foogssrc.zip

you need both as the Source does not include the graphics.

WILL
05-03-2005, 11:42 AM
Send me an basic example in 2d using JEDI.

email: tiosnipa@gmail.com

thanks.
First off, welcome to PGD. I'm glad you have registered as a member here. :)

Some friendly advice; though we really do like to help others, and very often do, it would sound a lot nicer and might promote a nicer response from people. (though you did get lucky as cairnswm is a rather nice guy, others might not reflect on such a 'request' in as nice a way as he did) Please bare this in mind when asking for things on the forums, it makes things more pleasent for everyone involved. ;)

Best of luck with your JEDI-SDL project, I hope you find your efforts fruitfull.

balog
05-03-2005, 12:24 PM
Hi William.

I wouldn't mind having a look at the sdl/platform game as well, if thats ok.

When I went to download it, it said "Page cannot be displayed". Would it be possible to get it emailed to me or something (bl1976@gmail.com). Sorry for the hassle.

Thank you,

balog

Snipes
06-03-2005, 02:43 AM
Send me an basic example in 2d using JEDI.

email: tiosnipa@gmail.com

thanks.
First off, welcome to PGD. I'm glad you have registered as a member here. :)

Some friendly advice; though we really do like to help others, and very often do, it would sound a lot nicer and might promote a nicer response from people. (though you did get lucky as cairnswm is a rather nice guy, others might not reflect on such a 'request' in as nice a way as he did) Please bare this in mind when asking for things on the forums, it makes things more pleasent for everyone involved. ;)

Best of luck with your JEDI-SDL project, I hope you find your efforts fruitfull.

Thanks, sorry my bad english.


I wouldn't mind having a look at the sdl/platform game as well, if thats ok.
When I went to download it, it said "Page cannot be displayed".


UP :D

savage
06-03-2005, 09:57 AM
There's a platform game example of JEDI-SDL over @ http://www.n0ki.de/jump/, I have not looked at the code, but maybe it would prove usefull.

cairnswm
07-03-2005, 04:46 AM
Sorry everyone - I gave the wrong URLs above - I have fixed them in my previous post but they are here as well

http://www.cairnsgames.co.za/gdc72/foogs.zip
http://www.cairnsgames.co.za/gdc72/foogssrc.zip

blackvoid
06-09-2006, 12:22 PM
I have tried this:
The exe starts, 2 black windows open then close.
The source code does not compile at all - there are various errors, fixing one causes another. It is Delphi 7, with SDL 0.5. Most of the SDL demos run fine.

cairnswm
06-09-2006, 12:32 PM
These examples are very old. I'd need to download them myself and set everything up to get them to compile :(

What errors did you get when trying to compile?

blackvoid
06-09-2006, 12:55 PM
No, its not that big deal. I am looking for an unDelphiX replacement, but JEDI SDL does not seems to be an improvement. And it shows that this is coming from Linux or Linux guys program it, because it is not user friendly at all. No units? Only a few basic demos. Everything has to be done by coding. :roll:

I have tried the isometric demo and at 1024x768 it takes a big FPS hit.

We will likely stick with unDelphix, because other engines would require a complete rewrite of our GUI wich uses standard forms at the moment.

jdarling
06-09-2006, 01:11 PM
Had you not said "excuse your english" above some of us would have taken the comment in a negative manor. Try looking at Project Phoenix (http://www.pascalgamedevelopment.com/forums/viewtopic.php?t=3345&start=150) its basically a wrapper for S2DL into a game engine. There are links to a version that has Lua built in (5.0.2 I'm working on the 5.1 upgrade right now) and works quite well. I've even went as far as to start to build a sample game in the basic version.

unDelphiX is quite old and in some cases just doesn't work. True that SDL has its down falls, but it compiles in FPC and runs fine on Max OS X, Linux, Windows, and some others. Take that into consideration when your deciding on what rendering engine to use.

Phoenix also has all of the DLL's you will need for windows, its a bit more difficult when it comes to the Linux .SO and .A distros.

cairnswm
06-09-2006, 01:24 PM
Try looking at Project Phoenix its basically a wrapper for S2DL into a game engine.

Not quite

The Phoenix engine and the S2DL engine have a similar architecture. BUT the Phoenix engine is based on OpenGL only calls while S2DL is a set of wrappers around SDL that utilises OpenGL for tasks that are not available in SDL.

I think you ment Phoenix is a wrapper for OpenGL into a game engine.

Back on topic
I started with DelphiX, I found it behaved very differently on various PCs and was therefore very unreliable, I tried GLXtreem and encountered the same problems. I find that SDL is the most reliable and consistent accross PCs.

S2DL and Phoenix both use a similar architecture to DelphiX for developing games. However they do not wrap the classes as components. The programmer is responsible for creaqting and destroying the classes when needed. I believe this gives the developer more control, also moves away from VCL bloat and allows better data structure design within the game.

WILL
06-09-2006, 04:11 PM
I am looking for an unDelphiX replacement, but JEDI SDL does not seems to be an improvement. And it shows that this is coming from Linux or Linux guys program it, because it is not user friendly at all. No units? Only a few basic demos. Everything has to be done by coding. :roll:

Now I'm not trying to be mean here, but there are a few thing said here that don't match up with a game programmer's mindset. At least not one of which is looking to improve the quality of his work.

DelphiX or the follow-up UnDelphiX, was designed for those that where beginners to game and graphics programming. It was made to make it 'easy' for programmers to make games and other such programs. To say that you have to do everything in code is a laughible reason to not use an engine by a novice game developer.

To base the performance on any graphics or game engine on demos or examples that do not work is foolhardy. JEDI-SDL has lots of demos. Have you downloaded the package from it's site?

Also, you mentioned before that you where looking for a GUI? There is a project that was created to make SDL-based components that can be created and used in your games/projects, etc. I can dig it up in a bit.

It should also be noted that S2DL and Phoenix is not JEDI-SDL, but seperate projects that do not represent the performance of JEDI-SDL, for that be sure to try the JEDI-SDL examples that come in the package.

WILL
06-09-2006, 04:33 PM
Current JEDI-SDL Page at the JEDI site: http://www.delphi-jedi.org/Jedi:TEAM_SDL_HOME
JEDI-SDL Project under SourceForge: http://sourceforge.net/projects/jedi-sdl/

Stojkovic's SDL Page(you'll find the GUI-type libraries here): http://sdlcontrols.sourceforge.net/

And if you really want to learn what SDL can do: http://www.libsdl.org/