Welcome, Please login or register.
Drum Solo Artist Logo

Drum Setup Application Development - Drum Solo Artist

April 23, 2014, 08:39:35 PM*
Welcome, Guest. Please login or register.
News:
 

- Drum Related Ads
Pages: 1 2 [3] 4
 Print 
Author Topic: Drum Setup Application Development  (Read 50832 times)
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #50 on: March 04, 2010, 08:26:58 PM »

Ok, you will be laughing, and I do feel stupid, but none of it worked, and I did find the onscreen keyboard, but there is no print screen key...

Anyway I made a photo with my phone, it is not that good quality-wice, but you can see what I am about to explain...

Only on IE:

When you add an object (any object - drum of cymbal) the image is round with nice smooth corners, but as soon as you will touch it with the mouse the image corners become... LIKE it is a GIF again... - They are all pixelated.

Note the big cymbal in the corner is untouched, the rest of the objects were moved on the stage...

Look closer at the corners of all the images and you will see the difference.


* IMG_0058.jpg (67.13 KB, 667x500 - viewed 404 times.)
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #51 on: March 04, 2010, 08:34:34 PM »

ewwwww....   have I mentioned that I hate IE?   lol

This shouldn't be a big problem since this is just the setup engine.. once saved and redisplayed in the (unwritten) viewer the images will be static and hence clean-edged.  I'm going to guess this is a quirk in the library I'm using for making the images draggable, and hence is rather trivial in the grand scheme of things.  At some point I might go mining for the glitch, but for now it's pretty low priority..

question - does the alpha channel black out like that if you move them using the position buttons only?
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #52 on: March 04, 2010, 08:40:06 PM »

Ok, give me a min, I have to restart in PC to try that...
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #53 on: March 04, 2010, 08:46:51 PM »

Yes it does work well if moved from the editors buttons - if you dont touch the actual image on the stage, and move the images only using the editors buttons, the images do stay smooth  Smiley
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #54 on: March 04, 2010, 08:51:03 PM »

interesting... I just got someone else to try it with dragging, and it worked fine for them. This might be a compatibility issue with wintendo running on the mac platform..
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #55 on: March 04, 2010, 08:58:27 PM »

Maybe... Did they try it on ie8/xp??
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #56 on: March 04, 2010, 09:03:09 PM »

ie8/vista actually.. I would still like to get another confirmation from someone here though, preferably someone with FF or opera installed to compare results between the browsers

[edit to add:]

minor update, v0.3.3.1a - corrects a numbering glitch introduced when the throne methods were updated (numbers on items and numbers in list did not match).

Throne now obeys z-index.

Base coding written for renumbering items on stage when the list order is changed, but not yet implemented. - done.

This also makes it possible to move the number itself on the image it belongs to so that it doesn't get buried under other items. I hope to have these changes working in the next build. I'm not going to worry about scaling the bass drums just yet, I'll get the pedals happening before I get into the kick dimensioning matter.

It's coming along nice tho, it's getting big but still very fast. None of the delays/lag seen in the flash alternatives...
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #57 on: March 06, 2010, 11:20:32 PM »

version 0.3.4a
Refinements to positioning in the editor, including the ability to reposition the number relative to the image it belongs to. Future updates to image and number positioning should include a "move by" field instead of the default 1px.
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #58 on: March 07, 2010, 04:57:23 AM »

Very cool!!
Logged
KenSanders
Global Moderator
Senior Member
*****

Karma: 16
Offline Offline

Gender: Male
Posts: 1009

KenSanders

IBJAMN in Nashville


View Forum Profile
« Reply #59 on: March 07, 2010, 07:21:29 AM »

More kudos guys.
Logged

Ken Sanders
IBJAMN in Nashvile, TN
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #60 on: March 07, 2010, 03:55:24 PM »

A noticed glitch when using IE6 (and probably IE5).. the number vanishes when moved beyond the image border (which is transparent and square). I don't know if IE7 or 8 has this problem.
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #61 on: March 07, 2010, 04:05:47 PM »

Confirmed the number disappears in both mods on IE8/xp...
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #62 on: March 07, 2010, 04:07:48 PM »

thanks Pasha, if it were just a legacy issue I might ignore it for a while but since it affects current supported versions it is a 'must fix'.
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #63 on: March 07, 2010, 07:14:18 PM »

It should be fixed now..  and, as an added bonus, the number can be moved by simply dragging it (fine position controls work too)..
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #64 on: March 07, 2010, 07:39:08 PM »

http://cyaorocks.com/dsa/

[just wanted to have the link on this page Smiley]

Yep it does work great! - Love the fact that you can just drag the number to a preferred place!!!

It does work good in both modes in IE, but there is 1 small glitch...

Try this:

