Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 12:11 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Match 3 game re-do
PostPosted: September 13th, 2017, 3:31 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Newer Match 3 Opus HTML5 game with JQuery touch isn't working on Android test tablet or smartphone (viewtopic.php?f=4&t=5884).

So, went back to earlier option: to re-do this game using an older version of code that doesn't have touch swipe and omits jquery.touchSwipe plug-in altogether: http://www.emanueleferonato.com/2011/10 ... ht-jquery/ Tested this old unmodified script (absent centering) using earlier, compatible JQuery and it works on Android test tablet.

I am attaching a zip folder. Combining the 2011 script (from link above) with Mack's help centering into a frame, plus using an src to an older version of JQuery min, it loads, centers, but still does not work. So it centers but can't pick/select gems.

I must still be doing something wrong in script (Bejeweled.js is in the zip folder>export folder).

Would much appreciate any help to get this script working.

Thank you for your help.


You do not have the required permissions to view the files attached to this post.

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Last edited by Stephen on September 13th, 2017, 3:41 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Match 3 game re-do
PostPosted: September 13th, 2017, 3:41 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Just tinkering with this version. Canvas seems really happy with Opus:

http://rembound.com/articles/how-to-mak ... ml5-canvas

Not really had any time to learn canvas programming, but made the basic bit work:

http://sandbox.interaktiv.co.uk/bejewelled/

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Match 3 game re-do
PostPosted: September 13th, 2017, 3:44 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Mack,

Had seen Rembound's version, had even written to him (no reply). Since my project likely commercial, and Rembound's is restricted by GPLv3 license, didn't go that route.

Still trying to get the older Bejeweled.js to work.

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Match 3 game re-do
PostPosted: September 13th, 2017, 4:48 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
From my understanding of it, you can use GNU GPL software alongside commercial software (Opus.js & your creation) on a website as long as you permit the modified GPL code to be available under GPL. As I have modified the original make a match JS - it is just this file that must remain available to others should they wish to use it for their projects.

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Match 3 game re-do
PostPosted: September 13th, 2017, 5:17 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Mack,

I'm no expert about GPLv3, but my understanding is that any additional items that flow from or depend on the GPL-licensed item (in this case, the JS file) would also have the GPL applied to them and must be released free. Could be wrong, but its my understanding.

Agreed that canvas is a better option for Opus, so after turning away from the Rembound version with its GPL, I did extensively search for another canvas based Match 3, but didn't find any.

If I can get the old Bejeweled.js (which avoids JQuery touch and uses an earlier version of JQuery min) modified to center the gameboard and still work (and maybe substitute an on click event handler for depreciated live event in older JQuery min), that would still be my best option. But way easier said than done. :oops:

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Match 3 game re-do
PostPosted: September 14th, 2017, 8:46 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
It's about as clear as mud :-)

I do wonder though, if that is the case how could any GPL software run under Windows? Something defined as free (as in speech), can hardly be considered so if your freedom to use it alongside other non free components is not possible.

Good luck with the other version. My interest has been piqued by what I could do with Canvas.

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Match 3 game re-do
PostPosted: September 14th, 2017, 1:20 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Yes, clear as mud. I revisited the GPL FAQ's yesterday to see if I could make any more sense of this, and after straining my brain, left with the same lack of clarity as before. I just steer away from these. Less strain. :)

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Match 3 game re-do
PostPosted: September 15th, 2017, 4:25 am 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Yes, canvas shows great promise, especially in Opus.

Created a separate post for Canvas in Opus, including a promising example that I found at Github.

viewtopic.php?f=4&t=5890

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group