Go Back   the Magicball Network > Forums > LBA Projects > TwinEngine
Buy LBA1/Relentless from GOG.com Buy LBA1/Relentless from DotEmu Buy LBA2/Twinsen's Odyssey from DotEmu Buy LBA2/Twinsen's Odyssey from GOG.com Buy Little big Adventure from GOG.com or DotEmu Buy Little big Adventure 2 from DotEmu or GOG.com

Welcome to the Magicball Network.

You are currently viewing our site as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

TwinEngine An opensource reimplementation of the Little Big Adventure game engine. [url]http://twin-e.googlecode.com[/url]

Reply
 
Thread Tools
  #1  
Old 2008-05-20, 22:57
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
Twinsun Prequengine progress!!

I decide to create this thread to put the engine progress. May be useful to keep track on the project.

I manage to fix and add few things:
- Fixed screen image delay.
- Fixed skip screen image key.
- Fixed CPU usage (50% to 2% +/-).
- Create the keyboard handle.
- Manage to create the main menu (working without Text yet).
- Main menu working with Fire Effetcs and user can browse throw the buttons.
- Added play theme music while in main menu.
- Added support to play MP3 tracks instead of CD Tracks. (This will allow us to reduce a lot the disk space - 85% of the CD tracks space +/-)
- Created sourceforge account for the project so we can have the version revisions. (http://sourceforge.net/projects/prequengine)
- Images fade in and out like original game with options to turn it into a cross fade (fade to another image).
- Open and Play FLA movies.
- FLA in fullscreen like in the original game. (I just notice it is a bit stretch, but its the way they use the fla movies resolution 320x200 instead of 320x240). Made option to turn the stretch off and make the movies play in wide more.
- FLA movies playing with samples. (not yet working directly from HQR file)
- FLA movies with fade in and fade out frames like original

Tested but not done:
- Play FLA samples from HQR and not from single files (need an HQR lib rewrite)

Next step:
- Play midis from intro logo and FLA movie (yeah, FLA also use midi musics while playing samples)
- Movies Support at 640x480 (AVI and other extensions if possible)
- Add text support and include it in main menu.
- Create all the other menus
- Start making the actual game engine
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #2  
Old 2008-05-25, 18:30
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
I made the first SVN port here: http://prequengine.svn.sourceforge.n...c/prequengine/
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #3  
Old 2008-05-25, 20:52
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 23,836
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame
good good.
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #4  
Old 2008-05-26, 09:19
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
There still some things to fix for Unix, some warnings and a problem allocating memory for fla movies. Probably will need to make a intermediare filereader with a small buffer to read te content. Windows port is without problems right now.
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #5  
Old 2008-05-26, 15:19
TransDiv TransDiv is offline
Magic Level: Yellow Ball
 
Join Date: May 2008
Posts: 11
Nice Project

You also can compile with MINGW in the WinXP enviroment using this makefile :

all: prequengine

CC=gcc
SDL_LIBS = -lSDLmain -lSDL -lSDL_mixer
OBJS=dialogues.o resources.o movies.o sdlengine.o hqrdepack.o images.o sound.o music.o menuoptions.o menu.o main.o
LIBS= -mwindows -lmingw32 $(SDL_LIBS)

prequengine: $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBS)

.c.o:
$(CC) -c $< -o $@

clean:
@del $(OBJS)
@del prequengine.exe
@del *.bak
@del stderr.txt
@del stdout.txt


I use the mingw compiler that comes embedded in DevCpp 4.0 ; I only need to setup the compiler location in the PATH enviroment variable : "C:\Dev-Cpp\bin" and use make -fMakefile2 in a console window that opens in the source directory.

Libs : SDL v1.2.11 & SDL_Mixer v1.2.8

Greats
TransDiv
Reply With Quote
  #6  
Old 2008-05-26, 16:20
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
Hey TransDiv,
I already have mingw isntalled in my winXP, but never tryied yet to create the makefile for it. Many thanks for this makefile, it will help me alot. As soon as possible I'll try it and give you some feedback about it.
Btw, you can help this project if you have skills in C programming http://lbaprequel.xesf.net for more informations
Many thanks again for this help,
Alex
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #7  
Old 2008-05-28, 00:14
TransDiv TransDiv is offline
Magic Level: Yellow Ball
 
Join Date: May 2008
Posts: 11
Thanks but my level of C is too low for that and my knowledge of C++ is more theoretical than practice. Anyway I'am relearning C++ & SDL for a little personal project of mine and maybe in a near future can help in the project; Not like a main coder but in a secondary position.

Greats
Transdiv
Reply With Quote
  #8  
Old 2008-05-28, 10:13
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
Okay, no problem. Just let me a note by e-mail or PM when you will be ready to do something. All help is welcome at this stage.
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #9  
Old 2008-06-02, 20:28
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
I manage to load and display grids, fast and with few memory usage. Still have a little memory leak I didn't find yet, but its a minor thing. Anyway, I need to comment all the code and improve it a little to went for the next step.
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #10  
Old 2008-06-02, 23:05
Lupin's Avatar
Lupin Lupin is offline
Previously Link
 
Join Date: Dec 2001
Location: Paris
Posts: 2,762
Good job man !
Reply With Quote
  #11  
Old 2008-07-02, 21:32
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
A little update since this past month:
- Make disappearing celling grids;
- Scene change with crossfade and like original fade in/out;
- Celling grids with crossfade only;
- Make Options, Advanced and Volume menus;
- Volume menus are working and updating the volume values;
- Put in-game options menu while pressing F6;
- Scenes loading routines (still need to make script processing);
- Play scene musics;
- Apply Hero coordinates to center the engine camera.
- Draw sprite actors (still need to draw grids over sprites)
- and a lot non-visible code;

