fg123 wrote:
Apparently, the server API2 is on, is under a DDOS attack. Joy.
Also, ID in the database isn't autoincrementing...
I noticed. Weird, because the images one is!
Possibly because one is primary and one is unique.
Offline
LS97 wrote:
fg123 wrote:
Apparently, the server API2 is on, is under a DDOS attack. Joy.
Also, ID in the database isn't autoincrementing...I noticed. Weird, because the images one is!
Possibly because one is primary and one is unique.
Of course! Let me try and fix that right now.
EDIT: I can't seem to change the ID from primary to unique. Can you do that please?
Last edited by fg123 (2012-07-20 10:19:09)
Offline
fg123 wrote:
LS97 wrote:
fg123 wrote:
Apparently, the server API2 is on, is under a DDOS attack. Joy.
Also, ID in the database isn't autoincrementing...I noticed. Weird, because the images one is!
Possibly because one is primary and one is unique.Of course! Let me try and fix that right now.
EDIT: I can't seem to change the ID from primary to unique. Can you do that please?
Sure, working on
Done
Last edited by LS97 (2012-07-21 10:20:23)
Offline
fg123 wrote:
I"m back! Time to work on stuff!
Cool! Yay! Big favour if you start the GUI!
My turn to go on holiday now
Offline
fg123 wrote:
Are there some sort of mockups I could follow?
Definitely! See 2nd post on this whole thread for an index of them, but the UI has changed a bit:
Basically 3 parts.
right sidebar: elements
top half: canvas (max size corresponds to max sig size)
bottom half: properties of selected element on canvas (or canvas if that's selected)
we were debating whether to include a small list of elements for selection on the left of the bottom half too.
Offline
I'll get workin then!
sparks wrote:
Oh I see.
Mockup time!
http://img254.imageshack.us/img254/1783/costume.gif
A little "T" icon by text, with the first few letters of the text as a name, a small icon of the image and an image icon by dynamic ones.
Possibly the icons should be a little larger than 10x10
Could someone perhaps make those little icons? I think 16x16 should do fine. But maybe make them 32x32 then convert, so we have more to work with.
Offline
sparks wrote:
http://img201.imageshack.us/img201/9609/costume.png
Howzat? I was thinking we could try making small versions of any non-dynamic images as their thumb....
Maybe the thumbnail idea isn't exactly speed-friendly...
Offline
That's true.
Well I'm off for a week. I'm going to sunny Croatia where I hope not to burn too terribly. We've had barely any sun in England so far so the change is going to be a shock! I'll be back on Sunday 5th!
Offline
sparks wrote:
That's true.
Well I'm off for a week. I'm going to sunny Croatia where I hope not to burn too terribly. We've had barely any sun in England so far so the change is going to be a shock! I'll be back on Sunday 5th!
Nice! I am also coming back from the beach around that date, have fun!
Offline
I'm updating stuff, so no one edit anything. And is the SRV Root thing really nessasary? It's messing up my localhost. I can do a workaround, just wondering.
EDIT: Got my workaround, no worries. BTW, please use <?php?>, instead of just <??>, it's bad practice.
EDITEDIT: Darn, so I know how to do draggable stuff, but I can't figure out how to detect when an element is touching the canvas...
EDITEDIT: I've uploaded what I got as my sort of working attempt, it drags now, but I need a way of finding the position of the dropping element in relative to the canvas...
/app/main.php
Last edited by fg123 (2012-07-27 17:32:39)
Offline
Awesome fg, better than anything I was hoping for!
If you're using mousemove and mouseup events, you can get the X and Y from the event arguments (as you probably know anyway )
AFAIK, <?php and <? are exactly the same thing, work on (usually*) all servers, and perform the same function. The only convention I use as to decide which one to use is to use the former when starting long scripts and the latter for shorter things like echoing a variable in an HTML context.
*if php.ini allows
Last edited by LS97 (2012-07-28 03:52:05)
Offline
LS97 wrote:
Awesome fg, better than anything I was hoping for!
If you're using mousemove and mouseup events, you can get the X and Y from the event arguments (as you probably know anyway )
AFAIK, <?php and <? are exactly the same thing, work on (usually*) all servers, and perform the same function. The only convention I use as to decide which one to use is to use the former when starting long scripts and the latter for shorter things like echoing a variable in an HTML context.
*if php.ini allows
Yea, but it's better to keep it consistent.
My problem right now is that the position of the element from mousemove is relative to the 0, 0 of the browserpage, but I need it relative to the canvas' 0, 0. I suppose I'll have to calculate width and height, but that might be unreliable once it gets too small or too large, and it won't allow for too much change...
Offline
Well, we will have two textboxes for fine tuning X and Y, so if the software gets it wrong the user can always change it manually!
Offline
Just to let you guys know, I used your button styling on a website I'm designing. Is that okay?
Offline
technoboy10 wrote:
Just to let you guys know, I used your button styling on a website I'm designing. Is that okay?
Sure! It's not like we own the shading and colours
We kinda already copied it from Scratch 2.0 in the first place, anyway!
Offline
LS97 wrote:
technoboy10 wrote:
Just to let you guys know, I used your button styling on a website I'm designing. Is that okay?
Sure! It's not like we own the shading and colours
We kinda already copied it from Scratch 2.0 in the first place, anyway!
Cool, thanks.
Offline
fg123 wrote:
Bumpity. I can't figure it out. Sorry...
Aww... maybe sparks will have some ideas when he comes back in a few days?
Offline