Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 38 of 38
Search took 0.01 seconds.
Search: Posts Made By: Aourhgad
Forum: C++ Jul 25th, 2006, 3:15 PM
Replies: 6
Views: 195
Posted By Aourhgad
Yeah I just realized what I was doing wrong. I've...

Yeah I just realized what I was doing wrong. I've got it working now, thank you for your help.
Forum: C++ Jul 25th, 2006, 2:21 PM
Replies: 6
Views: 195
Posted By Aourhgad
I made a test program where it converts the INT...

I made a test program where it converts the INT into a CHAR * just fine but when I try to implement it into my SDL program it crashes. I've narrowed it down to simply calling itoa()

For some reason...
Forum: C++ Jul 24th, 2006, 8:37 PM
Replies: 6
Views: 195
Posted By Aourhgad
sending INT over winsock

Hello, I wan't to send X,Y locations to another program using winsock.

My main source so far for learning sockets and implementing simple programs has been a unix style book. Unfortunately my...
Forum: C++ Mar 4th, 2005, 9:20 AM
Replies: 12
Views: 318
Posted By Aourhgad
I agree with you dizzutch about programming your...

I agree with you dizzutch about programming your own engine *cough* my game *cough* but its not such a bad idea to work with others. I have one friend for instance that just takes my code or any code...
Forum: C++ Feb 21st, 2005, 8:05 PM
Replies: 3
Views: 1,028
Posted By Aourhgad
well if i copy random bits of a bitmap image i...

well if i copy random bits of a bitmap image i open in notepad and paste them a bout it really distorts the imagelol
Forum: C++ Feb 21st, 2005, 6:23 PM
Replies: 10
Views: 444
Posted By Aourhgad
That would make more sense than your first idea...

That would make more sense than your first idea of a huge surface. If each map were in one txt file it would then still let you add things and render them makign the world get as big as it needed to...
Forum: C++ Feb 21st, 2005, 2:24 PM
Replies: 10
Views: 444
Posted By Aourhgad
the way it works currently is the world is now...

the way it works currently is the world is now broken into 20 by 20 tile chunks, and i can add and drop chunks as i please
Forum: C++ Feb 20th, 2005, 6:36 PM
Replies: 10
Views: 444
Posted By Aourhgad
I've made myself a map editor but if i am to...

I've made myself a map editor but if i am to understand you correctly you mean oen huge mega map surface. In order to have it all setup correctly i'd need ot know exactly how many maps i'd want and...
Forum: C++ Feb 20th, 2005, 6:04 PM
Replies: 10
Views: 444
Posted By Aourhgad
You mean one surface being the entire game...

You mean one surface being the entire game containing all maps?

I like that idea yes but as of now i do not know how many maps i am going to use. Currently the engine handles any graphics and maps i...
Forum: C++ Feb 20th, 2005, 2:29 PM
Replies: 10
Views: 444
Posted By Aourhgad
if we lined up maps all next to eachother in a 3...

if we lined up maps all next to eachother in a 3 by 3 map grid, you can see a maximum of 4 maps at a time. This does away with room by room and lets you walk smoothley within an uninterupted world. ...
Forum: C++ Feb 20th, 2005, 1:00 PM
Replies: 10
Views: 444
Posted By Aourhgad
Thinking ahead.....cpu usage headaches iminent

Well the game was originally ment to be a Hack N slash like zelda but maybe have charecter advancement with an rpg story line (something sword of mana seems to pull of wonderfully)

anyhow, in the...
Forum: C++ Feb 16th, 2005, 11:00 PM
Replies: 3
Views: 222
Posted By Aourhgad
Yeah it is getting slowed down sometimes because...

Yeah it is getting slowed down sometimes because if i amc onstantly moving in one direction where it starts too scroll at the edge, it will slow down sometimes.

Other htan that i think its doing ok....
Forum: C++ Feb 16th, 2005, 6:28 PM
Replies: 3
Views: 222
Posted By Aourhgad
as of now it works within the 9 maps loaded, I...

as of now it works within the 9 maps loaded, I notice some performance drops now since its not room by room anymore. I do not know which type too keep. Also lines apear across the screen sometimes...
Forum: C++ Feb 16th, 2005, 4:04 PM
Replies: 3
Views: 222
Posted By Aourhgad
Converting to a scrolling tile engine....ABSURD!

Well I feel I am trying to do something very foolish. I want to change my game engine from a room by room deal, to a scrolling tile engine. I want to walk from one map into the other witht he effect...
Forum: C++ Feb 15th, 2005, 4:53 PM
Replies: 1
Views: 232
Posted By Aourhgad
Ok let me rephrase this for George since we have...

Ok let me rephrase this for George since we have not gotton a reply. Basically we want to find another way to use scaling of bitmaps in our SDL programs.

We do know SDL does not have scaling built...
Forum: C++ Feb 15th, 2005, 2:31 PM
Replies: 3
Views: 248
Posted By Aourhgad
You were correct

Thank you. It looks like I might need to recreate all the maps by hand. <sigh> well at least I know my linux version works.
Forum: C++ Feb 13th, 2005, 7:50 PM
Replies: 3
Views: 248
Posted By Aourhgad
Linux+Fstream=Headache

The windows version of these 2 programs work perfectly fine.

For some reason, my 2 programs, the map making program and my game program do not work in linux.

Prior to adding Fstream functions to...
Forum: C++ Feb 13th, 2005, 11:42 AM
Replies: 33
Views: 1,478
Posted By Aourhgad
lol I can't afford many programming books so its...

lol I can't afford many programming books so its hours of refering to API's for me :-P

