Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 33 34 [35] 36 37 ... 81

Author Topic: Cloud Scream > Development on Pause  (Read 86954 times)

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Cloud Scream: > Grocery List
« Reply #510 on: December 13, 2009, 08:43:43 pm »

That's a good idea, I'll try that at some point,
 but the rest of this week is going to be pretty packed.
Finals are upon me.
I have no idea how this will work out.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Alexhans

  • Bay Watcher
  • This is toodamn shortto write something meaningful
    • View Profile
    • Osteopatia y Neurotonia
Re: Cloud Scream: > Grocery List
« Reply #511 on: December 14, 2009, 04:21:41 am »

crap man... I feel I'm missing when my nephew starts walking... Those pics look awesome...

I'll be here... soon... I promise...  ;)
Logged
“Eight years was awesome and I was famous and I was powerful" - George W. Bush.

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Cloud Scream: > Grocery List
« Reply #512 on: December 14, 2009, 10:27:52 am »

We are waiting for you Alex. This place is where we all belong.
Bay12 is our ship, on this ocean of dooms.

Also, migraine.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Cloud Scream: > Grocery List
« Reply #513 on: December 15, 2009, 01:18:56 am »

Tomorrow is a definitive day.

If tomorrow is a bad day,
things will collapse, and I very well may cease to be Orange.

If tomorrow is a good day,
I will have 3 weeks of free time to enjoy programming my game.

I guess you guys can cross your fingers,
 but at this point I'm very nervous.

I hope it all works out.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Cloud Scream: > Grocery List
« Reply #514 on: December 16, 2009, 11:42:50 am »

Okay, nothing is nearly as bad as I first thought.
Tomorrow's the last day I'll be busy for a long time,
 so after that, I should be free to work on my game without issue.

Ooh, I can't wait to get it all together.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

timmeh

  • Bay Watcher
    • View Profile
    • My Portfolio
Re: Cloud Scream: > Grocery List
« Reply #515 on: December 16, 2009, 12:23:04 pm »

Okay, nothing is nearly as bad as I first thought.
Tomorrow's the last day I'll be busy for a long time,
 so after that, I should be free to work on my game without issue.

Ooh, I can't wait to get it all together.

Sounds good, looking forward to it!
Logged
On the Wall is a Masterfully engraved carving of Urist McHardcastle and Goblins. Urist McHardcastle is surrounded by the Goblins. The Golbins are stamping on Urist McHardcastle. Urist McHardcaste is laughing at the Goblins. The carving related to the prolonged and bloody death of Urist McHardcastle in the Fall of 1659, the Winter of 1659, and the Spring of 1660. On the engraving is an image of Cheese.

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Cloud Scream: > Grocery List
« Reply #516 on: December 16, 2009, 10:45:17 pm »

I cannot wait for tomorrow evening!
I will be completely, completely free!
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

timmeh

  • Bay Watcher
    • View Profile
    • My Portfolio
Re: Cloud Scream: > Grocery List
« Reply #517 on: December 17, 2009, 01:13:32 pm »

I cannot wait for tomorrow evening!
I will be completely, completely free!

I'll have to try and get my MSN working before then I guess.  I may have to set it up on my PS3 though, I've only got my dad's laptop in the morning and afternoon, while he's working.  Once he get's back he usually needs it for school stuff...
Logged
On the Wall is a Masterfully engraved carving of Urist McHardcastle and Goblins. Urist McHardcastle is surrounded by the Goblins. The Golbins are stamping on Urist McHardcastle. Urist McHardcaste is laughing at the Goblins. The carving related to the prolonged and bloody death of Urist McHardcastle in the Fall of 1659, the Winter of 1659, and the Spring of 1660. On the engraving is an image of Cheese.

Jack_Bread

  • Bay Watcher
  • 100% FRESH ♥HIPPO♥
    • View Profile
Re: Cloud Scream: > Grocery List
« Reply #518 on: December 17, 2009, 01:24:26 pm »

Huzzah! Awesome! ;D

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Cloud Scream: > Grocery List
« Reply #519 on: December 18, 2009, 12:01:57 pm »

I've started work on my game again, but things are going slowly.
The problem with saving and loading maps,
is all of it is a big headache, since you basically have to juggle all the info in and out of the save files,
which at the moment are only 78 KB height maps, and the bugs are so vague and confusing.

I feel like I'm drowning in my game.
The bugs will suffocate me dead.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

timmeh

  • Bay Watcher
    • View Profile
    • My Portfolio
