Go Back   the Magicball Network > Forums > LBA Projects > Little Script Adventure

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
  #176  
Old 2009-06-22, 21:01
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 7,716
I'll ask again . Is using an animated sprite as opposed to a sprite moved around via a script really necessary? this way you have a script for trees, grass, flowers etc. And you don't have to animate each sprite separately.
Imo, moving the vegetation would be a lot more cpu/gpu friendly with a script as opposed to an animated sprite ( 1 image vs 6 or more). Anyways, for what I meant about transparent sprites you could look at the grass tufts sprites littering the ground in my last demo. Apart from the edges of the grass that are transparent, the whole piece of grass is also a bit transparent (like in Beyond Good & Evil), so it looks a bit more smooth and fits the ground really nice. I know it's not "real", but for a game like LBA it makes it all look a lot more smooth.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #177  
Old 2009-06-23, 11:56
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,683
Jasiek : Do you mean instead of having lots of animated sprites, having only one and changing its texture coordinates along the time ?
I think that should work fine for grass, but for water ?

I made this new demo, with both animated grass and water, and a bigger map.

http://www.mediafire.com/file/oyydkwznmg3/grass and water.rar
__________________
Little Script Adventure[thread][download]

Last edited by David; 2009-06-23 at 12:11.
Reply With Quote
  #178  
Old 2009-06-23, 12:52
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 7,716
No, i don't mean changing it's texture coordinates , leave the texture alone. What I mean is to treat the grass sprite as a physical object, and move it in x,y,z and also have it camera oriented (for the grass). That's how the tree corona's in my demo (i'm getting boring with "my demo this, my demo that" by now...) and grass work.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #179  
Old 2009-06-23, 13:05
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,683
well that means a different transformation for each object, specially when making objects always facing camera. It's excellent for few objects or group of complex objects (display list), but they are at least 10.000 individual transformation to compute here. If you push texture button in the demo, you'll see how quiet is the scene !
I keep that technic in mind for trees
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #180  
Old 2009-06-23, 14:56
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 7,716
Well it depends on how much of the grass sprites you want to put there. For a game like LBA 60 or so would be fine for a scene. It's not far-cry, you don't need to cover all of the grass with sprites. Having a small and delicate looking tuft of grass here and there, not higher then Twinsen's knees, or even ankle height would be fine. You want to accent the grass, not fill up the whole scene. Most of the lawns there are in cities anyway, neatly trimmed. There are some exceptions where higher looking grass might look ok. Imho with a script it's easier, because by modifying a certain value, you can change how the scene feels, windy or with just a slight breeze.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #181  
Old 2009-06-23, 19:50
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,683
allright I'll put less grass, and see if I can make it face camera (billboarding)
Do you like water effect ?
And did you add stuff to pharmacy map ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #182  
Old 2009-06-23, 21:00
Renesans's Avatar
Renesans Renesans is offline
Magic Level: Fire Ball
 
Join Date: Apr 2007
Location: Kecskemét, Hungary
Posts: 494
:O I didn't know about this project until today (which isn't surprising since I rarerly visit this forum), and I must say I'm really impressed. Keep up the good work!
Reply With Quote
  #183  
Old 2009-06-23, 23:34
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 22,447
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame
Personaly, Id love thick, dense, grass for outside areas :P , but thats a very low priority to do, and probably isnt nearly worth the effort.
Good looking light grass, however, is.

As for water, I liked the effect, but as I said on the video is a little two quick in terms of the animation. (might be just my eyes, but I find fast moving landscape sprites distracting in games...I prefer more gently moving things)
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #184  
Old 2009-06-24, 20:44
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,683
Is grass really necessary ? I mean, having a good gameplay, would you really care about having that grass or not ? What about having only trees ?
Jasiek, could you send me or post a model of the tree you use in your demo ? thanks
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #185  
Old 2009-06-24, 21:36
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 22,447
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame
Its not necessary at all.
Its just a random thing for the engine that would be nice, but sure, its completely unnecessary and thus a low priority.
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #186  
Old 2009-06-24, 21:54
Warwick's Avatar
Warwick Warwick is offline
Pedobear
 
