I have here some Game code. Its to auto delete what I get. But I get always 3 but the Script only delete one. How I could change it? Thanks!
local DeletePet = function(PetID)
game["Workspace"]["__REMOTES"]["Game"]["Inventory"]:InvokeServer("Delete", PetID)
end
Jerome, could you please post where you're setting up the OnServerInvoke event? I don't see it in the code you're referencing to Csaar. I'm also afraid I don't quite understand what you're meaning when you ask how to delete more then 1 from the result. If you could clarify a bit further upon this, then I might be able to further assist you.
Also, please keep in mind that Roblox code is rather niche and you'll have a higher chance of getting answers in a Roblox oriented environment like the recommended Scripting Helpers forum. That's not to say the people here aren't very skilled, but they may not be accustomed to the Roblox API.
Do you know any chess move validation library for ActionScript 3 ?
I have searched in google but I can not find anything.
Please tell me if you know.
If there isn't any library, I think that I have to port from Java to AS3.
I think I'd just write it because it is going to end up very tightly bound to your game/position representation.
Think about it: ust legal moves, or move validation in game context (50-move rule, 3-time repeated position, en-passant, promoted pieces, castling availability...?).
You might even have to pass the entire move history for the game.
It is not that much work if you think about it.
http://code.google.com/p/osas3cf/updates/list
That one has code included for a chess move validator. Check it out
I need to be able to find the current time from an online source rather than the system to make sure the time is correct. I need to do this in actionscript, preferably 2 rather than 3 though if you have any solution at all post it. Thanks ahead of time for the help.
Here's a possible reference: http://board.flashkit.com/board/showthread.php?t=663535
The easiest is solution is probably as above, to create a server-side script to return the time and then fetch that in your ActionScript.
Another option is to create an NTP client in ActionScript. Unfortunately it's been a while since I've done any ActionScript, but here's a straightforward example in Python if anyone wants to do a port: http://maxinbjohn.blog.com/2366141/
While reading delphifeeds yesterday I discovered delQuery, which allows one to get some nice animation on his form very simply.
I would like to know if there are any other libraries of that kind out there and what experience you had with them ?
(I'm trying to find a way to make my application more alive in terms of GUI; buttons that grow when you hover them, that kind of animations but with a nice programmatic interface)
Do you mean something like Billenium Effects?
(source: billeniumsoft.com)
There is CrossGL at http://www.crossgl.com/
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Since the keyboard is the interface we use to the computer, I've always thought touch typing should be something I should learn, but I've always been, well, lazy is the word. So, anyone recommend any good touch typing software?
It's easy enough to google, but I'ld like to hear recommendations.
Typing of the Dead!
It's a good few years old so you may have to hunt around, but it's a lot of fun and as well as the main game there are numerous minigames to practice specific areas you may be weak on.
I trained my typing on GNU Typist. It comes with exercises for various languages and keyboard layouts, if you're so inclined.
One of the most fun typing programs I used is dvorak7min. It has a nastiness mode where for each typo you make, the cursor goes back by 1. So if you don't watch your typing, you'll be back to square 1….
If you want some motivation to learn to touch type read Steve Yegge's Blog rant:
Programming's Dirtiest Little Secret
Find a long document on the web, using Firefox
Press CTRL+F
Type along with the document. Try it, it works.
Mavis Beacon.
Although not nearly as fun as Typing of the Dead!
I've been touchtyping since I was 10 years old (on a real typewriter at that!) but one thing that helped my sister learn touchtyping is hanging out in IRC channels. You want to be able to "talk" as fast as you can speak and that trained her in typing a lot faster.
I know it's a lame answer and not really a software solution or what, but it worked for a lot of people I know. :)
Try http://keybr.com/? It is a little different from the usual format of free typing tutors. If you create an account, it keeps track of your progress as well. No add-ware and no pop-ups, or other useless junk.
If you want to learn by getting thrown in the deep end... DasKeyboard ultimate will have you touch typing in no time :)
I use Rapid Typing to learn touch typing. It has excellent visuals and it's even somewhat relaxing to type.
About the recommendation to use the DasKeyboard, I just started using one today! But be aware that it makes a lot of noise. I was mortified how much noise it was making in my super quiet office filled with other people, who are engineers but mostly not developers. I asked the person across from me if it was too noisy. She hesitated for a fraction of a second before insisting it was fine, and when I said I would put it away she barely protested. So I packed it up. Maybe if you are just surrounded by other devs it would be OK. I'd love to hear of contrary experiences. I'm banging away from home right now though, as loud as possible, and loving it!
Oh, and you will definitely learn to touch type! Right now I have a picture of a labeled keyboard as my desktop image, but am referring to it less and less.
Mike
I have a really weird habitual way of typing where I use several fingers on my left hand but only one or two on the right. This has served me for years and apparently gives me 80+ words per minute, but it does seem an incredibly weird way to type. This is touch typing but not using the "standard" finger arrangement. While it's probably not a great idea to try and fix something that already works, I thought I'd try and relearn to type the proper way (left fingers on asdf and right fingers on jkl;).
I've been trying out Mavis Beacon and it seems alright, it slowly adds more and more letters to your repertoire allowing you to gain the muscle memory or whatever, and then focuses on speed. The "games" seem a little pointless (is this program designed for kids?), but I guess for someone who doesn't know where the keys are it does a good job showing you which fingers to use and where to move them. As I already knew where the keys are most of the program didn't really aid me. Once you know where the keys are you probably just want to practice typing out text and a program like that won't really aid any more than notepad apart from counting your words per minute and giving you something to type. I agree with Typing of the dead being pretty awesome though, and will definitely help with your speed once you've got the finger arrangement down.
Do all you touch typers use the standard finger arrangement or do you just do your own thing? I think I've come to the conclusion I'll just stick with what I know, it seems to work anyway.
For the sake of completeness, my wife used KP Typing Tutor, worked great.
+1 on chatting more
I used the TTCoach plugin for Vim and have been very happy with it. It doesnt come with any exercises for numbers and symbols however, but it is easy to just make some text files yourself and write :TTCustom file.txt to use it for exercising.
Just learn a couple of characters at a time and when you got them nailed, learn a couple more and so on...
I've been using TypeFaster. It's not pretty, but one nice feature is that it can load lessons in different keyboard layouts, like Colemak (layout files here) or Dvorak.