Go Back   the Magicball Network > Forums > LBA Projects > Little Script Adventure
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.

Little Script Adventure An open-source 3D engine with assets and tools for all future LBA fan-games.

Reply
 
Thread Tools
  #151  
Old 2009-06-19, 12:47
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,684
Quote:
Originally Posted by Jasiek View Post
You should make it transparent with fuzzy egdes fo tif LBA more.
don't undestand that..

Yes I first thought doing it that way but since there are many quads drawn here it has to be static geometry (vertex buffer or display list) , like the whole scene actually.
memory space is : 20x 256x256x4 = 5.24Mo
or 20x 128x128x4 = 1.31Mo with low quality.

Could you upload grass sprite with alpha channel like png ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #152  
Old 2009-06-19, 16:14
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,684
well here is a demo with LOT of grass
http://www.mediafire.com/?n0x3nkt3qe5
I got 500 fps with an ASUS EAH3850 Series (work) and 5 fps with GeForce5200. (home). That's insane !! FPS is computed with the app FRAPS you can get on my project page
in this demo, the CPU doesn't do anything at all. Only the graphic card do the job.
Try it and tell me your FPS !!

edit : I forgot to add a random size factor, and maybe I'll add also a random darkness factor.
Wind intensity and behaviour coud be more controlled playing with active texture.
I'm really stuck with that geforce, I'll keep developing on 320x240
__________________
Little Script Adventure[thread][download]

Last edited by David; 2009-06-19 at 17:00.
Reply With Quote
  #153  
Old 2009-06-19, 17:40
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
works great here.
Especialy looks good with the camera low.

Cant wait to see it with a alpha-channeled sprite though. Will probably add a lot more work for the gpu, but will remove that black pixaly effect and should look vastely better.
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #154  
Old 2009-06-19, 17:56
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,684
it actually IS alpha channeled ! Otherwhise you couldn't see through the grass. Try to open texture material_grassXXXX.tga
But I only perform an alpha test here, I can adjsut it better and also add alpha blending. I think last option is what you are talking about.
Take a look at opengl redbook for more details.
http://www710.univ-lyon1.fr/~jciehl/...L_PG/ch07.html
__________________
Little Script Adventure[thread][download]

Last edited by David; 2009-06-19 at 18:11.
Reply With Quote
  #155  
Old 2009-06-19, 19:38
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
I meant a full alpha channel, that is, variable transparency. (RGBA)
What it looks like at the moment is you have a particular colour mapped to transparent, or at least, are only having the alpha channel as a yes/no extremes.

We shoudnt be seeing any of that black on the edges of the grass when zoomed in idly.
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #156  
Old 2009-06-19, 21:05
leoboe's Avatar
leoboe leoboe is offline
Magic Ball Master
 
Join Date: Apr 2007
Location: Germany
Posts: 1,157
My FPS remains constantly between 30 and 60 (nothing more and nothing less)
CPU is 2-5%

I've got a GeForce 8800 GTS 340
(with forced Antialiasing x16 Antisotrophic)
Reply With Quote
  #157  
Old 2009-06-20, 16:55
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,684
Darkflame :
I'm doing an alpha test for transparency. If alpha < X, then nothing is displayed at all. If alpha >= X, texel is shown without any blending operation. The problem is the value of X, I raised it and now there are no black borders.

Leoboe :
Thanks for the info. That 2-5 % is normal, because there is nothing computed in that demo, it's all static geometry (yes, even the grass is static !!).
When I will add character animation, I will have to add mesh deformation (skinning) computing and also path finding, I think it will raise to 100%.
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #158  
Old 2009-06-20, 19:51
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
ah, righto
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #159  
Old 2009-06-20, 20:12
Homeless's Avatar
Homeless Homeless is offline
Zebrazilla
 
Join Date: Oct 2002
Posts: 4,053
Call me lazy if you will, but deciphering this thread is beyond me currently. Tell me, what is this all about? A summarization would be appreciated.
__________________

LBA Speedruns
Personal Best - LBA 1 - Any% PC - Time: 01h 04m 23s
Personal Best - LBA 1 - Any% Android - Time: 01h 04m 35s
Reply With Quote
  #160  
Old 2009-06-20, 20:17
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
A new engine for LBA.
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #161  
Old 2009-06-20, 20:21
Homeless's Avatar
Homeless Homeless is offline
Zebrazilla
 
Join Date: Oct 2002
Posts: 4,053
In which way does this differ from TwinEngine and Prequengine? What's the goal?
__________________

LBA Speedruns
Personal Best - LBA 1 - Any% PC - Time: 01h 04m 23s
Personal Best - LBA 1 - Any% Android - Time: 01h 04m 35s
Reply With Quote
  #162  
Old 2009-06-20, 22:37
Medur's Avatar
Medur Medur is offline
LBA fan
 
Join Date: Apr 2001
Location: São Paulo, Brazil
Posts: 2,975
The goal is to have fancy graphics, I believe.
Reply With Quote
  #163  
Old 2009-06-20, 22:45
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
Thats a nice side effect :P

Homeless - Have you seen the videos?

http://www.youtube.com/watch?v=Zjsj-oZdYAM
(very old one now)
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #164  
Old 2009-06-20, 23:49
LBAWinOwns's Avatar
LBAWinOwns LBAWinOwns is offline
Magic Ball Master
 
Join Date: Mar 2004
Location: Sweden
Posts: 5,570
Send a message via MSN to LBAWinOwns
Quote:
Originally Posted by Darkflame View Post
A new engine for LBA.
What?

