|
Post by disabled on Nov 16, 2010 15:27:25 GMT
After years of research (I'm serious) I finally got all the tools to do awesome stuff. So before I do complex things (with SR) and because it seems to be requested a lot, I did a PG upload mixer. Here is a video of how it works: I first show the copy/paste tool is empty. Then I create a simple scene and get the save code. Then I create a new scene and mix the save code into the new scene via the copy/paste tool. It is currently in Beta version, so there might still be problems. I tested it with Firefox 3.6.? and 4.0b7. Please report back if it works for you and what version youre using. So without further ado, here is the extension.
|
|
|
Post by ~Memzak~ on Nov 16, 2010 16:31:25 GMT
Sweetness. I am fed up with this school. I'm going to march straight to an IT admin and demand him to unblock some sites.
Including disabled.t28.net ! (I have no idea why they blocked it, it has so many useful things!)
If I don't succeed I'll try the extension when I reach home on friday and report back then.
|
|
|
Post by Qwerty on Nov 16, 2010 21:50:09 GMT
Now that is just plain awesome. Should I a-sticky this thread?
Also, that video is set to private.
Using Firefox 3.6.12, I can't seem to access uploads. The java applet doesn't appear on the page. Also, Mix doesn't seem to work: When I try it the new code seems to appear for a second, then it vanishes and the current screen reappears. Maybe I'm using it wrong.
|
|
|
Post by disabled on Nov 16, 2010 21:58:19 GMT
I would prefer to get some feedback before it gets stickied. Also I think I will integrate this with the other stuff I have done for PG (the forum code-linker and the dan-ball upload linkifier). Also you can post some suggestions for further addons. Like I could create a library, so you can store upload codes like in the SR Save extension. Think about having a menu were you can select different uploads and mix them into your current game.
Also I'm not sure how future proof this thing is. It uses quite a lot of black magic to get its job done that very well might break with future versions of PG. The more feedback I get, the more motivated I am to work on this thing...
|
|
|
Post by Qwerty on Nov 16, 2010 22:24:12 GMT
Yeah, that library sounds good. Something like the SR extension, but with this.
Maybe, once you get it all in extension form (if and when you plan to do so), an options menu that lets us enable and disable (Sorry, I had to) features?
Or some low-level encryption option for get/set codes that lets us share codes while the upload remains relatively secure (as in, no average community member can steal the upload)?
|
|
|
Post by disabled on Nov 16, 2010 22:49:19 GMT
I have the options menu on the SR extension and all I can tell you ... it wasn't fun to make it. With this, I hope the addons-builder SDK gives me better possibilities to create an options menu, but the SDK is not finished yet...
Encryption has already been suggested in the link-addon thread. What exactly do you want, a possibility to post an encrypted code that you can load but not upload or mix?
|
|
|
Post by Qwerty on Nov 16, 2010 23:18:51 GMT
Hmm, I don't see how it's possible but if it is, yeah, something like that.
|
|
|
Post by endy123 on Nov 17, 2010 1:13:38 GMT
very nice, this will come in handy. seems to blank uploads from the saved data for some reason at least you can cross paste stuff from your own uploads. Get's painful re-creating stuff all the time.
|
|
|
Post by disabled on Nov 17, 2010 1:17:13 GMT
So I updated the extension with a preliminary version of the library. *edit*The library works with what is in the code field. So If you want to save your game, hit get and then save*/edit* Also there is a serious bugfix in this version. With the old version, every upload probably would be done under my username! Please test it and if someone thinks this is useful, please report back the following: 1) If and what you find useful 2) You tried it and it worked 3) What you tried, just toying around or productive use 4) Please also test it with laser and other elements that only appear for one frame with uploads. 5) With the new version: Does the library stay over Browser restarts or even browser crashes?
Also I'd like to know, if you think a save encryption is useful and if you would use it. Remember, encrypted saves will only work if someone has this extension installed and are useless to users without it.
And many thanks to you qwerty, you are basically the only one who constantly gives me feedback to the stuff I do!
|
|
|
Post by Qwerty on Nov 17, 2010 1:58:20 GMT
Yayz! I like seeing non-Dan-Ball updates to the games. Gives the forum a sense of control, somewhat. Thanks to you for doing this.
|
|
|
Post by disabled on Nov 18, 2010 3:01:53 GMT
There are a few more features I can think of that are possible: - change the framerate, so you can see elements reacting in slow motion
- Increase the dot limit (a little buggy, but if you know the limits, it works)
- keyboard shortcuts (e.g. map the keys to elements, shift+key to right mouse button)
- Create a new save system that also stores wind and element properties
The list is sorted in increasing amounts of coding work for me. The first two are quite easy, for the shortcuts I actually need someone to think of a nice mapping and the save system needs quite a bit of thought and coding. Anyone interested?
|
|
|
Post by Qwerty on Nov 18, 2010 3:32:12 GMT
Those sound pretty awesome. The keyboard shortcuts shouldn't be too necessary compared to the other stuff, but I suppose if you have extra time lying around it might work.
|
|
|
Post by ~Memzak~ on Nov 18, 2010 9:01:35 GMT
Saving wind? Air Pressure? Element Properties?!
Disabled, you sir are a genius!
|
|
|
Post by Qwerty on Nov 18, 2010 15:27:14 GMT
It's a shame I have to disable it to view uploads.
|
|
|
Post by disabled on Nov 18, 2010 17:18:10 GMT
It's a shame I have to disable it to view uploads. You have? Thats should be classified as a bug... By the way, please reinstall the addon to discover the two easy features: The "Max Particle" button changes the game to allow 120k particles! You have to switch to "Dot M" for it to work. I did some bugfixing and it shouldn't crash the game in any way. If you manage to do so, please report. I disabled uploading and the game reverts to 40k particles if you load something or reset the game. Saving and loading shouldn't work either... The ChangeFPS button does what it says. Standard FPS is 50, it will probably not go over 60
|
|
|
Post by ~Memzak~ on Nov 18, 2010 19:24:11 GMT
120K Bird. Ultimate Laggage.
|
|
|
Post by disabled on Nov 18, 2010 20:14:11 GMT
So I started to implement the third feature on my list: Keyboard control. I just think they are to convenient to not be implemented. Right now there are two implemented: If you hold Shift, your left mouse button element (lmb) will be switched to clear, your right mb element to erase. If you release Shift, your old elements are restored. If you hold Caps Lock, your lmb will be changed to Scale. With those two you can select two elements, zoom in, move around with Caps lock and erase stuff with shift. I think that is very convenient. Anyone with more suggestions?
|
|
|
Post by Qwerty on Nov 18, 2010 21:11:04 GMT
That does sound pretty convenient. Sure they don't clash with preexisting keyboard shortcuts?
I must say, the bug that stops uploads from appearing is still there. Any idea what causes it?
|
|
|
Post by Yonder on Nov 18, 2010 21:14:24 GMT
Using Firefox4.0b7. Everything seems to work fine.
|
|
|
Post by Qwerty on Nov 18, 2010 21:28:45 GMT
Firefox beta? Where's that?
|
|
|
Post by disabled on Nov 18, 2010 22:55:59 GMT
I don't know any PG or system wide keyboard shortcuts that listen on shift or capslock + Mouseclick. Is it just me, or does Ctrl switch the mousebuttons in PG? Alt +mouse click is reserved on my computer to move windows around. Thats why I chose Shift & Capslock... I'll see if I can use CapsLock+mousewheel to zoom in/out. And about the bug, I have a basic idea about what causes it, but didn't look into it much further. Firebug (Firefox debugging tool) doesn't work for the Firefox I'm using for developing this extension (FF4.0 nightly), that slows down development a lot in this case. The Firefox Betas can be downloaded from www.mozilla.com/firefox/beta/. And Yonder, thanks for the feedback. Nice to hear it works for you, because I can only install the extension in a weired way... (would be too technical to describe it further, but really thanks for testing). Oh and with "everything", do you mean also uploads? Because I changed something lately, so they work sometimes...
|
|
|
Post by DISTURBED on Nov 18, 2010 23:10:03 GMT
disabled I LOVE IT! very cool! the save/mix feature is extremely convenient! thank you! I LOVE the 120,000 dots! I like a full screen of nitro
|
|
|
Post by disabled on Nov 19, 2010 0:46:16 GMT
New Feature: CapsLock+Mousewheel=Zoom
|
|
|
Post by DISTURBED on Nov 19, 2010 1:32:41 GMT
Very cool. thank you! 2 karma given :3
|
|
|
Post by Qwerty on Nov 19, 2010 1:36:57 GMT
More karma given, and so long as the shortcuts don't contradict those you should be good.
|
|
|
Post by disabled on Nov 19, 2010 1:48:17 GMT
Thanks everyone for the feedback. Its what motivates me to continue. And thanks a lot for the shortcuts. I never knew they were documented somewhere. So if Ctrl+ click is a PG shortcut, then I can perhaps replace it. Or does someone really need that? Apple users perhaps with their "useful" one button mouse? Do Apple users use Firefox?
|
|
|
Post by droctagonapus on Nov 19, 2010 2:16:43 GMT
some mac users do use firefox. (eg. mac users on www.penguinclientsystem.com/forum/index.php (forum about a php library for automating things on clubpenguin)) also, the webpage for the extention(or just extention, I guess its not really a webpage) is down for me. I cannot access t28.net EDIT: scratch that, works now.
|
|
|
Post by disabled on Nov 19, 2010 16:15:51 GMT
But do they need Ctrl for PG? I don't really know, but don't they have a special key for the other mouse button? (Or was it Ctrl does RMB and the other key replaces Ctrl?) I disabled Ctrl now and wait till someone moans about it.
By the way, as qwerty noticed, I changed the wheel to one with 8 blades. Do you want me to keep it? Do you have ideas for a different one? Perhaps I will post some examples later...
|
|
|
Post by Qwerty on Nov 21, 2010 4:40:02 GMT
I love it, but maybe a toggle or something?
Oh, and it seems that space doesn't work to pause the game with this extension. Slight annoyance, but an annoyance yet.
|
|
|
Post by ~Memzak~ on Nov 21, 2010 12:35:36 GMT
Yea... the pause and the pen select don't work.
(spacebar and 1 - 0)
I like the new wheels.
|
|