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
  #226  
Old 2009-07-02, 19:19
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,676
That's the point, I don't know if it's worthwile. Why not make things easy and create a complete game ?
Here is the question.
Also we are not professionals (well me first !) It's all amateur work.
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #227  
Old 2009-07-02, 19:29
Kitarii's Avatar
Kitarii Kitarii is offline
You what?!
 
Join Date: Jun 2004
Location: London, UK
Posts: 6,719
Well I think the people that can use this program will be perfectly able to deal with the third dimension, and certainly the end result (if done well) will be more impressive. Perhaps you could first do the two dimensional engine; how difficult would it be to continue working and add the third later on?
__________________
I never wanted a beard, but it's starting to grow on me.
Reply With Quote
  #228  
Old 2009-07-02, 19:45
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,676
Should be awesome. Starting simple, and adding stuff in the future like slopes, scales, multiple levels, lifts, platforms etc... I think everybody will agree with that.
If I see many level designers ask for it, I'll add it.
by now, let's see if we are able to make some maps and their script.
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #229  
Old 2009-07-02, 19:55
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,676
I remember playing Zelda years ago on gameboy during hours and hours, and game engine was surprisingly basic !!
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #230  
Old 2009-07-02, 20:04
Kobold's Avatar
Kobold Kobold is offline
Magic Ball Master
 
Join Date: Jun 2006
Location: Germany
Posts: 7,301
Yes, but we're talking about LBA here. The only somewhat flat place I can remember in the game is Desert Island. By removing a third dimension, you would make this engine like the early 2D top-down games. But I don't see the connection to LBA.
Reply With Quote
  #231  
Old 2009-07-02, 21:44
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,019
Send a message via MSN to Jasiek Send a message via Skype™ to Jasiek
Well, one thing we won't be able to make will be the "catwalk" above the entrance to the harbour, also the grass above the place where the robot is will not be possible. Not to mention whole level parts where there are floors on top of each other, like the Citadel and the Library. There's just too many places like that in regular and simple lba maps to not have it. Elevators are also an essential lba thing, used for sewer entrance among other things.

Imho, getting that done in the beginning should be better. It's better to have all the basic stuff worked out in the beginning. It's a crucial part of lba gameplay.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2009-07-02 at 21:49.
Reply With Quote
  #232  
Old 2009-07-03, 09:47
Rincevent_123's Avatar
Rincevent_123 Rincevent_123 is offline
Magic Level: Fire Ball
 
Join Date: Apr 2007
Location: Germany
Posts: 380
Personnaly, I would not mind not having lift.
But I think at least you should be able to handle stairs and ground going up/down.
With that you could already enable lots of possibilities and it should still be fairly easy to program path finding.
Reply With Quote
  #233  
Old 2009-07-03, 10:21
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 22,972
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame Send a message via Skype™ to Darkflame
Actualy, I dont think a lot of the elivators that go just up/down will be a problem; Once twinsun is standing on them, its effectively just an animation isnt it?
No need for any true z-scripting there, just a "elivator goes into the ground" animation, which would cut to the next scene.
So "true" z controll ver scripting isnt needed there really.

Quote:
Originally Posted by david38 View Post
the problem is not collision detection, but path finding (AI), platform mechanism, scene description, and actually game scripting in general.
Pathfinding shouldnt be a problem, just ignore z untill it comes time to draw the sprite then work it out the same way as the player.

So the scripting deals purely in 2D, but as a last step the game engine checks for vertical alignment.

The only issue I see would be if there is a ncp on a different level to twinsen, then you might get false positives as to collisions etc, as it only checks in 2D.

oh, and saving the game would need to save the current z-axis too, else you might magicaly pop ontop of objects you were under.

But cant we simply avoid those case's ?
There isnt many bridges in LBA, we can simply not have enemys in those locations.


Of course at the end of the day this is your engine, and you should do what feels best (and keeps you interested!) but if possible its best to build as much flexibility into the engine at an early stage as you can
__________________
Brand new website:
http://www.randomreviewshow.com
With new episodes and content!
(Please let me know if the site blows up your pc, thanks)
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #234  
Old 2009-07-03, 13:51
Rincevent_123's Avatar
Rincevent_123 Rincevent_123 is offline
Magic Level: Fire Ball
 
Join Date: Apr 2007
Location: Germany
Posts: 380
No, actually pathfinding becomes a much bigger problem as soon as you go on 3D.

For example, imagine than twinsen is on the upper level of a room. Then there is an enemy on the lower level.
If the enemy has seen twinsen and want to go after him, he will need to find a path which allows him to go up (e.g. he need to take the stairs).
So that can become pretty tricky to find a good path there (you can not simply just fly).
Reply With Quote
  #235  
Old 2009-07-03, 14:14
Bot13's Avatar
Bot13 Bot13 is offline
Look beyond reality.
 