Are you certain this isn't only a grid-rendering engine project like the first release of LBArchitect. Only this aren't trying to mimic LBA's graphics. It instead tries to show 3D-graphics, using the fact that LBA actually is 3D.
__________________

LBA Image Creator project
(image by leoboe! )

Get the Jump-Save-Bug graphically explained here
Reply With Quote
  #165  
Old 2009-06-21, 00:33
Bot13's Avatar
Bot13 Bot13 is offline
Look beyond reality.
 
Join Date: Aug 2004
Location: Fortress Island.
Posts: 2,686
Do I understand correctly that it reads the location of objects in LBA scenes? So that when we're through with all the fancy graphics we can convert all LBA scenes with a flip of a switch?
__________________
Quote:
Originally Posted by ChaosFish View Post
Did you know? Over 30 million people lurk the MBN every day. We who actually post here are like celebrities to them.
Reply With Quote
  #166  
Old 2009-06-21, 15:05
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
Yes...ish.
You cant do it at a flick of a switch exactly without a very polygon intensive scene, as there would be much redundancy.
But it can already export a 3D mesh from any isometric scene from LBA, which can then be edited/touched up/optimised in 3d software.
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #167  
Old 2009-06-21, 19:51
Bot13's Avatar
Bot13 Bot13 is offline
Look beyond reality.
 
Join Date: Aug 2004
Location: Fortress Island.
Posts: 2,686
But as LBA doesn't use a 3D engine, we can't use that one. So all implemented programming (interaction, health, story, events) in that old engine would have to be redone.
__________________
Quote:
Originally Posted by ChaosFish View Post
Did you know? Over 30 million people lurk the MBN every day. We who actually post here are like celebrities to them.
Reply With Quote
  #168  
Old 2009-06-22, 08:21
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
david38 plans to use LUA scripting for that stuff, I believe
(mentioned back a on page 4)
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #169  
Old 2009-06-22, 10:36
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,684
LSA is two things

- a set of useful tools
- a game engine completely connected to Blender and Lua scripts

Perspective Map viewer reads map from LBA and shows it in a fancy way, in perspective / fake 3D. It exports map to OBJ, only for designing new maps like the one made Jasiek The video darkflame refers to is a great demo made by RobG I got inspired to make that tool.
The game engine doesn't read any data from original game. It uses it's own readable text file maps and 3D models generated from Blender by python scripts, and will read lua game scripts for dialogs, scenarios, bot behaviour etc...
Hope that makes things clearer
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #170  
Old 2009-06-22, 10:43
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
Whoops, sorry, link to the wrong vid :P (I had that on my favorates)

Anyway, this is all fantastic work so far.
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #171  
Old 2009-06-22, 16:12
leoboe's Avatar
leoboe leoboe is offline
Magic Ball Master
 
Join Date: Apr 2007
Location: Germany
Posts: 1,157
But there's one point I still don't understand.

In every project we do there's either modeled 3d-objects or original isometric tiles.
Why don't we link both so we build every single isometric brick in 3d and after that use a program to replace the original bricks in the scene with the new 3d-objects. this would let us rebuild whole areas with much less worksteps.

Also that way we could even convert our own created maps from LBArchitect to 3d.

So why isn't that possible?
Reply With Quote
  #172  
Old 2009-06-22, 16:24
ChaosFish ChaosFish is offline
weee
 
Join Date: Oct 2000
Location: Viking Mothership, Living Quarters
Posts: 21,209
Quote:
Originally Posted by leoboe View Post
But there's one point I still don't understand.

In every project we do there's either modeled 3d-objects or original isometric tiles.
Why don't we link both so we build every single isometric brick in 3d and after that use a program to replace the original bricks in the scene with the new 3d-objects. this would let us rebuild whole areas with much less worksteps.

Also that way we could even convert our own created maps from LBArchitect to 3d.

So why isn't that possible?
Sounds like a good idea. If for every isometric brick in LBA there'll be a corresponding 3D counterpart it should be possible, I guess.

(but what the hell do I know!)
Reply With Quote
  #173  
Old 2009-06-22, 16:37
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,684
Once you have a 3D object library, it's a piece of cake to rebuild a map or make a new one with blender. You can even get the exact position of each object in original maps by importing OBJ files generated by Perspective Map Viewer.
LBA architect is a modding tool, made to create maps and use them inside original game. I'm making a different game engine, starting from scratch. It pretends to be easily readable, and open. I think I should'nt have add this grass and water effect, it's making things more complicated. Maybe I'll remove it. I prefer to develop gameplay rather than visual effects.
It's true that game engine has some common concepts with orginal but it's not the goal. For example my engine works with flat maps !
__________________
Little Script Adventure[thread][download]

Last edited by David; 2009-06-22 at 16:53.
Reply With Quote
  #174  
Old 2009-06-22, 17:07
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
The gameplay/scripting abilitys should indeed be worked on more then graphical effects.

But, on the other hand, this sort of project should really be guided by your interest in it.
If you get bored doing the effects, work on the gameplay, or visa-versa.

I know on most of my projects if I get bored doing a specific part, I go work on another "corner" of the project and come back to that bit later :P
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #175  
Old 2009-06-22, 17:45
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,684
Totally agree !!
So for gameplay, next step is adding twinsen model in that map
__________________
Little Script Adventure[thread][download]
Reply With Quote
Reply

Tags
awesome, demo, engine, lba, lba1r, little bigger adventure, little script adventure, non profit, opengl, opensource, tools

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
Link on mbn main page Vral The site and forum 19 2005-11-04 05:17
main page Jesse LBA DM 3 2001-04-29 22:12
Why does no one visit the main site? CS2x The site and forum 42 2001-02-01 18:24


All times are GMT +2. The time now is 06:27.




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