Join Date: May 2007
Location: Zoe's Womb
Posts: 44
Quote:
Originally Posted by Darkflame View Post
Its not necessary at all.
Its just a random thing for the engine that would be nice, but sure, its completely unnecessary and thus a low priority.
Make it a texture. Use multiple grass textures, and spread them randomly with each map load.. (The way Warcraft 3's Map editor does. Certain tile of Grass has atleast 5 different textures.. )
__________________
http://img217.imageshack.us/img217/2574/discqf3.jpg

Original Russian LBA. Talk to me privately for more details.
Reply With Quote
  #187  
Old 2009-06-24, 22:19
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 7,716
Quote:
Originally Posted by david38 View Post
Jasiek, could you send me or post a model of the tree you use in your demo ? thanks
Here you go.
Attached Files
File Type: zip TreeLeaves.blend.zip‎ (45.1 KB, 325 views)
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #188  
Old 2009-06-25, 10:49
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,683
get ready !
Here is the brand new LSA V2, the new full 3D adventure ! One map, one character ... that's only a good beginning.
http://www.mediafire.com/?5na2tmnn3j3
It's so different from the first ... but comes from it.
Added source code and blender files. For twinsen mesh, ask Horadrim for use/modify it.

- I put really less grass as you all suggested, and sprites animation are much more slower (DarkFlame will !).
- Chasing camera could be better but works
- Collision detection works
- I have to remove shading from sky box.
- Above all : added timers !!
- No Linux support yet (because of accurate win32 timers "queryperformancetimer"...)
__________________
Little Script Adventure[thread][download]

Last edited by David; 2009-06-25 at 11:05.
Reply With Quote
  #189  
Old 2009-06-25, 11:06
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 22,447
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame
Not bad work at all

A few points, but you probably know them all already;

* Twinsens fixed to the ground-plane, thus his feat go though the ground when he walks upstairs.

* Twinsen should be a little bit faster I think.

* Camera is a bit annoying at the mo. Untill theres time to make a good camera system, purhapes just let the mouse rotate? (would be good for debuging landscapes I think).

* Animation of grass sprites seems about right for me but I think Warwicks suggestion;

Quote:
Make it a texture. Use multiple grass textures, and spread them randomly with each map load.. (The way Warcraft 3's Map editor does. Certain tile of Grass has atleast 5 different textures.. )
Would be excellent for the grass tiles themselves.
Would get rid of the overly-repeated look it has at the moment, and it would be far less work then any "proper/high-tech" style grass.


But, aside from those points; Great work
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #190  
Old 2009-06-25, 11:26
ChaosFish's Avatar
ChaosFish ChaosFish is offline
!!!!!
 
Join Date: Oct 2000
Location: Viking Mothership, Earth Simulator
Posts: 20,138
Smooth! Also I like that Twinsen model and his animation.
Reply With Quote
  #191  
Old 2009-06-25, 12:45
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 7,716
I haven't tried it yet. Will be gone for a day or so. When I'm back I'll finish and upload one f the citadel island scenes. I have a question though, will I be able, with your engine, to achive a relatively similar look as I had in the remake? Will the sprites and their position be customizable? Will I be able to set an LBA1-like camera? etc.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #192  
Old 2009-06-25, 13:15
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,683
Darkflame and Warwick : you could take care of finding some grass sprites ? (Hep, only legal things here right ?)
Jasiek : normally yes !
BUT :
By now, maps scenes need to be flat where twinsen walks and material grid must be 64x64. I wish that you respect those two big limits, for lots of reasons.
And trust me, with those two limits I already had lots of headaches.
If there are objects out of the grid, it works, but they are not interactive, they are just displayed.
Sprites position could be set by Lua scripts
Did you pack texture with the tree ?
__________________
Little Script Adventure[thread][download]

Last edited by David; 2009-06-25 at 13:25.
Reply With Quote
  #193  
Old 2009-06-25, 14:33
ChaosFish's Avatar
ChaosFish ChaosFish is offline
!!!!!
 
Join Date: Oct 2000
Location: Viking Mothership, Earth Simulator
Posts: 20,138
You should try GRSites for free textures, it's a very useful site.
Reply With Quote
  #194  
Old 2009-06-25, 17:18
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 7,716
David, shit, I forgot. I'll pack it in two days, till then you'll just have to manage.
What's with the multiple grass textures? I'll be modelling the outside levels with the texture I have made for the remake. WoW uses heightmaps and texture blending. I don't think the same technique would be prudent in a game with each outside space modelled by hand exactly after LBA. Besides, blending a grass texture with a dirt texture produces a rather ugly and non-artsy transition between the two!

Also, I don't think realistic textures from an internet database will fit here. They'll just look ugh ugly. You need textures that will fit the overall artstyle. Don't worry, I'll soon provide you with all the outside textures I made for the remake. I just need to slice them out from a single file, and make them into nice squares that can be tiled properly. The art style has to be consistent.


EDIT:
Ran the demo looks ace ! Will I be able to put my own Twinsen in?
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2009-06-25 at 17:52.
Reply With Quote
  #195  
Old 2009-06-26, 00:06
Jareth's Avatar
Jareth Jareth is offline
Magic Level: Fire Ball
 
Join Date: Jul 2008
Location: Poland
Posts: 417
I've played the demo, and I must say: Good work so far! Of course, there's still some work to do, but I'm impressed. Don't know, if you guys noticed, but the graphics have the LBA feeling.
Some more work and you have a LBA3
But seriously, very good work. Good luck
__________________
Check out my retro gaming and tech profile:
https://instagram.com/retrogamingxp
Reply With Quote
  #196  
Old 2009-06-26, 13:46
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,683
Yep, thanks to Jasiek and Horadrim for making amazing maps and characters
Hope they'll continue giving us good stuff, and also hope that other artists will get in the project.
Now I'm working on adding a path finding algorithm. Actually it's not mine, it's this one :
http://www.grinninglizard.com/MicroPather/
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #197  
Old 2009-06-27, 20:38
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 7,716
http://www.sendspace.com/file/jfo57d

Ok, so here's the Tree with the texture, and a level texture file I'll be using and modifying for separate texture (just to give you a taste of it ). You should see that the texture transitions with this kind of texture as opposed to texture blending are much nicer (with the grass and dirt transition).


Now, with the tree, the trunk is nice and round, so I recommend you leave the leaves passable and calculate the collision for the trunk only. Only the tree corona is supposed to move. The tree should be placed a bit below ground level so the roots sink to the ground a bit.

Also, the tree was designed to be viewed from the top, not a 3rd person perspective. So either I'll have to add some sort of an inner additional layer of leaves and branches, or your camera will have to be raised a bit (which I would strongly recommend. Making it closer to the character and a bit more smooth too - as in to lag just a bit after the character).

Although a "resident evil - type" camera is best. It's a stationary camera with a fixed position that has a pivot, so it follows the player from a single point, but it also has a limited range, so when the player leaves it, he comes into the range of a different camera. This approach is best from the level design point of view, because you can hide certain things (like the back walls of the pharmacy), and accent some things you want the player to notice.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2009-06-27 at 23:25.
Reply With Quote
  #198  
Old 2009-06-27, 22:42
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 22,447
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame
Yes, I like that camera system too.
I think a following/active camera is best for certain situations or game types. (rapid movement, racing, an escape sequence BG&E-style etc).

But for LBAs majority jumping from fixed-perspective to fixed perspective is actualy quite good. LBA2 worked well.

The trick I think would be making an engine that -can- have specificaly set camera points if the player is in range, but also dosnt need them. (large landscape can use LBA2 style camera).
Manualy playing all the camera points in the game would get far too annoying
__________________
http://fanficmaker.com <-- Tells some truly terrible tales.
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #199  
Old 2009-06-27, 23:34
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 7,716
Yeah, I guess I'd agree. For interiors and places of interest a fixed camera would work best. And for the regular "walking" places a 3D one might be better.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2009-06-27 at 23:43.
Reply With Quote
  #200  
Old 2009-06-28, 00:40
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,683
chasing camera is really an interesting part, it can really change a lot the gameplay.
SO : It's too early to say how must be camera, depend how we orient that game.
But for now, get the patch for Artificial Inteligence !!!
replace original executable with this one, and you'll get some bots running around !
Attached Files
File Type: zip AI.zip‎ (127.7 KB, 326 views)
__________________
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 06:17
main page Neko LBA DM 3 2001-04-29 23:12
Why does no one visit the main site? CS2x The site and forum 42 2001-02-01 19:24


All times are GMT +2. The time now is 05:36.


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