Join Date: Aug 2004
Location: Fortress Island.
Posts: 2,605
Then what about enemies that can't use elevators/stairs? They just stay right beneath you. You'll deal with them when you get at their level.
Also, say you've used a ladder to get somewhere higher. If they chase you, you'll need an animation of the enemies climbing a ladder. Bleh, is more work.
__________________
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
  #236  
Old 2009-07-03, 14:29
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,019
Send a message via MSN to Jasiek Send a message via Skype™ to Jasiek
I don't think ine LBA enemies had path finding like that. They could only shoot at your direction if you where low enough. Imho they should only scan for you you not higher then their own height, and if you're not on ground level just shoot at you.

What I want is for Twinsen and npc's to be able to walk on floors that are on top of each other(like in the citadel) and for Twinsen to be able to climb moving platforms (again, like in the citadel) and like one npc to be able to use them. However, the npc's won't move on the elevator, they will walk onto it and "freeze" won't scan for anything, won't do pathfnding - will just loop in the standing animation, and will unfreeze when the elevator touches ground.

Imho all of that sounds feasible. Just so that there are floors on top of each other and those simple elevators.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2009-07-03 at 17:29.
Reply With Quote
  #237  
Old 2009-07-03, 16:35
Kobold's Avatar
Kobold Kobold is offline
Magic Ball Master
 
Join Date: Jun 2006
Location: Germany
Posts: 7,301
LBA enemies had no pathfinding whatsoever. Every enemy has to be coded individually in LBArchitect. You can make an enemy follow Twinsen, but then he would only follow him and run in his face. And if there's something blocking his path, he will make no attempt to dodge the obstacle.
That said, most enemies only calculate the horizontal distance between them and Twinsen, not vertical the one.
Reply With Quote
  #238  
Old 2009-07-03, 20:03
LBAWinOwns's Avatar
LBAWinOwns LBAWinOwns is offline
Magic Ball Master
 
Join Date: Mar 2004
Location: Sweden
Posts: 5,580
Send a message via MSN to LBAWinOwns
Kobold is right.

