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 - Joacim Andersson

#41
Quote from: VampireWombat on Wed 04/12/2024 13:02:11So I think it may be part Itch and part Windows Defender for Windows 11.
I don't think it's Itch.io because I scanned the zip file locally, one I hadn't uploaded to Itch and got the same Defender warning.
#42
Quote from: eri0o on Wed 04/12/2024 12:10:45Hopefully you mean a false positive report.

About the game, I think I played an old game from you already with the same character? Is this a continuation?
Yes, I created 3 games with this character 20 years ago, and last year I decided to remake them, but I only remade part 1 and part 3 and skipped part 2 because it was a bit short. However, I've changed my mind and now remade Part 2 as well but changed it a lot. This version is much longer than the original and with more puzzles. The main difference is on the Island of Portals which was only two rooms in the original version, now it's larger and the actual portals are spread around on the island and not just together in the same room.

But the main story remains the same.
#43
Quote from: Honza on Wed 04/12/2024 11:09:22it hadn't been reported before during the year and a half the game has been out... might be some Windows Defender update
I got my false Trojan warning after a Defender update I got yesterday.
#44
If anyone wants to try to download my game to see the report given by Windows Defender, you can find it here:

https://brixoft.itch.io/pendant
Password: pnc4dvmel2

Try downloading the "No Install" version, I haven't officially released this game yet, so you need the above password to access it.

I have now written a report to Microsoft for a false negative, maybe they reply someday.
#45
I've uploaded a zip file containing the output of the Compiled\Windows folder to itch.io, when I tried to download it Windows 11 marked the file as a Trojan, how can I get around that? I have no Trojan warnings on my machine except for this.

I also tried downloading an older game, which worked before, but now gives me the same Trojan error warning from Windows.
#46
If anyone is interested, I have also created a minimal web server to test web games. I haven't looked at the one shared above, but I suppose this is similar, except that you can control which files should be used as the default file. By default index.html and index.htm are used. You can also specify the IP port, by default 8080 is used.

If you navigate to a folder that doesn't have any of these default files, a file listing will be shown.

I recommend putting a shortcut to this program in the shell:SendTo folder, that way you can just right-click on a folder in the File Explorer and send it to WebBrix (the name of my server), and that will be mapped up as the webroot.

This is also a Windows Forms application written in C#, the source code can be provided if anyone wishes.

WebBrix, simple Web Server
#47
Thank you to both of you, issue solved.
#48
Aha, I found the acsetup.cfg file in the Shell:SavedGames folder. But if that is the one that is used, why is there a acsetup.cfg file in the Compiled folder, do I need to distribute that file at all?
#49
I understand that. But if I've deleted everything in the Compiled folder, how can it still use a setting that is never saved? Also, the winsetup.exe file doesn't change it.
#50
But I've deleted all the files in the Compiled folder and rebuilt it. The winsetup.exe file has the Fullscreen checkbox checked, yet the game starts in Windowed mode.
#51
I'm not running the game from the editor, but trying to run the compiled exe directly from the File Explorer.
#52
In the Default Setup I have "Start in Windowed Mode" set to false. I compile my program and run the exe file, it runs in a window. I run the Winsetup.exe program, it has the "Fullscreen as borderless window" checked, I click the Save and Run button and my game still opens up in Windowed mode instead of in full-screen.

I've tried to delete everything in the Compiled\Windows folder and rebuild the game with the same result, what am I missing?
#53
I've been reading through the AGS documentation, the help file that AGS is shipped with, and found some inconsistencies in the language. I know that Chris Jones, an Englishman, originally created AGS, so the spelling Colour makes sense, however for a DrawingSurface it's suddenly spelled DrawingColor, shouldn't it be DrawingColour? Also, the X and Y coordinates for an Object use capitalization as opposed to character placement, I'm guessing that this has to do with Room coordinates vs Screen coordinates so I'm fine with that but shouldn't then the parameters of the DrawXXX methods for a DrawingSurface also use capital X and Y?

I might be picky here, but I wondered about the consistency.
#54
I don't think AGS lacks any math operators except maybe the power of operator and square root which are implemented as functions. But that is pretty common in most programming languages. Well, some languages do have the power of operator, but I don't miss it,
#55
Quote from: Snarky on Mon 25/11/2024 22:08:16
Quote from: Joacim Andersson on Mon 25/11/2024 20:46:48After all, all ints fit within a float.

That's not true. Both int and float are 32-bit types, so both have just as many possible different values (2^32).
That's technically correct, but all signed ints still fit inside of a float, but you might get some rounding errors. But you will always get some rounding errors with floats.
#56
Quote from: Crimson Wizard on Mon 25/11/2024 20:58:11- original author of AGS have decided that implicit casts will confuse beginners with suddenly changing values. Majority of users in AGS are people who barely have any programming experience, or not at all
I would argue that, for a non-programmer, it's even more confusing why 2+0.5 throws an error than not.
#57
Of course, I am aware that implementing these functions yourself is effortless. I was just wondering why these simple functions didn't exist already.

Quote from: eri0o on Mon 25/11/2024 18:47:27Maths is only floats, so in theory they would have to be floats.

I don't think I agree with that statement, after all, most functions in AGS deal with int rather than float. Which in some cases is rather annoying, in the game I'm currently developing I wanted the Wait function to wait for a fraction of a second or something like a second and a half, and I found myself having these kinds of calls.
Code: ags
FloatToInt(IntToFloat(GetGameSpeed()) * 0.5 + someValue);

Quote from: Crimson Wizard on Mon 25/11/2024 19:11:24there's no implicit cast between int and float
Yes, why is there none? I understand why a float shouldn't be implicitly cast as an int, but why can't an int be implicitly cast as a float? After all, all ints fit within a float.

Quote from: Crimson Wizard on Mon 25/11/2024 19:11:24The naming situation may improve if we support function overloading (i had plans to look into this soon, unless fernewelten does this first).
Function overloading would be a great addition to the language, and in this case it would solve the lack of generics/templates in the language.
#58
The Maths object has all the trigonometry functions, and you can raise a number to a power, logarithmic functions, and the like. Still, I'm missing some fundamental functions like Abs(), Max(), and Min() to get the absolute number and the largest or smallest number of two values (calculations). Are they missing, or am I just missing something in the documentation?
#59
EDIT: Duh, I can't even read today, you said there were no generic data type, sorry. Please ignore this.

I wasn't referring to generics as in C# or C++ templates, I meant more like a generic or variant type, like System.Object in .Net
#60
I'm soooo sorry, I'm being stupid, AGS also have a readonly, that's obviously the one I should use.

My second question remains though, do AGS have a generic data type?
SMF spam blocked by CleanTalk