Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (497)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 2 [3]
  ignore  |  Print  
  MONSTRUMO !  (Read 14900 times)
0 Members and 1 Guest are viewing this topic.
Offline hvor2

Junior Member




Beyond mind, there is an awareness...


« Reply #60 - Posted 2005-12-08 10:55:07 »

Progress report...
I did new version ---> play it <a href="http://hvor.madpage.com/webstart/monstrumo.jnlp"> here </a>  - Version 0.6.6 (JGF still have problems in uploading jars, so there is still old version there...)
These days I have very little spare time to do some significant in Monstrumo. Nevertheless, I tried to put some "bosses" in game. For now, there are two big zombies on map that are capable of spitting spells. They will damage you as well as any other enemy on impact. Possibly good for some tactical movements. I consider adding some voodoo witches in next version...
Anyway, it seems that Monstrumo is well accepted in Czech Republic - I have 2-3 reviews there. Here is one, if anyone of you understand what is says, please tell me! Wink
http://plnehry.idnes.cz/akcni/monstrumo.html

EDIT: I uploaded new version to JGF, <a href="http://javagamesfactory.org/jnlp/Monstrumo/alpha.jnlp">play </a>  - Version 0.6.6

Offline hvor2

Junior Member




Beyond mind, there is an awareness...


« Reply #61 - Posted 2005-12-09 16:19:39 »

For those of you that don't have/like webstart (i seriously doubt it, but you never knows):
I made an executable (Windows only). With every new webstart version I will update and executable too on my Monstrumo pages. You can grab it | <a href="http://www.rapidsharing.com/59734978572d9c1494a2d53e04048509">here</a> |

Offline Malohkan

Senior Member




while (true) System.out.println("WOO!!!!");


« Reply #62 - Posted 2005-12-13 23:57:16 »

Pretty neat work there!  I ran over a mountain, sank into the water like a brick, and then proceeded to climb the edge of the world where I found lots of ArrayIndexOutOfBounds exceptions Grin  Do I get extra gold for those?  By the way, exploding barrel + 2 angry pirates = big death.  Oh yeah Wink

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline hvor2

Junior Member




Beyond mind, there is an awareness...


« Reply #63 - Posted 2005-12-14 12:48:41 »

Ah, swimming just hasn't been implemented yet. I tried to constrain your movement on the ground only, but, obviously you are smarter then I Wink.
Because of that I am relying on only-ground-movement, I don't expect someone will go to the end of map (and get those ArrayIndexOutOfBounds exceptions). Adding that to my TODO list now.

Offline PeterB

Junior Member





« Reply #64 - Posted 2006-01-14 17:36:16 »

How are you detecting a collision between trees and the avatar? Bounding box ray/plane test?

Vault101 / Mace The Game
There are 10 kinds of people in the world. Those who understand binary and those who don't.
Offline hvor2

Junior Member




Beyond mind, there is an awareness...


« Reply #65 - Posted 2006-01-16 09:45:37 »