Re: Cloud Scream: > Painful Painful Bugs
« Reply #520 on: December 18, 2009, 12:58:19 pm »

Stick with it!  What kind of bugs, anything I (or anyone else here) could help with?
Logged
On the Wall is a Masterfully engraved carving of Urist McHardcastle and Goblins. Urist McHardcastle is surrounded by the Goblins. The Golbins are stamping on Urist McHardcastle. Urist McHardcaste is laughing at the Goblins. The carving related to the prolonged and bloody death of Urist McHardcastle in the Fall of 1659, the Winter of 1659, and the Spring of 1660. On the engraving is an image of Cheese.

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Cloud Scream: > Painful Painful Bugs
« Reply #521 on: December 18, 2009, 01:25:50 pm »

You would only be able to help if you were willing to dive deep into a headache tarantula soup.

The problems are mostly to do with having tons of functions that all allow you to specify parameters,
but the parameters are all different systems,
 and nothing is consistent, and saving and loading are difficult to test.

I'll feel better about it later.
I just need a fresh head to think about all of this clearly.

For some reason I thought today would be all roses and crayons.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: Cloud Scream: > Painful Painful Bugs
« Reply #522 on: December 18, 2009, 04:07:41 pm »

I've made a couple more tiny steps in the right direction, but massive issues all around.
I don't even know where to start. I suppose I'll keep poking the parts of the code that aren't working,
until I learn enough about the issue to resolve it.

Until then, I can't do any of the fun stuff that is to be added next.
I am getting very impatient and aggravated.

The current problem is very vague.
When a new map tile is explored, it is supposed to check if a save of that map already exists, and if so,
just load the save.
Too bad it doesn't work, and I have no idea where the problem lies.

The most likely issue is that the detection of the existence of files is not working.
Here's the code that deals with that:

Spoiler (click to show/hide)

The overall issue is that it isn't detecting the maps present, and is creating a new map on top of the old one.

The other place the issue could be is in the translation of coords in my map transfer function.
Basically, if the game is moving the world map around incorrectly, it could be picking up empty spaces there.
I would have to identify and fix that problem on my own, as I have been attempting to do for a while.

Basically, if you want to help, proof-read that code, and tell me if it makes sense to you.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

timmeh

  • Bay Watcher
    • View Profile
    • My Portfolio
Re: Cloud Scream: > Painful Painful Bugs
« Reply #523 on: December 18, 2009, 04:17:24 pm »

It all looks like it should work to me.  If checking for the file's existance is the issue though, here's the code I use in my game for it:
Code: [Select]
/**file_exists(string filename)
Returns true if the file exists
Uses 'sys/stat.h', hopefully multiplatform
'fileinfo' can be used to get more information if I need it later.**/
bool file_exists(string filename)
{
    struct stat fileinfo;  //A variable to hold the more complicated result of stat()

    if( stat(filename.c_str(), &fileinfo) == 0 )  //If stat() returns 0 then the file exists
    {
        return true;  //so return true
    }
    else  //If it returned anything else, then the file can't be access for some reason, it may not exist.
    {
        return false;  //so return false
    }
}

Just make sure you include sys/stat.h and it should work just fine.  If you Google 'stat() C++' you can probably figure out more about the 'fileinfo' variable.  From what I remember it'll let you know exactly what happened when it tried to open the file somehow.
Logged
On the Wall is a Masterfully engraved carving of Urist McHardcastle and Goblins. Urist McHardcastle is surrounded by the Goblins. The Golbins are stamping on Urist McHardcastle. Urist McHardcaste is laughing at the Goblins. The carving related to the prolonged and bloody death of Urist McHardcastle in the Fall of 1659, the Winter of 1659, and the Spring of 1660. On the engraving is an image of Cheese.

qwertyuiopas

  • Bay Watcher
  • Photoshop is for elves who cannot use MSPaint.
    • View Profile
    • uristqwerty.ca, my current (barren) site.
Re: Cloud Scream: > Painful Painful Bugs
« Reply #524 on: December 18, 2009, 04:31:53 pm »

You could use the C file system, since it only returns a valid file pointer if the file exists(IIRC), and then close the file and use the C++ method, now knowing that the file exists...

What does ios::trunc mean? Could it imply being able to write to the file?

Yes, it appears so!

"ios::trunc: If the file does not exist, a new empty file is created. If the file exists, its content is deleted and it is treated as a new file. "

The issue is the ios::trunc.
Logged
Eh?
Eh!
Pages: 1 ... 33 34 [35] 36 37 ... 81