Go Back   Forums > Community Chatterbox > Gaming Zone
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 24-01-2009, 12:32 PM   #11
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,508
Default

The point is, you don't need to mesh lots of points for each solid, unless you want to make it flexible. The only boundary conditions would be at the joints between rigid bodies, and always less than six at each.

For example if that 2D human body in the game Tulac posted had say 13 joints, each with one DOF allowed (angle) and two restricted ones (position in 2D), that would mean 13x2=26 boundary conditions. These conditions are trivial equations, actually after applying them you have the same system but with 26 variables less, that is a simpler system (than if you had to account for each body part moving free).

OK back to topic, this is silly:
http://freeonlinegames.com/puzzle-ga...-go-happy.html
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 27-01-2009, 01:12 PM   #12
arete
If All Else Fails, Play Dead
 
arete's Avatar


 
Join Date: May 2008
Location: Waterside, South Africa
Posts: 3,133
Default

Quote:
Originally Posted by Japofran View Post
That's not for dots, it's for bodies in 3D with up to six degrees of freedom each (2D movement would mean three DOF each rigid solid).

I don't know Flash but that can be integrated step by step blazing fast by coding in any generic language. For the integration of the differential equations a coarse first-order finite difference approximation would be enough for credible effects--you only need better approximations if you need to predict the behaviour of a real physical system.
*gasp*
__________________

"You have heard that it was said, 'You shall love your neighbor and hate your enemy.' But I say to you, love your enemies, bless those who curse you, do good to those who hate you, and pray for those who spitefully use you and persecute you..."
arete is offline                         Send a private message to arete
Reply With Quote
Old 27-01-2009, 07:06 PM   #13
Lulu_Jane
10 GOSUB Abandonia
20 GOTO 10
 
Lulu_Jane's Avatar

 
Join Date: Feb 2005
Location: Praha, Czech Republic
Posts: 3,273
Default

This isn't exactly Flash, but it made me laugh - Guitar Hero, the text adventure.

Edit: And here's a Pac Man almost-MUD while I'm at it.
__________________
I have vestigial adventure elements

Last edited by Lulu_Jane; 28-01-2009 at 04:37 AM.
Lulu_Jane is offline                         Send a private message to Lulu_Jane
Reply With Quote
Old 28-01-2009, 08:04 PM   #14
_r.u.s.s.
I'm not Russ
but an ex-alektorophobic
 
_r.u.s.s.'s Avatar


 
Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
Default

Quote:
Originally Posted by Lulu_Jane View Post
This isn't exactly Flash, but it made me laugh - Guitar Hero, the text adventure.
haha, amazing
__________________
_r.u.s.s. is offline                         Send a private message to _r.u.s.s.
Reply With Quote
Old 28-01-2009, 08:15 PM   #15
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,508
Red face

Quote:
Originally Posted by arete View Post
*gasp*
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 28-01-2009, 08:53 PM   #16
_r.u.s.s.
I'm not Russ
but an ex-alektorophobic
 
_r.u.s.s.'s Avatar


 
Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
Default

i wanna see you code it in flash, you "big nerd" :bleh:

i bet you'd stumble even on collision detection algorithm=P
__________________
_r.u.s.s. is offline                         Send a private message to _r.u.s.s.
Reply With Quote
Old 28-01-2009, 09:54 PM   #17
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,508
Default

Nerds don't code in Flash. :bleh: Nerds do Fortran. (Nah I never learnt Fortran.)

You don't need to detect collisions in this case, the bodies can't move freely. The equations describe their movement and their solution will simply yield the positions of all solids--of course compliant with the boundary conditions that were inserted in those same equations.
__________________

This retro zombie fashion is getting old :P
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 28-01-2009, 10:00 PM   #18
_r.u.s.s.
I'm not Russ
but an ex-alektorophobic
 
_r.u.s.s.'s Avatar


 
Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
Default

in this case, the algorithm would be a real cpu killer, you can't code everything perfectly as it could be in real life

speaking about nerds, assembler ftw
__________________

Last edited by _r.u.s.s.; 28-01-2009 at 10:02 PM.
_r.u.s.s. is offline                         Send a private message to _r.u.s.s.
Reply With Quote
Old 28-01-2009, 10:56 PM   #19
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,508
Default

No really, it isn't intensive at all, for that human body a 486 would be more than enough if coded in C for example. If you have for example 14 solids, in 2D that means 14x3=42 variables, after applying the boundary conditions you have only 42-26=16 variables. The kind of problems that can be solved with computers nowadays may have millions of variables.

http://upload.wikimedia.org/wikipedi...ualization.jpg

It's not like in real life, it's an approximation, you define the precission with the method (first, second... order, etc.) and the step size (in time). Every instant you estimate the 16 position variables from their values one step before.

http://upload.wikimedia.org/wikipedi..._rectangle.png

Assembly is for programmers, you can't ask an engineer to code in assembly. Most will even use Matlab, Maple or Mathematica most times instead of a generic compiled language.
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 28-01-2009, 11:00 PM   #20
_r.u.s.s.
I'm not Russ
but an ex-alektorophobic
 
_r.u.s.s.'s Avatar


 
Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
Default

well human body is usually placed in a complex world so it can be called "game"
(i mean, except the sick examples tulac gave us)
__________________
_r.u.s.s. is offline                         Send a private message to _r.u.s.s.
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Anyone? Das Ei Programming 27 07-09-2007 06:49 PM
Mcdonalds - Flash Game TheGiantMidgit Blah, blah, blah... 4 13-07-2006 06:20 PM
Great Flash-game Reup Blah, blah, blah... 12 06-05-2005 02:13 PM
Flash Game Yamcha Blah, blah, blah... 3 22-12-2004 02:06 PM
Penguin! (a Flash Game) The_EgAt Blah, blah, blah... 33 07-12-2004 05:01 AM

Thread Tools
Display Modes

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
 


The current time is 09:47 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.