also being dumb and making my own engine in SDL
Forum: C++ Jan 10th, 2005, 11:13 AM
Replies: 4
Views: 239
Posted By Aourhgad
Still need some resources on tiles. I am going to...

Still need some resources on tiles. I am going to search through google again anyhow. I usually always do.
Forum: C++ Jan 10th, 2005, 7:30 AM
Replies: 4
Views: 239
Posted By Aourhgad
Custom Tiles/Sprites

Well I guess there comes a time in every game projects life when you realize that you are better off getting legit custom made tiles and sprites.

I have 2 options

1) Where can i find a good...
Forum: C++ Dec 23rd, 2004, 5:49 PM
Replies: 6
Views: 270
Posted By Aourhgad
WOO i got it working. :D What i did is realized...

WOO i got it working. :D What i did is realized i could use the delimeter part of .getline() and since it still extracts it without saving it i diddnt have to worry about the wrong data getting...
Forum: C++ Dec 23rd, 2004, 5:14 PM
Replies: 6
Views: 270
Posted By Aourhgad
The reloading code isnt working right. as of now...

The reloading code isnt working right. as of now map.txt looks like this

Outside.bmp
96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96
96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96...
Forum: C++ Dec 22nd, 2004, 9:55 AM
Replies: 6
Views: 270
Posted By Aourhgad
I Knew how to output it that way to the txt file...

I Knew how to output it that way to the txt file I don't know if I mentioned that. The real issue lies in reading all that data back into the propor array
Forum: Coder's Corner Lounge Dec 21st, 2004, 6:40 PM
Replies: 20
Views: 345
Posted By Aourhgad


Forum: Coder's Corner Lounge Dec 21st, 2004, 5:38 PM
Replies: 20
Views: 345
Posted By Aourhgad
Well as I see it public schools are a government...

Well as I see it public schools are a government institution so technically any faculty member cant embrace nor say no to anyone celebrating a holiday. That doesnt mean the students can't start...
Forum: C++ Dec 21st, 2004, 4:36 PM
Replies: 2
Views: 225
Posted By Aourhgad
Do you mean the windows clipboard? <assuming this...

Do you mean the windows clipboard? <assuming this is Windows.>
Forum: C++ Dec 21st, 2004, 3:34 PM
Replies: 6
Views: 270
Posted By Aourhgad
Well as you may remember I was working on making...

Well as you may remember I was working on making a map engine. It now saves the maps as txt files but it saves each value per 1 line. there are 400 values in total so thats a HUGE list.

here is what...
Forum: C++ Dec 21st, 2004, 11:33 AM
Replies: 3
Views: 236
Posted By Aourhgad
Its ok this program works better under linux...

Its ok this program works better under linux anyhow. I compile it using GCC environment and in windows i use Mingw with it compiling with msys.

I can test it under linux easier but i was just...
Forum: Other Programming Languages Dec 20th, 2004, 9:14 PM
Replies: 2
Views: 245
Posted By Aourhgad
I know Macromedia has font making software called...

I know Macromedia has font making software called Fontographer but i'm sure you can find some free software somewhere instead.
Forum: C++ Dec 20th, 2004, 7:22 PM
Replies: 3
Views: 236
Posted By Aourhgad
Hey I was just wondering if there was an easy way...

Hey I was just wondering if there was an easy way to figure out how much CPU usage and strain or even measure a program you have made in C++ does on the system. It takes up the full screen so I cant...
Forum: C++ Dec 19th, 2004, 3:29 PM
Replies: 6
Views: 245
Posted By Aourhgad
This isnt working for me in linux though :-(

This isnt working for me in linux though :-(
Forum: C++ Dec 19th, 2004, 3:18 PM
Replies: 6
Views: 245
Posted By Aourhgad
Thank you :D

Thank you :D
Forum: C++ Dec 19th, 2004, 3:08 PM
Replies: 6
Views: 245
Posted By Aourhgad
Could I get a link please. My internet on campus...

Could I get a link please. My internet on campus is really slow right now so its not letting me access any search engines.
Forum: C++ Dec 19th, 2004, 2:03 PM
Replies: 6
Views: 245
Posted By Aourhgad
I am making a 2d game with a friend using...

I am making a 2d game with a friend using SDL.

thanks to help from this forum I was able to finish the code that saves the maps to a txt file and can load the maps back up into the engine.

I...
Forum: C++ Dec 18th, 2004, 6:47 PM
Replies: 3
Views: 163
Posted By Aourhgad
Well I got it working. Thanks a lot :) . void...

Well I got it working. Thanks a lot :) .


void SaveMap (void)
{
int i,j = 0;

ofstream saveFile ("map.txt");

for (i = 0; i < 20; i++)
Forum: C++ Dec 18th, 2004, 4:20 PM
Replies: 3
Views: 163
Posted By Aourhgad
can i please se the code on how to get it to read...

can i please se the code on how to get it to read back the data into the array.

Please keep in mind these are integers not charecters. I modified the code you sent me and got it working for...
Forum: C++ Dec 18th, 2004, 5:45 AM
Replies: 3
Views: 163
Posted By Aourhgad
Hello. I am currently trying too finish a map...

Hello. I am currently trying too finish a map making engine. It is all set except the issue of saving all the data to a txt file. Currently the map stores its information in a double scripted array....
Forum: Community Introductions Dec 18th, 2004, 5:40 AM
Replies: 8
Hi
Views: 252
Posted By Aourhgad
Hello. hmm how too introduce myself. Well I...

Hello. hmm how too introduce myself. Well I started programming BASIC on a small little VTECH learning game thing that looked like a laptop when i was in 5th grade about 8 or 9 years ago. Then in...
Showing results 1 to 38 of 38

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:44 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC