Author Topic: Re: AGS Draconian Edition r7 + HOTFIX (February 13, 2013)  (Read 11331 times)  Share 

tzachs

  • Mittens Serf
  • AGS Baker
  • Parking Goat- games that goats like!
    • I can help with translating
    •  
  • tzachs worked on a game that was nominated for an AGS Award!
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #60 on: 20 Apr 2012, 07:33 »
That is a very good question. I think there needs to be a decision regarding how AGS handles run time errors caused by the user, and then add it to the guidelines document (when such a document exists), so that all developers could keep consistent engine behavior.

In my view, if in debug mode, then the game should crash with an appropriate error message. If not in debug, then write the error to file (like the 'sprite not disposed' error) and try to overcome it (in your scenario, the first loop if one exists or nothing).

Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #61 on: 20 Apr 2012, 09:32 »
That is a very good question. I think there needs to be a decision regarding how AGS handles run time errors caused by the user, and then add it to the guidelines document (when such a document exists), so that all developers could keep consistent engine behavior.

In my view, if in debug mode, then the game should crash with an appropriate error message. If not in debug, then write the error to file (like the 'sprite not disposed' error) and try to overcome it (in your scenario, the first loop if one exists or nothing).

Well, I wouldn't make it crash for ChangeRoom  in debug mode, because it can be used for any character and there is no reason for every one of them to have all the loops, but for other cases yeah.

p.s: How's your editor with docking panel version coming up ? I remember trying it  while ago and the title of panels were unreadable when unfocused.

- Alan


tzachs

  • Mittens Serf
  • AGS Baker
  • Parking Goat- games that goats like!
    • I can help with translating
    •  
  • tzachs worked on a game that was nominated for an AGS Award!
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #62 on: 21 Apr 2012, 22:01 »
Well, I wouldn't make it crash for ChangeRoom  in debug mode, because it can be used for any character and there is no reason for every one of them to have all the loops, but for other cases yeah.
Yeah, but if someone wrote cEvilDoctor.ChangeRoom(..., evilDoctorLoop) and there is no evilDoctorLoop, you'd want the user to know that he made a mistake. If you don't crash on debug and just do nothing, he might not realize why his evil doctor doesn't animate properly. He'll figure out eventually that evilDoctorLoop should be 4 and not 5, but you can save him some head scratching by showing him the error.

Quote
p.s: How's your editor with docking panel version coming up ? I remember trying it  while ago and the title of panels were unreadable when unfocused.
I've worked with it on my last game (9 months in) and fixed all the bugs I found. Nobody reported the bug you found and I don't remember seeing it. I just re-checked and it looks fine to me. If you can get latest from svn, and check if you still have this issue so that I could fix it (send me a screenshot), I'd appreciate it.

And while we're on the subject, do you intend to check in your changes to the codebase? It would be a shame if you don't...

Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #63 on: 22 Apr 2012, 09:30 »
Yeah, but if someone wrote cEvilDoctor.ChangeRoom(..., evilDoctorLoop) and there is no evilDoctorLoop, you'd want the user to know that he made a mistake. If you don't crash on debug and just do nothing, he might not realize why his evil doctor doesn't animate properly. He'll figure out eventually that evilDoctorLoop should be 4 and not 5, but you can save him some head scratching by showing him the error.

Yeah, but that  loop parameter is only for sake of direction, FaceLocation doesn't explode if you try to turn the character to a direction for which it doesn't have a loop. The point was to save one the  trouble of running two commands, thus my reticence to throw errors.
I could enforce the use of an enum for directions (eDirectionUp,eDirectionLeft...), but then there could be people doing weird custom things.
Or screw them ? :D


Quote
I've worked with it on my last game (9 months in) and fixed all the bugs I found. Nobody reported the bug you found and I don't remember seeing it. I just re-checked and it looks fine to me. If you can get latest from svn, and check if you still have this issue so that I could fix it (send me a screenshot), I'd appreciate it.

Gotta be the theme I'm using then.
But now that I tried again I noticed another problem, scintilla seems to occasionally break (no formatting, no lines and with an asterisk even though it's not modified) when moving the pane onto different places, did that ever happen to you ?




Quote
And while we're on the subject, do you intend to check in your changes to the codebase? It would be a shame if you don't...

Do you mean the official codebase or mine own on github ? I wanted to sort out this little dilemma about changeroom before committing.


- Alan

tzachs

  • Mittens Serf
  • AGS Baker
  • Parking Goat- games that goats like!
    • I can help with translating
    •  
  • tzachs worked on a game that was nominated for an AGS Award!
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #64 on: 23 Apr 2012, 19:52 »
I could enforce the use of an enum for directions (eDirectionUp,eDirectionLeft...), but then there could be people doing weird custom things.
Or screw them ? :D
An enum will make the function more intuitive, so I vote for that. Whoever wants to do weird custom things could just use two commands.

Quote

But now that I tried again I noticed another problem, scintilla seems to occasionally break (no formatting, no lines and with an asterisk even though it's not modified) when moving the pane onto different places, did that ever happen to you ?
Was that with the latest version? It did happen to me, but I thought I fixed it...

Quote
Do you mean the official codebase or mine own on github ? I wanted to sort out this little dilemma about changeroom before committing.
The official codebase. I don't see the reason for having another repository.

Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #65 on: 24 Apr 2012, 07:47 »
Quote
An enum will make the function more intuitive, so I vote for that. Whoever wants to do weird custom things could just use two commands.
Ok then, it shall be done.

Quote

Was that with the latest version? It did happen to me, but I thought I fixed it...
Yes, it's the latest (revision 73). I didn't notice until I changed colors.

Quote
The official codebase. I don't see the reason for having another repository.
Ok, let's do it. But someone should decide what to merge and what not to. Stuff like the dark theme and my test filters might not be to everyone's tastes. :)


- Alan

General_Knox

  • Storm Behind The Badge
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #66 on: 25 Apr 2012, 00:03 »
Could the dark theme be a checkbox you select? Maybe then we could have different color schemes that users can save, and load?
--All that is necessary for evil to triumph is for good men to do nothing.

icey games

  • Official KH tester
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #67 on: 25 Apr 2012, 04:56 »
I was wondering are you able to increase the obj's per count to 60 instead of 40?

Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #68 on: 25 Apr 2012, 10:59 »
Could the dark theme be a checkbox you select? Maybe then we could have different color schemes that users can save, and load?
Yes but I can't be arsed.

I was wondering are you able to increase the obj's per count to 60 instead of 40?
Change MAX_INIT_SPR to 60 inside acroom.h and recompile.


- Alan

subspark

  • Some things, you just can't unsee.
    • I can help with animation
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with AGS tutoring
    •  
    • I can help with play testing
    •  
    • I can help with proof reading
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #69 on: 25 Apr 2012, 13:34 »
Alan,

This graphical issue has been a hindrance since alpha channel support was first implemented into AGS back in v2.8.
It's never worked correctly and I wanted to point you to it so that perhaps you'd be the fellow to cook up a remedy:

The second set of inventory icons are what we expect AGS to be rendering on the screen in front of the GUI layer.
The first set is how they've appeared to date.

     
Adlanto - A bold step into a valley of forgotten worlds - Coming Soon to Steam in August 2015!       Indiana Jones and the Fountain of Youth - Indy is back!

General_Knox

  • Storm Behind The Badge
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #70 on: 25 Apr 2012, 16:46 »
Quote
Yes but I can't be arsed.

Lol! haha ok.

For those of use that cant change the editor, do you think that increasing the object limit to 80 or 100 (like icy asked) could be implemented in your next release?

Pwetty please!! :)

--All that is necessary for evil to triumph is for good men to do nothing.

icey games

  • Official KH tester
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #71 on: 26 Apr 2012, 05:04 »
Yes please do :D

I'm just way to nervous to play around with the source cause I feel like I might mess something up or it might mess my game up. But I could just try it on the demo game, hummm....

Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #72 on: 26 Apr 2012, 14:06 »
@subspark: I don't know about the alpha issue on the inventory. Maybe one day I'll look into it.

@icey,knox: I've written what to change, go and compile it already ! You can't break anything just by recompiling the engine, the more people learn how to compile the damn thing the better.


- Alan

tzachs

  • Mittens Serf
  • AGS Baker
  • Parking Goat- games that goats like!
    • I can help with translating
    •  
  • tzachs worked on a game that was nominated for an AGS Award!
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #73 on: 26 Apr 2012, 15:47 »
Ok, let's do it. But someone should decide what to merge and what not to. Stuff like the dark theme and my test filters might not be to everyone's tastes. :)

Actually I was thinking of an xml file where you can set the theme yourself. This way people could create and share themes. But since you don't have the time/energy (I know that feeling too well  ;)) to make it optional, it's better to leave it out. As for the filters, they are optional, right? If so, I see no reason to not check them in.

General_Knox

  • Storm Behind The Badge
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #74 on: 26 Apr 2012, 17:29 »
Wow ok its that easy? NICE!

Ill check out the tutorials then on how to do all that.  :)
--All that is necessary for evil to triumph is for good men to do nothing.

subspark

  • Some things, you just can't unsee.
    • I can help with animation
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with AGS tutoring
    •  
    • I can help with play testing
    •  
    • I can help with proof reading
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #75 on: 26 Apr 2012, 21:17 »
Quote
I don't know about the alpha issue on the inventory. Maybe one day I'll look into it.
Ta mate.
     
Adlanto - A bold step into a valley of forgotten worlds - Coming Soon to Steam in August 2015!       Indiana Jones and the Fountain of Youth - Indy is back!

monkey_05_06

  • AGS Project Admins
  • Has left the building.
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #76 on: 26 Apr 2012, 23:13 »
The alpha inventory issue can be resolved without modifying anything, you just have to use the right combination of GUI and control settings...I'm pretty sure that the InvWindow has simply to be on a GUI with a BackgroundGraphic that has alpha transparency. That's more an quirky annoyance than an actual bug though.
Let's be honest. Most people suck at coding. I suck at coding, but at least my code is readable. To Hell with anyone too lazy to maintain consistent formatting in their code. I could deal with bad interfaces and structure if I could even read your horrible code. And that's putting it nicely. -monkey

subspark

  • Some things, you just can't unsee.
    • I can help with animation
    •  
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with AGS tutoring
    •  
    • I can help with play testing
    •  
    • I can help with proof reading
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #77 on: 28 Apr 2012, 04:29 »
You're referring to this monkey?
Yeah. No go. I've tried everything. It would seem this quirk has just slipped off the radar. [Sigh] I really don't know what to do about this.
>:(

Edit: Another victim of the same bug.
« Last Edit: 28 Apr 2012, 04:46 by subspark »
     
Adlanto - A bold step into a valley of forgotten worlds - Coming Soon to Steam in August 2015!       Indiana Jones and the Fountain of Youth - Indy is back!

Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #78 on: 28 Apr 2012, 20:29 »
We have tried giving the GUI that the inventory window is on a background graphic that uses an alpha channel, to no avail as subspark says. We're really out of ideas and it's quite annoying. Would be awesome if the Draconian Edition would fix this very annoying problem!

Re: AGS Draconian Edition r5 beta (April 13, 2012)
« Reply #79 on: 29 Apr 2012, 02:25 »
Where can I find the source?