Author Topic: Strange problem with resources  (Read 3901 times)

0 Members and 1 Guest are viewing this topic.

Kon-Tiki

  • Guest
Strange problem with resources
« on: August 29, 2002, 05:43:57 PM »
I've got a strange problem with a picture. In Picedit, the picture looks just fine. In the resource window is it just the same, but in the game, the whole picture looks crappy, with lots of lines I never drew. I don't have this problem with the other pictures. Does anyone know how this comes and what to do about it?

-Kon-Tiki-



Offline robingravel

Re:Strange problem with resources
« Reply #1 on: August 29, 2002, 05:57:40 PM »
Yes. Sometimes I see some dots on the pictures too on my games.

Robin Gravel

Kon-Tiki

  • Guest
Re:Strange problem with resources
« Reply #2 on: August 29, 2002, 06:12:07 PM »


[attachment deleted by admin]

Kon-Tiki

  • Guest
Re:Strange problem with resources
« Reply #3 on: August 29, 2002, 06:15:23 PM »


[attachment deleted by admin]

Offline Joel

Re:Strange problem with resources
« Reply #4 on: August 29, 2002, 06:21:21 PM »
I assume you're using PicEdit to make the picture...what are you using to play the game? The original interpreter?

It looks to me like the problem is a fill error...the fill color in the game is spillling out over the whole building.

Offline Cosmic R

Re:Strange problem with resources
« Reply #5 on: August 30, 2002, 02:59:23 AM »
This is what I would do:

Save the pic to a new filename, and edit that new file.  Now go back through the commands in the picture, to where you think the error might be, then erase everything after that error and save the pic.  If this new pic in your game displays properly, then you know that the problem is somewhere after the position before you erased.  So either redraw the rest of the picture, or you could systematically go through each command and test it in your game.  I hope this makes sense.  Good luck.

David

  • Guest
Re:Strange problem with resources
« Reply #6 on: August 30, 2002, 03:10:22 AM »
Yeah, it looks like the fill command. I would try erasing the fill command that adds that red, just to see what happens. Then try redrawing that line that seems to have gone screwy, across the top of the building. You can always redraw these. I wouldn't be surprised if picedit mis-saved it somehow.

Kon-Tiki

  • Guest
Re:Strange problem with resources
« Reply #7 on: August 30, 2002, 05:51:22 AM »
Hmmm, I don't think if it's the fill-command (thought of that too), because, when I load the picture in Picedit, everything's just fine. In AGI-studio everything's just fine too. The screen just screws up in the game itself (I'm using the template game).

Anyway, I'll try going through the history and see if there is something wrong there ('cause I could be wrong thinking it's not the fill-command).

-Kon-Tiki-

Kon-Tiki

  • Guest
Re:Strange problem with resources
« Reply #8 on: August 30, 2002, 06:49:22 AM »
Ok, I tried it. There's nothing wrong with the fill-command. I redrew the whole roof and it still gives that problem. The problem seems to be that line screwing wrong. Now it stands perfectly vertical. The problem is that that line bends, so the first fill takes the whole area. If I would first fill the wall and then the roof, the building would look brown. Only thing that's sorted out now, is that the window, the door and the 'open'sign are visible.

I placed a blue priority line where the roof starts, and hoped it mixed the fill of the priorities and the visual screen. That didn't do anything good either. That line's just screwed too. Seems like those lines bend too far to the middle of the screen and stop one pixel too soon.
« Last Edit: August 30, 2002, 06:56:06 AM by Kon-Tiki »

Offline Nick Sonneveld

Re:Strange problem with resources
« Reply #9 on: August 30, 2002, 06:59:14 AM »
AGI Studio and Picedit share the same algorithms for generating pictures.. does anybody know if the picedit source has been released?

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Kon-Tiki

  • Guest
Re:Strange problem with resources
« Reply #10 on: August 30, 2002, 07:03:47 AM »
Joel says he has it.

Offline Joel

Re:Strange problem with resources
« Reply #11 on: August 30, 2002, 11:33:10 AM »
Yeah, I do have the PicEdit source. I was thinking that Chris had uploaded it to his website, but I don't see it there now. I can send it to you if you want it, though.

Offline Nick Sonneveld

Re:Strange problem with resources
« Reply #12 on: August 30, 2002, 02:07:38 PM »
That would be great if you can.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Nick Sonneveld

Re:Strange problem with resources
« Reply #13 on: August 30, 2002, 05:24:09 PM »
hrmm.. it would be interesting to port this to sdl.  Thanks Joel, I appreciate it.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Andrew_Baker

Re:Strange problem with resources
« Reply #14 on: August 31, 2002, 01:17:36 AM »
Question:  What OS are you running on?
I hope you realize that one day I will devour the Earth.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.046 seconds with 15 queries.