Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - cat

#1601
Angelica Crosley

// Feels that it's now the time for some casual small-talk
// Nods to Dr. Gerald Killmurray and approaches him


Good evening, Doctor. I must take the opportunity to express my gratitude. The lotion you prescribed for my wrist did wonders. Of course, it was all down to my publisher, who suddenly advanced the release day forward a whole week. Writing around-the-clock, it's no wonder I strained my hand.
However, thanks to you I was able finish Evil Under the Moon in time. I'm sure it's going to be a best-seller.
#1602
I want a rectangle that doesn't cover the whole screen, only a small part.
#1603
Angelica Crosley

To Applewick!
#1604
I merged the topics.
#1605
Quote from: tzachs on Tue 18/09/2018 22:33:24
Cool! Very happy you figured it out without any specific documentation :)
Another way (just for posterity, what you did sounds better) would have been to create "new AGSMask" and give it a 2d boolean array.
I used Bitmap.SetPixels() with a list I built using nested loops. Is there a better way?

Quote
Code: csharp

var scheme = new TwoButtonsInputScheme(game, game.Input);
scheme.Start();

When I use this and click somewhere, nothing happens in the game but I see an exception in the output window:
Exception thrown: 'System.IndexOutOfRangeException' in AGS.Engine.dll
#1606
Angelica Crosley

// Nods at Mary
I'll take a glass of sherry, if you don't mind - thanks, dear.

I guess I don't have to introduce myself, considering the amount of autograph hunters running around in Applewick, trying to catch me whenever I step outside my house. But I don't want to give you an impression of incivility. My name is Angelica Crosley and I'm delighted to be here this evening.

// Raises her glass
A toast to an enjoyable evening!
#1607
Do I understand you correctly that you are talking about something like book-on-demand but for game boxes?
#1608
The panel frame is working :)

Is it possible to define a mask myself without a file? I just need a rectangle for the walkable area. If not, no worries, I'll just draw a mask.

Oh, and since you are the moderator in this board: Do you prefer that I edit posts with additional info or should I create a new post to bump the thread?


Edit: I just realized, I can probably do it with GetBitmap and then CreateMask?
Edit2: Seemed to work! I cannot walk yet, but PlaceOnWalkableArea() moves the character to where the WA is supposed to be :)
#1609
Ah, in this case I will try a panel.
#1610
Not sure if anyone else is following this thread, but I've sent my code to tzachs. He investigated the issue and found a temporary workaround.

A question on a completely different topic:
For the original AGS game I used a GUI to represent the border around the stage. It's basically a non-clickable GUI covering the whole screen and the center is transparent. What would be the best way to implement this in MonoAGS?
#1611
Consider moving the mouth one pixel down to make it less creepy.
#1612
Whoops, looks like I have the slot-machine version of adventure gaming. When I run the game from VS, I get randomly one of the following results:

  • The game runs just fine
  • It is stuck on loading screen
  • I get a "System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'" in OpenGLBackend line 30 (public void ClearScreen() => GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);)
    Spoiler
    System.AccessViolationException
      HResult=0x80004003
      Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
      Source=<Cannot evaluate the exception source>
      StackTrace:
    <Cannot evaluate the exception stack trace>
    [close]
#1613
Right, I got the program and the usage of dependency injection fixed. I can start the game and as a nice surprise, the custom font is now working (that didn't work before).

There are still other issues (that already were there before), but now that I can compile again, I'll have a look at them one after each other.

Oh, and I like the new point syntax and deconstruction. Gotta get used to the new language features :)
#1614
I planned on making an Ace Ventura card, but lacked time and talent :P
#1615
I missed voting, but my favourite was Inside these white walls.
I'd also love to play Meet Me in the Rings, if it were a Captain Disaster game ;)
#1616
I've set up an account and can run VS again now.
When I now pull the latest master, I get a few error messages:
Code: ags

Error	CS0535	'GameStarter' does not implement interface member 'IGameStarter.Settings
Error	CS0117	'AGSGame' does not contain a definition for 'CreateEmpty'
Error	CS0117	'AGSGameSettings' does not contain a definition for 'DefaultSpeechFont'
Error	CS0117	'AGSGameSettings' does not contain a definition for 'DefaultTextFont'	
Error	CS0117	'AGSGameSettings' does not contain a definition for 'DefaultSpeechFont'	
Error	CS0117	'AGSGameSettings' does not contain a definition for 'CurrentSkin'	


What do I have to change? Are there release notes or something?
#1617
In the meantime, I tried SharpDevelop, but this seems to be too old, it can't even load the projects.
#1618
Yeah, I mean building it myself is cumbersome enough but then also requiring VS is just weird. Since I don't do C# any more, I think I don't even have VS on my work PC.
Let's see if someone reacts to your issue. But I guess I'll get VS to run sooner or (more likely) later anyway.
#1619
Quoting the MonoDevelop homepage
QuoteMonoDevelop for Windows is available from source only
Please refer to the building guide for more information about how to install and configure your MonoDevelop.
The Prerequisites for building under Windows require Visual Studio with F# enabled :P

Why on earth can't they just provide a Windows installer?
#1620
For the record I've NOT given up on this, it's just a matter of time. I hope I'll find some time soon for setting up an account and getting my VS running again. I know it's not difficult, but I hate having to bother with this kind of stuff.
SMF spam blocked by CleanTalk