Open a new empty stage.
Add one cymbal and move it to the center of the stage.
Open the editor and using the controls move the number to a new location.
Now drag the cymbal to a new position on a stage.

The number will snap back to the position it was on the cymbal prior you have changed it via the editor.

PS: From what I see it is not a browser issue... as the behavior is the same on all browsers.

PPS: the strange thing is that it works fine if the number is moved via the mouse drag...

Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #65 on: March 07, 2010, 07:53:08 PM »

Good find, Pasha.. your ability to find bugs is a huge asset to this project!

number snap-back fixed. :-)
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #66 on: March 07, 2010, 08:23:01 PM »

Yeah Right  Cheesy

I think it is the opposite way around!

I think that your ability to fix them as fast as you can, is a MUCH bigger asset to the project!
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #67 on: March 07, 2010, 10:39:30 PM »

Version 0.3.5a - this one returns the actual data string(s) that will be saved to the server.. there will be minor revisions (eg the addition of pedals and cleaning up the GUI), but this is pretty much the last major revision of the client side script before Version 1.0 Beta.

Ergo, we need to start thinking about the server side program which will save and redisplay from saved data. The only difficulties I see relate to authentication, we will want it to use the dsa cookie for that and, alas, my experience in that area = null. Also, my PHP experience is minimal, I work mostly with PERL.

Flat file is easier for me, done that lots of times, SQL will take me longer since I have never actually used it for my own apps... If we use SQL we will have to build the tables to store the data displayed in the textarea box on the test page, and again that is completely out of my experience (I'm a hobby-coder, completely self-taught.. lol). So for this part I will have to research the SMF system to see how the api works. Viewing setups doesn't need auth, since they will just  be basic pages with fancy css (or maybe XML), but saving and updating existing setups will obviously require member auth.

I'm open to any and all suggestions here..
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #68 on: March 07, 2010, 11:12:35 PM »

Authentication is not a problem for me, and I would not recommend using SMF cookie for that because it is constructed in a very weird way... something similar to: SHA1(SHA1 username + (SHA1 password + salt)+salt+userlevel) or something similar...

We can do it much easier using the main DSA cookies.

MYSQL is also not a problem for me, I would need to see the flat DB file to create the needed table structure.

Pearl can access mysql by itself so I guess I am missing where did you plan for PHP to come in...

I mean the script can just read the strings from MYSQL instead of flatfile on its own. - Or am I missing something??
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #69 on: March 09, 2010, 05:02:29 PM »

The script now has a save button which as of yet does not actually save..  but it does send the values for the design to the server where they are used by another page to redisplay the kit as originally designed.

I'll add pedals and make it easier to add other things (like top-view gongs and such), while Pasha works on the part that sticks the data into the database..

This thing is almost ready to go.
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #70 on: March 09, 2010, 06:32:34 PM »

Well it actually does save already...

PS: Reno I have changed the "-" value back to line break, as we discussed before, but that does not solve the problem...

Script breaks if user inputs a line break or | in description...

I think we should change the data-separators to a longer preset values something like: 157_tbs instead of | and something similar for line breaks...

I dont have any other ideas how to workaround this issue...
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #71 on: March 09, 2010, 07:09:57 PM »

You bring up a very good point, I was thinking about that earlier.. the script that builds description has to be adjusted to replace line feeds with html breaks if the user's intent is to be respected.. that will resolve that issue, ensuring false delimiters cannot exist (I need to parse description to replace or escape pipes too, as well as filter out arbitrary code that might be entered like links and such).
Logged
PASHA
Forum Administrator
Gold Member
*****

Karma: 17
Offline Offline

Gender: Male
Posts: 854

PASHA


View Forum Profile
« Reply #72 on: March 09, 2010, 07:14:29 PM »

Yep just keep me in on the changes so that I would be able to reflect them in the save script.  Wink
Logged
Reno
Drum Solo Artist Trusted
Junior Member
*

Karma: 2
Offline Offline

Gender: Male
Posts: 75

Reno


View Forum Profile
« Reply #73 on: March 09, 2010, 08:26:13 PM »

No doubt, last thing we need is to clobber each other's work.. lol
Logged
KenSanders
Global Moderator
Senior Member
*****

Karma: 16
Offline Offline

Gender: Male
Posts: 1009

KenSanders

IBJAMN in Nashville


View Forum Profile
« Reply #74 on: March 10, 2010, 09:32:03 AM »

You guys are amazing.  I am excited about the debute of the results.

I eagerly wait with total antici.....................







pation.  Wink
Logged

Ken Sanders
IBJAMN in Nashvile, TN
Pages: 1 2 [3] 4
 Print 
 
Jump to:  

Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Drum Forum - Drum Solo Artist
Made by Drummers for Drummers [ Site Directory ] [ XML URL List ] --© 2007-- www.drumsoloartist.com