(though I don't understand what he means with v v v)

Quote:
That said, most enemies only calculate the horizontal distance between them and Twinsen, not vertical the one.
__________________

LBA Image Creator project
(image by leoboe! )

Get the Jump-Save-Bug graphically explained here
Reply With Quote
  #239  
Old 2009-07-03, 21:58
Kobold's Avatar
Kobold Kobold is offline
Magic Ball Master
 
Join Date: Jun 2006
Location: Germany
Posts: 7,301
This is what I'm talking about:

Attached Thumbnails
Click image for larger version

Name:	distances.jpg‎
Views:	317
Size:	158.4 KB
ID:	8120  
Reply With Quote
  #240  
Old 2009-07-04, 02:52
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,019
Send a message via MSN to Jasiek Send a message via Skype™ to Jasiek


And this is what I'm doing right now.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure

Last edited by Jasiek; 2009-07-04 at 03:36.
Reply With Quote
  #241  
Old 2009-07-04, 08:00
Warwick's Avatar
Warwick Warwick is offline
Pedobear
 
Join Date: May 2007
Location: Zoe's Womb
Posts: 44
Height maps, for the Z part, sigh..

As of collision, well, collision between several "actors" is easily done.

The harder part is indeed redirecting them onto another path - can be done by checking where are other "actors" located in comparison to the colliding character - if some are 45, 20 and 75 degrees to the character's "face", redirect the actor 180 degrees, like, into the most opposite and actor-free direction possible. You also need to be able to measure distance.
__________________
http://img217.imageshack.us/img217/2574/discqf3.jpg

Original Russian LBA. Talk to me privately for more details.
Reply With Quote
  #242  
Old 2009-07-05, 20:09
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,676
I'm still confused about the degree of complexity LSA should be. It would be nice to put even more ideas about how you would like LSA to be. Actually, one day, it might be you who make your own map and lua script.
Until things get clearer, I'm animating Jasiek characters.
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #243  
Old 2009-07-05, 20:58
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 22,972
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame Send a message via Skype™ to Darkflame
I think LSA should, at a minimum, do what LBA1 could do. But apart from that, it should be as simple as possible.
It can always be expanded in the future.
__________________
Brand new website:
http://www.randomreviewshow.com
With new episodes and content!
(Please let me know if the site blows up your pc, thanks)
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #244  
Old 2009-07-05, 22:46
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,019
Send a message via MSN to Jasiek Send a message via Skype™ to Jasiek
Yeah, my thoughts exactly. It already is quite awesome though.

I'll be going camping for a few days, be back "at work" on the 14th.
The outside map is a real pain in the butt.

Here's what I got so far, I'll finish it when I'll get back. All those arches are really lo poly, just some trickery done on them to fake the higher poly look. I'll add some of my stuff onto that map, like the telepods and some other machines I made.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #245  
Old 2009-07-06, 09:45
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,676
looks good ! I'm thinking about how to easily set LBA features
Have nice holidays !
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #246  
Old 2009-07-15, 18:00
Jasiek's Avatar
Jasiek Jasiek is offline
Do the evolution.
 
Join Date: Jul 2003
Location: You forgot Poland.
Posts: 8,019
Send a message via MSN to Jasiek Send a message via Skype™ to Jasiek
How's stuff going in here? I'm still working on that map, trying to keep the polycount as low as possible, but at the same time trying to make it look cool. Once I have everything ready in there, making new maps using it's parts shouldn't really be hard.
__________________
Little Script Adventure
Join the Little Script Adventure team
Download Little Script Adventure
Reply With Quote
  #247  
Old 2009-07-15, 18:37
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,676
hello !
I'm glad you continue making that map
Before continue coding, I want to be completely sure of how to setup physical engine
I got amazed how close is LBA physic engine from Light Crusader
take a look at this :
http://www.youtube.com/watch?v=tJTVZ2UKA0A
The big question is : How to make that ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #248  
Old 2009-07-15, 21:35
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 22,972
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame Send a message via Skype™ to Darkflame
Well, thats obviously completely sprite based, so its not quite equivalent.
(I'm always impressed what the Tony Hawk games pulled of on the GBA, incidentally;
http://video.google.com/videosearch?...8&sa=N&tab=wv#
About as far as you can get from LBA gameplay wise, but the engines doing similiar stuff in terms of gourand polygons on iso-sprite backgrounds).

As for physics, well, we need basic collisions, and magic-ball physics.
I dont think we need more then that?

Basic collisions is just a question of looking ahead at where a charecter would move, and if it hits something imovable, then dont move the player at all, and if it hits something movable, move the player and the object the same amount.
(while doing a similiar test on the object being moved, you can be recursive here with your testing if you want block-pushing-block ability...but that isnt really essential, imho).

Meanwhile for magic-ball stuff, its basicaly
s=ut+(1/2)at^2 isnt it?
Where s is the height displacement, a is acceleration down due to gravity,t is time (/frames into the chuck), and u is the speed/starting speed. (note; this is vertical speed).

When s = the ground (ie, ball hits the ground), you simply flip the u value (u=-u) and take away a pecentage from it. If I remember my maths, this will give you a realistic bouncing ball motion

This, of course, only gives you the z location of the magic ball.
The x/y will have to be worked out with billard-ball type physics, angle of incidence = angle of reflection, more or less.
I think this could be just aproximates though. Just have head on collisions and 45 degree ones. LBA didnt have true ball physics from what I remember.
__________________
Brand new website:
http://www.randomreviewshow.com
With new episodes and content!
(Please let me know if the site blows up your pc, thanks)
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
Reply With Quote
  #249  
Old 2009-07-17, 17:36
David's Avatar
David David is offline
Magic Ball Master
 
Join Date: Dec 2008
Location: Barcelona
Posts: 1,676
that remembers me old formulas from school !
Actually I'm supposed to know this for the job I'm doing, but I actually never used it yet. Maybe one day who knows ?
Shall I also consider ball bouncing on moving platforms/lifts ?
__________________
Little Script Adventure[thread][download]
Reply With Quote
  #250  
Old 2009-07-17, 18:43
Darkflame's Avatar
Darkflame Darkflame is offline
Classic
 
Join Date: Feb 2001
Location: Sol, Earth, NL
Posts: 22,972
Send a message via ICQ to Darkflame Send a message via AIM to Darkflame Send a message via MSN to Darkflame Send a message via Skype™ to Darkflame
oh, thats a good question.

If you know the height of the platform, and use that formular, it should be fairly simple to support. (so, rather then "when s = the ground " you have "when s = the ground or equals the height of the platform at that point in space/time")

So I dont think getting the ball to bounce off platforms moving up/down is a problem.
Just;
a) Look at the balls overhead location (x/y).

b) See if this is where a platform is

c) If true, test that ball height will become less then that platforms height, while not being less then it already. (ie, it will bounce of the platform if the platform is under it, but if the platform is higher, then it can just ignore it and act like it isnt there).

d) If the platform is higher already (so the ball just goes under it), or there isnt a platform, bounce off the ground.

Umm...Ive probably made that sound more complex then it is. But trust me, its fairly easily.

The harder part is determining if the ball hits the side of the platform I think
That is, the ball hits it going horizontaly, rather then merely lands on it and bounces.
__________________
Brand new website:
http://www.randomreviewshow.com
With new episodes and content!
(Please let me know if the site blows up your pc, thanks)
-
Phones & Tricorders & Blobs & Bombs & 3D Printers & TVIntros also;stuff
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 01:03.




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