Let me recall... First I had every-frame-checks with avatar and all trees, but of course, it was slooow. So I decided to put every object (and so the trees) in its cell. For example, an 128x128 terrain I divided in 10x10 cells (or 20x20 ...) and every cell knows who is inside it. For dynamic objects, every frame I just check where it is and adjust its parent cell accordingly (it is fast).
So, when I move all particles every frame and put them in their cells, I just check for collisions of avatar and trees in his cell (or his and adjacent cells if cell is pretty small, it depends). Gained performance boost that way. I suppose that is some kind of "first-level" BPS tree method (I've never coded one), but it is not important how it's called, just how it performed.
cheers! 

Offline PeterB

Junior Member





« Reply #66 - Posted 2006-01-19 02:26:42 »

I think you're describing a kind of Octree or Quadtree approach to culling the tree objects. Split map into pieces and discard all tree where a frustum test against a large piece shows it to be outside the frustum.

What I really meant was - how are you performing the actual collisions with the trees and such? Presumably you are not testing against all polygons in the model but load a 'collision map' for objects in the level? Then perform a ray + polygon intersection test? I haven't crossed into this territory yet and I'm only doing collision with the terrain itself.

It's something I thought about the other day - I'm going to have a mixture of outdoor and indoor environments and I'm trying to come up with a nice way to do this (including the transition between being 'in a building' to being 'out in the open' )

Pete

Vault101 / Mace The Game
There are 10 kinds of people in the world. Those who understand binary and those who don't.
Offline hvor2

Junior Member




Beyond mind, there is an awareness...


« Reply #67 - Posted 2006-01-19 09:38:50 »

I think you're describing a kind of Octree or Quadtree approach to culling the tree objects. Split map into pieces and discard all tree where a frustum test against a large piece shows it to be outside the frustum.
Yes, that is exactly where I am going to with my code.

What I really meant was - how are you performing the actual collisions with the trees and such? Presumably you are not testing against all polygons in the model but load a 'collision map' for objects in the level?
Ah, actual collisions tests.
if two particles passes all other tests (they are near, they are collidable etc), then I make calculations of theit plane (xz) distance and their vertical (y) distance. Knowing how big they are in x,y,z (some king of ellipsoid tests), it is not hard to do:

1  
2  
3  
4  
            if ((getPlaneDistanceFrom(p) < ((this.size.x + p.size.x))) && (getYDistanceFrom(p) < (this.size.y / 2 + p.size.y / 2))) {
               p.doCollision(this);
               this.doCollision(p);
            }

i sthat what you are interested in?
I am too planning to add buildings and walls and such in my games and still don't know the best approach to do collisions with all those walls. My current tests are great for ellipsoid shapes only, im affraid.


Offline EgonOlsen
« Reply #68 - Posted 2006-01-19 14:52:35 »

I am too planning to add buildings and walls and such in my games and still don't know the best approach to do collisions with all those walls. My current tests are great for ellipsoid shapes only, im affraid.
Maybe this helps: Nice tutorial about ellipsoid-polygon collision detection: http://www.peroxide.dk/

Offline hvor2

Junior Member




Beyond mind, there is an awareness...


« Reply #69 - Posted 2006-01-19 15:27:54 »

I am too planning to add buildings and walls and such in my games and still don't know the best approach to do collisions with all those walls. My current tests are great for ellipsoid shapes only, im affraid.
Maybe this helps: Nice tutorial about ellipsoid-polygon collision detection: http://www.peroxide.dk/
Yes, i am doing something similar, only ellipsoid - ellipsoid detection. Good literature, worth of reading, thanks.
 They also have a Masters Thesis on soft shadows if someone is interested...(http://www.peroxide.dk/papers/realtimesoftshadows.pdf)

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline PeterB

Junior Member





« Reply #70 - Posted 2006-01-19 20:32:35 »

Good info thanks! I think I'm going to use plane / ray intersection tests for the indoor sections and probably elliptoid detection for the outdoors. The transition between the two ought to be fun!

Vault101 / Mace The Game
There are 10 kinds of people in the world. Those who understand binary and those who don't.
Offline PeterB

Junior Member





« Reply #71 - Posted 2006-05-02 00:14:36 »

I haven't been through this site in any depth for a while, but I noticed tonight your links in your sig for Monstrumo and MagicWoods are coming up 'forbidden' ... ?

Vault101 / Mace The Game
There are 10 kinds of people in the world. Those who understand binary and those who don't.
Offline hvor2

Junior Member




Beyond mind, there is an awareness...


« Reply #72 - Posted 2006-05-16 09:22:52 »

I haven't been through this site in any depth for a while, but I noticed tonight your links in your sig for Monstrumo and MagicWoods are coming up 'forbidden' ... ?
Me too... I had registration problems, but they are solved now.
But anyway, I wasn't active for some months now Sad

Pages: 1 2 [3]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (12 views)
2014-04-15 18:08:23

BurntPizza (11 views)
2014-04-15 03:46:01

UprightPath (24 views)
2014-04-14 17:39:50

UprightPath (10 views)
2014-04-14 17:35:47

Porlus (27 views)
2014-04-14 15:48:38

tom_mai78101 (49 views)
2014-04-10 04:04:31

BurntPizza (108 views)
2014-04-08 23:06:04

tom_mai78101 (208 views)
2014-04-05 13:34:39

trollwarrior1 (176 views)
2014-04-04 12:06:45

CJLetsGame (182 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!