Puzzle of Mystralia
Re: Puzzle of Mystralia
Yes, one mouse now !

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Puzzle of Mystralia
I borrowed some of the code from an example by Shardik. (Thanks Shardik!)
Original post : https://www.purebasic.fr/english/viewtopic.php?t=71173
The part I used is added near the start of the code. I don't pretend to understand it but it works for Linux.
Moulder.
Original post : https://www.purebasic.fr/english/viewtopic.php?t=71173
The part I used is added near the start of the code. I don't pretend to understand it but it works for Linux.
Code: Select all
#GDK_BLANK_CURSOR = -2
ImportC ""
gtk_widget_get_window(*Widget.GtkWidget)
EndImport
Cursor = gdk_cursor_new_(#GDK_BLANK_CURSOR)
gdk_window_set_cursor_(gtk_widget_get_window(WindowID(win)), Cursor)"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: Puzzle of Mystralia
v1.2c - SPH (2024)
I reworked the code to fix an artifact (September 2024).
Double mouse eliminated
Linux+ compatible
No APIs
PB Code provided
---
(look at post 1)
I reworked the code to fix an artifact (September 2024).
Double mouse eliminated
Linux+ compatible
No APIs
PB Code provided
---
(look at post 1)
Last edited by SPH on Fri Sep 13, 2024 1:28 pm, edited 1 time in total.
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Puzzle of Mystralia
@SPH
Sorry, it's not working for me on Linux.
My conversion, however, works perfectly.
Moulder.
Sorry, it's not working for me on Linux.
My conversion, however, works perfectly.
Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: Puzzle of Mystralia
What are the different instructions?moulder61 wrote: Fri Sep 13, 2024 1:26 pm @SPH
Sorry, it's not working for me on Linux.![]()
My conversion, however, works perfectly.
Moulder.
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Puzzle of Mystralia
Plenty!What are the different instructions?
It was a while ago that I did it, but mainly mouse button checks needed changing and the double cursor issue.
The modified source file is in my PB stuff folder. Link in the signature.
Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: Puzzle of Mystralia
It might not work with Windows now I've edited it? But you already did that yourself, so this is for me and the 4 other Linux users to be able to enjoy your game!
Moulder.
Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: Puzzle of Mystralia
Did you fix the graphic bug of the menu when you move the mouse around the image (when you have a resolution >1920/1080)?
If yes, then it's ok.
Personally, I made the photo of the dog and the aquarium darker. And I put "v1.2c SPH(2024)" at the bottom left.
I fixed the "Level Builder.PB" file that was buggy with PB 6.11+
That's it...
If yes, then it's ok.
Personally, I made the photo of the dog and the aquarium darker. And I put "v1.2c SPH(2024)" at the bottom left.
I fixed the "Level Builder.PB" file that was buggy with PB 6.11+
That's it...
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Puzzle of Mystralia
Nope. I didn't know there was a bug and I have 1920x1080 monitors.Did you fix the graphic bug of the menu when you move the mouse around the image (when you have a resolution >1920/1080)?
I also made the dog, and the fox, images slightly darker. The aquarium one was a bit too colourful for me, so I substituted it for a different image.Personally, I made the photo of the dog and the aquarium darker. And I put "v1.2c SPH(2024)" at the bottom left.
I was trying to edit the level builder to work with Linux too, but never finished it. Yet!I fixed the "Level Builder.PB" file that was buggy with PB 6.11+
Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: Puzzle of Mystralia
Don't hesitate to post the Linux compatible PB code here. It will please other Linux users.
Thanks for everything
Thanks for everything
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Puzzle of Mystralia
@SPH
I'm sure I already did in a previous post! But anyway, if anyone wants a version of your code that I modified to work in Linux, see my signature below for the link.
Just drop the file "Puzzle_1_2bLinuxVersion.pb" into the same folder as the original and it should work?
I'm up to level 55 so far.
Moulder.
I'm sure I already did in a previous post! But anyway, if anyone wants a version of your code that I modified to work in Linux, see my signature below for the link.
Just drop the file "Puzzle_1_2bLinuxVersion.pb" into the same folder as the original and it should work?
I'm up to level 55 so far.
Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: Puzzle of Mystralia
I see you're having fun. Personally, I'm at level 24 (even though I'm the author)
GG
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Puzzle of Mystralia
I got stuck around the 20's for a bit, then made progress to the 30's and got stuck there too!
Eventually clawed my way to level 55.
It's a very nice game. Thanks.
Moulder.

Eventually clawed my way to level 55.
It's a very nice game. Thanks.
Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: Puzzle of Mystralia
Error line 31 (on W10x64) :moulder61 wrote: Fri Sep 13, 2024 2:11 pm Just drop the file "Puzzle_1_2bLinuxVersion.pb" into the same folder as the original and it should work?![]()
Code: Select all
gtk_widget_get_window(*Widget.GtkWidget)
I don't know anything about Linux but there may be a programming style that would be compatible.
Anyway, an error was expected.
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Puzzle of Mystralia
@SPH
I did say it might not work in Windows now I've edited it.
I had to edit it to get it to work in Linux. I'm not a good programmer, but I like to engineer stuff to work, so that's what I did!
Windows users have your original version already, they don't need mine.
I'm just trying to help the Linux community.
Moulder.
I did say it might not work in Windows now I've edited it.
I had to edit it to get it to work in Linux. I'm not a good programmer, but I like to engineer stuff to work, so that's what I did!
Windows users have your original version already, they don't need mine.
I'm just trying to help the Linux community.
Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
