# Search:

Type: Posts; User: Nutshell

Page 1 of 20 1

by Nutshell
Replies
4
Views
1,637

thx!
2. ## Thread: Rightmost digits in integer

by Nutshell
Replies
4
Views
1,637

### Rightmost digits in integer

Hi,

For an integer say 123456, how do i extract the rightmost 3 digits (456) from that integer?

thx
3. ## Thread: How to use .sub subtitle file?

by Nutshell
Replies
2
Views
5,894

### How to use .sub subtitle file?

Hi,

How do i use the .sub subtitle file in media players to display subtitles for a movie? Windows media player for example?

thx
4. ## Thread: Gamers: what are you playing these days?

by Nutshell
Replies
50
Views
4,031

### Doesn't anyone play Flight Sim 2004?

Doesn't anyone play Flight Sim 2004?

by Nutshell
Replies
15
Views
2,716

### NEVER ARGUE WITH A CHILD...

NEVER ARGUE WITH A CHILD
--------------------------------------

A little girl was talking to her teacher about whales.

The teacher said it was physically impossible for a whale to swallow a_...
6. ## Thread: How to detect something inside a mouth?

by Nutshell
Replies
12
Views
2,034

### A point is either inside or outside. I can do the...

A point is either inside or outside. I can do the radius distance check first.

The problem im having now is how to allow the point to pass through the outline of the pacman thing to enter the...
7. ## Thread: How to detect something inside a mouth?

by Nutshell
Replies
12
Views
2,034

### Hey, I found out the answer :D . For future...

Hey,

I found out the answer :D . For future readers, my mouth (the pacman's) is a triangle, so we need to know if a point is inside a triangle. To do this follow these steps:

1) Get the...
8. ## Thread: How to detect something inside a mouth?

by Nutshell
Replies
12
Views
2,034

### THnx, but no. I want the ball only to be eaten if...

THnx, but no. I want the ball only to be eaten if it is inside the pacman's mouth, not just inside pacman's outline. I didn't say im making pacman, im just using pacman as an example, since my sprite...
9. ## Thread: How to detect something inside a mouth?

by Nutshell
Replies
12
Views
2,034

### Wat do you mean ?:rolleyes:

Wat do you mean ?:rolleyes:
10. ## Thread: How to detect something inside a mouth?

by Nutshell
Replies
12
Views
2,034

### The pacman-like thing should be able to move and...

The pacman-like thing should be able to move and turn 360 degrees, so it's a bit confusing for me as in how to compare the coordinates etc. Any ideas?
11. ## Thread: How to detect something inside a mouth?

by Nutshell
Replies
12
Views
2,034

### How to detect something inside a mouth?

Hi,

How can i detect if say a little ball is inside something like a pacman's mouth?

See diagram:

by Nutshell
Replies
30
Views
3,298

### Some theory of the cd sparks:...

Some theory of the cd sparks:
http://www.everist.org/special/mw_oven/index.htm#tech

Some microwave experiments (most not as safe as the cd one):
http://microwave.tehbox.com/
13. ## Thread: I wanna throw a pie in Bill Gates' face!

by Nutshell
Replies
15
Views
2,490

### Maybe try a different version of Opera. It works...

Maybe try a different version of Opera. It works fine for me :rolleyes:
14. ## Thread: Sams Game programming book ??

by Nutshell
Replies
6
Views
1,686

### You don't 'have' to know WinAPI to program games...

You don't 'have' to know WinAPI to program games (e.g. allegro does that for ya).

You might like to check out Andre Lamothe's Windows Game Programming For Dummies, or Tricks.

Some quickie...

by Nutshell
Replies
23
Views
2,493

### So so frustrating..

So so frustrating..
16. ## Thread: Collision Detection: What Am I Doing Wrong?

by Nutshell
Replies
3
Views
1,056

### I think you got the directions the other way...

I think you got the directions the other way round. Try revert them all.
17. ## Thread: preventing user entering characters

by Nutshell
Replies
12
Views
8,753

### Simply use isalpha() -...

Simply use isalpha() - http://www.mkssoftware.com/docs/man3/isalpha.3.asp
18. ## Thread: Opengl users: What are your replacements for DirectX Components?

by Nutshell
Replies
16
Views
2,325

### Hmm, so i suppose the most popular alternatives...

Hmm, so i suppose the most popular alternatives are:

Direct Audio - FMod
Direct Input - Glut ?!
Direct Play - ???
19. ## Thread: Opengl users: What are your replacements for DirectX Components?

by Nutshell
Replies
16
Views
2,325

### Opengl users: What are your replacements for DirectX Components?

Heh,

I know Opengl is for pure graphics, whereas DirectX includes the following components:
DirectGraphics
Direct Audio
Direct Input
Direct Play

My question is, what do...

by Nutshell
Replies
35
Views
3,866

### Silvercord's idea is also in the book...

Silvercord's idea is also in the book "Hyperspace". Very interesting concept that relates to other theories like superstrings and 10th dimension. If there's an online free fiction on the subject tell...

by Nutshell
Replies
10
Views
2,112

### I think the reason why it wouldn't compile with...

I think the reason why it wouldn't compile with 'bool' is because the bool data type is C++, while your code is C.

But substituting 0 for false and 1 as true is just as easy.

by Nutshell
Replies
11
Views
6,438

### Hey PJ that problem sounds real interesting. What...

Hey PJ that problem sounds real interesting. What contest is that from? meh
23. ## Thread: Lanthanide and Actinide

by Nutshell
Replies
49
Views
4,357

### Wow bieh awsome. Are you using directX? You've...

Wow bieh awsome. Are you using directX?

You've come a long way since i when i saw your "space wars" last.
24. ## Thread: questions: Game ideas and assembler

by Nutshell
Replies
19
Views
2,622

Connect4.

by Nutshell
Replies
12
Views
2,328

### Look at this txt file: ...

Look at this txt file:

C:\Dev-Cpp\Allegro\docs\build\mingw32.txt
Results 1 to 25 of 500
Page 1 of 20 1