![]() |
#11 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2006
Location: ,
Posts: 4,613
|
![]() 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... |
||
![]() ![]() |
|
![]() |
#12 | ||
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2008
Location: Waterside, South Africa
Posts: 3,138
|
![]() Quote:
|
||
![]() ![]() |
|
![]() |
#13 | ||
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2005
Location: Praha, Czech Republic
Posts: 3,273
|
![]() 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 05:37 AM. |
||
![]() ![]() |
|
![]() |
#14 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
|
![]() Quote:
__________________
![]() |
||
![]() ![]() |
|
![]() |
#15 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2006
Location: ,
Posts: 4,613
|
![]()
__________________
Life starts every day anew. Prospects not so good... |
||
![]() ![]() |
|
![]() |
#16 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
|
![]() i wanna see you code it in flash, you "big nerd" :bleh:
i bet you'd stumble even on collision detection algorithm=P
__________________
![]() |
||
![]() ![]() |
|
![]() |
#17 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2006
Location: ,
Posts: 4,613
|
![]() Nerds don't code in Flash. :bleh: Nerds do 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... |
||
![]() ![]() |
|
![]() |
#18 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
|
![]() 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 11:02 PM. |
||
![]() ![]() |
|
![]() |
#19 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2006
Location: ,
Posts: 4,613
|
![]() 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,
__________________
Life starts every day anew. Prospects not so good... |
||
![]() ![]() |
|
![]() |
#20 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
|
![]() 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)
__________________
![]() |
||
![]() ![]() |
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flash Anyone? | Das Ei | Programming | 27 | 07-09-2007 07:49 PM |
Mcdonalds - Flash Game | TheGiantMidgit | Blah, blah, blah... | 4 | 13-07-2006 07:20 PM |
Great Flash-game | Reup | Blah, blah, blah... | 12 | 06-05-2005 03:13 PM |
Flash Game | Yamcha | Blah, blah, blah... | 3 | 22-12-2004 03:06 PM |
Penguin! (a Flash Game) | The_EgAt | Blah, blah, blah... | 33 | 07-12-2004 06:01 AM |
Thread Tools | |
Display Modes | |
|
|
||
  |