Search found 120 matches

by andrew
Thu Nov 26, 2009 4:34 pm
Forum: Game Development
Topic: Raycaster
Replies: 11
Views: 1923

Re: Raycaster

Here you go:
'Doom' 3D Engine techniques. This explains it briefly.

This one is mentioned in the other link as having a much more detailed explanation of raycasters.
acksrc.zip
by andrew
Thu Nov 26, 2009 11:56 am
Forum: Game Development
Topic: Raycaster
Replies: 11
Views: 1923

Re: Raycaster

jaymonster138 wrote:What exactly is a "Raycaster"?
Ray Casting

Games that used it: Doom, Wolfenstein 3D, lots of others too.

Example of a very small ray caster in C with Allegro.
by andrew
Mon Nov 23, 2009 12:52 pm
Forum: Programming Discussion
Topic: Lua question - loading multiple scripts
Replies: 8
Views: 1176

Re: Lua question - loading multiple scripts

I'm playing around with Lua (in C++) a little bit finally, and writing a basic text adventure with it. Anyways, I want to separate different things like the map table and functions from the item table and functions, but I can't really find anything on how to have multiple scripts open. Or am I over...
by andrew
Thu Nov 19, 2009 3:01 pm
Forum: General/Off-Topic
Topic: Music with stepper motors
Replies: 0
Views: 1627

Music with stepper motors

I'm sure a lot of people have already seen this, but I still find it amazing every time I see it.



by andrew
Thu Nov 19, 2009 2:51 pm
Forum: Programming Discussion
Topic: I need help, without code. :D
Replies: 5
Views: 538

Re: I need help, without code. :D

Do you mean something like this?
guess game.PNG
guess game.PNG (15.26 KiB) Viewed 616 times
This might also be really helpful to you:
Lecture 6: Solving Problems - Richard Buckland UNSW 2008
by andrew
Sun Nov 15, 2009 4:56 pm
Forum: Programming Discussion
Topic: C# Gui
Replies: 4
Views: 392

Re: C# Gui

To make a level editor you need:

1) access to the screen to display things
2) access to the disk to read and write files
3) some input from the keyboard or mouse

You could make a level editor all in text. It really doesn't matter too much what language you use to write your level editor.
by andrew
Fri Nov 13, 2009 12:52 pm
Forum: General/Off-Topic
Topic: Digital Video Editing
Replies: 6
Views: 485

Re: Digital Video Editing

Not sure if it's good, but it's certainly free: Windows Movie Maker 2.1
by andrew
Wed Nov 11, 2009 12:43 am
Forum: Programming Discussion
Topic: Writing Respectable Code
Replies: 13
Views: 1534

Re: Writing Respectable Code

In addition to what you already have, this also has good advice.
This one is even better.
by andrew
Tue Nov 10, 2009 9:28 pm
Forum: Programming Discussion
Topic: Where to learn assembly
Replies: 10
Views: 946

Re: Where to learn assembly

You want to do something like this: bool Map::saveMap(char *filename) { ofstream savefile(filename); if (!savefile.is_open()) { cout << "Error opening map file!\n"; return false; } savefile << map_w; // map width savefile << " "; savefile << map_h; // map height savefile << "...
by andrew
Tue Nov 10, 2009 9:09 pm
Forum: Programming Discussion
Topic: Where to learn assembly
Replies: 10
Views: 946

Re: Where to learn assembly

It sounds like you might be trying to solve the wrong problem. Using an ofstream should be completely independent from DirectX.
What are you trying to do exactly?
by andrew
Tue Nov 10, 2009 12:46 am
Forum: Programming Discussion
Topic: Where to learn assembly
Replies: 10
Views: 946

Re: Where to learn assembly

The main reason I want to learn assemble is because Direct X encrypts output variables saved to files in assembly. DirectX comes with a tool to tell you what it's thinking as it is running. Not really sure if it's what you need. Here is a professional's experience with it. This is a link to the MSD...
by andrew
Thu Oct 29, 2009 8:34 pm
Forum: Programming Discussion
Topic: Cannot Find The Problem
Replies: 37
Views: 2576

Re: Cannot Find The Problem

davidthefat wrote:The error is that ifstream is undeclared, it should work but no, the compiler is choosing to be gay...

Code: Select all

using namespace std;
ifstream lives in the std namespace.
by andrew
Thu Oct 29, 2009 12:00 pm
Forum: General/Off-Topic
Topic: The shape of disassembled Atari 2600 code
Replies: 1
Views: 245

The shape of disassembled Atari 2600 code

http://benfry.com/distellamap/

Found this while reading about developing on old consoles.

For anyone interested here is the guide for programming on the Atari 2600: Stella Programmer's Guide

Adventure disassembled and well commented: http://www.io.com/~nickb/atari/doc/adventur.txt
by andrew
Mon Oct 26, 2009 8:50 pm
Forum: Programming Discussion
Topic: Console game
Replies: 19
Views: 1508

Re: Console game

yeah its quite impressive. i wouldn't be surprised tho if all it was is an actual 3d demo that was just converted to ascii art. I'm pretty sure it is, there are textures in the folder that come with it. It's still a pretty good conversion and rendering engine though. Yes, he is just converting it t...