As debug:
- Change camera position in scene;
- Change scene&grid;
- Change celling grid
- Show/Hide zone areas;
- and a bunch of print out text;


---


Here's some of the last results:

An image of a secret chamber most of you probably never enter in it




First steps on drawing sprite actors

Attached Thumbnails
Click image for larger version

Name:	img1.JPG‎
Views:	2075
Size:	82.4 KB
ID:	7630   Click image for larger version

Name:	img2.JPG‎
Views:	2056
Size:	93.6 KB
ID:	7631  
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website

Last edited by xesf; 2008-07-02 at 22:08.
Reply With Quote
  #12  
Old 2008-07-02, 21:47
Torch's Avatar
Torch Torch is offline
...
 
Join Date: Mar 2007
Posts: 66
Can't wait for Prequel... anyway, am I the only one seeing red crosses...
__________________
This statement is false
It's a paradox, stupid!

~ Check out the new front page! ~
[ Profile | Steam | Pm ]
Reply With Quote
  #13  
Old 2008-07-02, 21:52
Kobold's Avatar
Kobold Kobold is offline
Magic Ball Master
 
Join Date: Jun 2006
Location: Germany
Posts: 7,337
No you're not. I don't see any images at all.
Reply With Quote
  #14  
Old 2008-07-02, 22:08
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
Sorry, those image were in a private forum.

Can you see them now?!
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #15  
Old 2008-07-02, 22:20
Torch's Avatar
Torch Torch is offline
...
 
Join Date: Mar 2007
Posts: 66
Yes, I can now. It's looking great (never knew about that room, but LBA2 is my speciality), but I'm sure you've noticed the sprites are overlapping the bricks... or at least the mesh fence in the second screenie is...
__________________
This statement is false
It's a paradox, stupid!

~ Check out the new front page! ~
[ Profile | Steam | Pm ]
Reply With Quote
  #16  
Old 2008-07-02, 22:42
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
Yep, they are, its something I need to fix in the next step.
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #17  
Old 2008-07-03, 18:02
RobG's Avatar
RobG RobG is offline
HMMV
 
Join Date: Aug 2007
Location: South Africa
Posts: 213
Send a message via MSN to RobG
Great job Alex. Looking good.
__________________

Reply With Quote
  #18  
Old 2008-07-03, 19:12
Lupin's Avatar
Lupin Lupin is offline
Previously Link
 
Join Date: Dec 2001
Location: Paris
Posts: 2,762
Yeah, that's cool man ! Keep going !
Reply With Quote
  #19  
Old 2008-07-05, 10:01
Armageddon's Avatar
Armageddon Armageddon is offline
Twinsun Liberator
 
Join Date: May 2008
Location: melbourne
Posts: 513
Send a message via MSN to Armageddon
i wish i could be part of the prequel team.
Reply With Quote
  #20  
Old 2008-07-05, 15:13
Torch's Avatar
Torch Torch is offline
...
 
Join Date: Mar 2007
Posts: 66
Quote:
Originally Posted by the lone warior View Post
i wish i could be part of the prequel team.
Ask 'em and tell 'em what you're good at then!
__________________
This statement is false
It's a paradox, stupid!

~ Check out the new front page! ~
[ Profile | Steam | Pm ]
Reply With Quote
  #21  
Old 2008-09-27, 17:14
Warwick's Avatar
Warwick Warwick is offline
Pedobear
 
Join Date: May 2007
Location: Zoe's Womb
Posts: 44
Well the price of using C is the risk of all the memory leaks and stacks, and the fact that it's very hard to trace em down without the use of a third-party software-debugger..

<3 Ollydbg
Reply With Quote
  #22  
Old 2008-09-27, 18:16
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
Yes, it is, but also make us do this engine faster since its based on twin-e.
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #23  
Old 2008-09-27, 20:08
Warwick's Avatar
Warwick Warwick is offline
Pedobear
 
Join Date: May 2007
Location: Zoe's Womb
Posts: 44
Nothing like old stuff, seriously.
__________________
http://img217.imageshack.us/img217/2574/discqf3.jpg

Original Russian LBA. Talk to me privately for more details.
Reply With Quote
  #24  
Old 2008-09-27, 21:54
xesf's Avatar
xesf xesf is offline
Magic Ball Master
 
Join Date: Sep 2002
Location: Dublin
Posts: 7,808
I like old stuffs a lot
__________________
Personal Blog - blog.xesf.net

TwinEngine v0.2.1 win32 beta released - open source re-implementation of the LBA 1 original engine.
[Discuss]|[Download]|[Changes]|[SourceCode]|[Issues]


The Sacred Carrot website
Reply With Quote
  #25  
Old 2008-12-02, 02:07
Randebile Randebile is offline
Banned
 
Join Date: Jun 2004
Location: Netherlands
Posts: 422
can i join the Prequel team?

i am good on drawing
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prequengine Progress xesf TwinEngine 126 2009-12-16 01:27
Progress... Dino-Fly Little Big Racing Adventure 3 2008-03-26 04:31
Progress Sitenl The Relentless Movie project 29 2003-06-15 11:37
Just my progress... CrOvAx Fan Maps 41 2001-11-10 16:04
Progress? Rex_Hollywood LBA DM 76 2001-10-28 17:55


All times are GMT +2. The time now is 14:54.


News Feed
Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright ©2000 - 2019, the Magicball Network