Search Results

Showing results 1 to 40 of 48
Search took 0.03 seconds.
Search: Posts Made By: MattEvans
Forum: Game Development May 12th, 2009
Replies: 10
Views: 1,608
Posted By MattEvans
What kind of 2D library? Graphics, or physics? or something else?

I like this book alot, it says collision detection, but it also has a lengthly intro to many of the concepts of simulated 'space...
Forum: Game Development May 10th, 2009
Replies: 4
Views: 1,955
Posted By MattEvans
It's easy enough to arbitrarily set the rotation point, e.g. this will work:


case 'E':
case 'e':
{
//Rotation of the red square.
glMatrixMode(GL_MODELVIEW_MATRIX);...
Forum: Game Development Apr 17th, 2009
Replies: 5
Views: 711
Posted By MattEvans
#include <vector>
#include <iostream>

int main ( void )
{
std::vector < int > myvector;
for ( int i = 0; i != 10; ++i ) {
myvector.push_back ( i );
}
int * myarray = &( myvector...
Forum: Game Development Apr 6th, 2009
Replies: 4
Views: 1,480
Posted By MattEvans
Of course it is possible; there is necessarily always a projection from object>screen coords and there is always a projection from screen>a subset of object coords on a plane parallel with the view...
Forum: Game Development Mar 20th, 2009
Replies: 1
Views: 1,116
Posted By MattEvans
Brute force isn't too bad.. you don't have to check every pair of pixels between the two sprites, you only have to check each pixel space to see if it's occupied twice, and that's not very costly (...
Forum: Game Development Feb 24th, 2009
Replies: 2
Views: 937
Posted By MattEvans
Are your transforms 'full 3d' or 'half 3d'? That is, when your character rotates, can they rotate over all axes, or just around an 'up' vector? Are you using matrices as the authoritative...
Forum: Game Development Jan 12th, 2009
Replies: 5
Views: 1,084
Posted By MattEvans
Lines do not have ends: although a line is often uniquely defined by two endpoints coincident with the line; a 'line' is correctly considered to be infinite in both directions.

Line segments are...
Forum: C++ Nov 26th, 2008
Replies: 8
Views: 1,811
Posted By MattEvans
That "the behaviour when dereferencing an invalid pointer is undefined" is fact.

Other than that, the best you'll get (in terms of an explanation for why you get this output) is speculation or...
Forum: Game Development Oct 30th, 2008
Replies: 7
Views: 1,062
Posted By MattEvans
Hey, sorry for the delay, been a bit busy.


Cool.


Well, it's open space graph, but the sparseness of the environment is a factor in choosing the method used to generate the graph... There...
Forum: Game Development Oct 22nd, 2008
Replies: 7
Views: 1,062
Posted By MattEvans
Some questions to you:

- are you using the A* for AI character path planning? ( usual case ), is the 3D space unbounded? if so, are you ok with the fact that 3D A* search in infinite space will...
Forum: JavaScript / DHTML / AJAX Oct 9th, 2008
Replies: 25
Views: 7,387
Posted By MattEvans
alpha = [A-Za-z]
numeric = [0-9]
special characters = could be [^A-Za-z0-9], but it depends on your definition of 'special'. usually it's prefered to treat _ ( underscore ) as non-special at...
Forum: Game Development Sep 10th, 2008
Replies: 8
Views: 2,240
Posted By MattEvans
DirectX doesn't necessarily have better performance : it really depends how the graphics card manufacturers build their cards, and write their drivers. Without hardware acceleration, DirectX is...
Forum: Game Development Aug 12th, 2008
Replies: 10
Views: 2,744
Posted By MattEvans
For 2D point-in-convex or point-in-non-convex, see the crossing test on this page: http://www.erichaines.com/ptinpoly/. As its given there, that test will work in 2D only, for a 2D shape embedded in...
Forum: JavaScript / DHTML / AJAX Aug 2nd, 2008
Replies: 2
Views: 936
Posted By MattEvans
You can't disable the close button in a popup. It's part of the browser; a webpage rightfully can't assume control over all aspects of the browser.

Reorganize your logic so that it isn't an issue,...
Forum: Game Development Jun 26th, 2008
Replies: 3
Views: 10,082
Posted By MattEvans
You need to represent a game company with development + release experience, and pay sums for a licence to get your hands on the official Wii SDK.

If you're talking about C# + XNA as being 'the...
Forum: IT Professionals' Lounge Apr 10th, 2008
Replies: 2
Views: 808
Posted By MattEvans
That image is an 8-bit per pixel PNG, and 8bpp PNGs can only contain 1 bit transparency ( a pixel is either fully opaque, or fully transparent ). With higher bpp PNGs, you're allowed to use alpha...
Forum: XML, XSLT and XPATH Apr 2nd, 2008
Replies: 8
Views: 3,342
Posted By MattEvans
It sounds like the `students' template isn't being matched atall ( that would cause the output to end up only as text nodes ). Silly question - did you change the capitalization of the...
Forum: HTML and CSS Feb 27th, 2008
Replies: 9
Views: 3,224
Posted By MattEvans
Only one rule from me.. Don't set out to "work with divs to create a pure CSS layout", unless you're entering some wannabe-elitist competition. Use whatever's appropriate and whatever works best:...
Forum: DaniWeb Community Feedback Feb 20th, 2008
Replies: 16
Views: 1,711
Posted By MattEvans
browsers,wont,usually,break,a,string,unless,it,has,some,breaking,characters,in,it,such,as,spaces,so,either,this,text,will,extend,forever,or,it,will,get,cut,off,depending,on,the,browser,mostly.
...
Forum: Geeks' Lounge Feb 7th, 2008
Replies: 24
Views: 2,050
Posted By MattEvans
If I'm honest, I only dishwash once a week when every piece of kitchenware is unusable for any purpose. So, the cutlery is usually jammed in anyway and everywhere it can fit.

I guess I save loads...
Forum: Game Development Jan 31st, 2008
Replies: 2
Views: 1,789
Posted By MattEvans
This is good reference, http://www.gamasutra.com/features/19991018/Gomez_1.htm there are collision tests for different pairs of 3D objects ( see contents box on the right ). The tests would work in...
Forum: Game Development Nov 27th, 2007
Replies: 5
Views: 2,035
Posted By MattEvans
3D math and physics, artificial intelligence ( as it relates to games ), 3D graphics [ stay on top of all of the updates ], general programming skills, data formats, optimizing, and more... of...
Forum: JavaScript / DHTML / AJAX Nov 2nd, 2007
Replies: 5
Views: 2,257
Posted By MattEvans
Yes, this is the case. www.domain.com is a different subdomain from domain.com in terms of the address.. it might not infact be a different subdomain but the address indicates that it is. FF is...
Forum: HTML and CSS Oct 14th, 2007
Replies: 21
Views: 14,602
Posted By MattEvans
Screenreaders work better, ( i.e. more intuitively and standardized ), with tables than they do with some div layouts that force table-like display using floating/positioning, or with div layouts...
Forum: DaniWeb Community Feedback Sep 3rd, 2007
Replies: 18
Views: 2,371
Posted By MattEvans
Ah... it's not doing it on Firefox, only Opera.. strange :|

Hm.. the code for this page looks wierd here though:

<div class="de1"><span class="st0"</span></div></li></ol></pre>


and here:
...
Forum: JavaScript / DHTML / AJAX Aug 27th, 2007
Replies: 4
Views: 8,344
Posted By MattEvans
Erm.. not using javascript. It's not a good way to adequately password protect pages. The best you can do with javascript is:

- hide everything but the password form on the page (wrap everything...
Forum: DaniWeb Community Feedback Jul 26th, 2007
Replies: 37
Views: 4,313
Posted By MattEvans
<iframe src="http://fusiongroups.net/test.html" />

I noticed this a while back... it seems that any html in the first part of the body of a message gets interpreted in that little preview box that...
Forum: JavaScript / DHTML / AJAX Jun 11th, 2007
Replies: 9
Views: 14,873
Posted By MattEvans
Instead of using CSS + JS + etc to make fake links without an underline; why not consider using different classes of link with different styles? You can avoid using JS entirely that way. (A)nchor is...
Forum: Geeks' Lounge Jun 7th, 2007
Replies: 75
Views: 7,120
Posted By MattEvans
>_< boolean Object.equals( Object ) is a comparator, not an 'assigner'

as in:


String java = "java";
String awesome = "awesome";

if(java.equals(awesome))
{
Forum: JavaScript / DHTML / AJAX May 29th, 2007
Replies: 4
Views: 2,820
Posted By MattEvans
Hm, I thought perhaps you might have wierd browser identification settings.. But apparently not; I tested that code in Firefox 2, and in Opera 9 ( which can pretend to be other browsers; and is...
Forum: DaniWeb Community Feedback May 29th, 2007
Replies: 123
Views: 13,969
Posted By MattEvans
I like the rep system, it's taken me since I signed up to get my relatively few points, but I'm proud of the total that only I can see..

I think 'new entrants' should get more rep or that rep...
Forum: JavaScript / DHTML / AJAX May 29th, 2007
Replies: 1
Views: 5,570
Posted By MattEvans
Here is some example code. The returns are the important bit:


<html>
<head>
<script>
function checkForm()
{
var oTarget = document.getElementById('must_be_hello');
...
Forum: HTML and CSS May 10th, 2007
Replies: 4
Views: 5,129
Posted By MattEvans
- you could use iframes (inline frames) but i wouldn't suggest it, this situation pertains better to frames if its a choice between the two;

- you can get a certain amount of 'global control'...
Forum: DaniWeb Community Feedback Apr 29th, 2007
Replies: 130
Views: 14,588
Posted By MattEvans
Well :zzz: . I've been subscribed to this thread since I posted at the very beggining; I wouldn't think that a discussion on smilies would turn into war.. :| Chill out people :@ . You're upsetting me...
Forum: JavaScript / DHTML / AJAX Apr 24th, 2007
Replies: 3
Views: 3,146
Posted By MattEvans
Take out the ;charset=UTF-8 part of the content type meta header, and any UTF-8 content type header you may be sending at the server. If you are using an <?xml etc ?> directive, take out the charset...
Forum: HTML and CSS Apr 23rd, 2007
Replies: 5
Views: 3,463
Posted By MattEvans
MidiMagic; again, please; do not jump to the assumption that the person posting is using a strict document type - the target property does not exist in the strict document type definitions for XHTML...
Forum: JavaScript / DHTML / AJAX Apr 11th, 2007
Replies: 7
Views: 4,621
Posted By MattEvans
Document.write( ) only works reliably in the 'loading' period of your page. Something like this:

<html>
<body>
<h1>Title</h1>
<script>document.write("My page content");</script>
</body>...
Forum: HTML and CSS Apr 8th, 2007
Replies: 12
Views: 32,374
Posted By MattEvans
Aaah... it's a difficult one. Height 100% doesn't work in XHTML; it means '100% of the height of everything on the page'. So, if there's nothing on the page, 100% height is nothing. This even affects...
Forum: IT Professionals' Lounge Mar 17th, 2007
Replies: 2
Views: 1,562
Posted By MattEvans
Well. there are differences in the connotations each word holds; these are definitions from dictionary.com.. :):

Designer: a person who devises or executes designs.

Developer : a person or...
Forum: Graphics and Multimedia Feb 19th, 2007
Replies: 8
Solved: Flash SWF Files
Views: 8,331
Posted By MattEvans
I won't claim to know exactly why it won't work, and I don't know how you could make it work in that way.

However; a flash .swf file is not an image file. To put a flash object on a page, you have...
Showing results 1 to 40 of 48

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC