MoreGamesNow wrote:
I love the updates to Decaf 0.2.0. I understand how you didn't make the line-number-thing, but your way works just as well (click the line and it tells you). The one thing I want to know is this: how did you get it to tell you what line you've selected?! I've never seen that done before.
It was pretty complicated...I'm busy now, but I'll post the code later!
Offline
gbear605 wrote:
Could you add my release as part of the full one?
If it's okay that I make some adjustments, yes! Expect it in 0.2.1!
Offline
MoreGamesNow wrote:
I love the updates to Decaf 0.2.0. I understand how you didn't make the line-number-thing, but your way works just as well (click the line and it tells you). The one thing I want to know is this: how did you get it to tell you what line you've selected?! I've never seen that done before.
Okay, so first you have the textarea:
<textarea name="decaf" rows="10" cols="50" onfocus="f = true; getLine(this);" onblur="f = false;"></textarea>
Then, for the JavaScript you do:
function getLine(txtArea) {
var t1 = txtArea.value.split("");
var t2 = t1.slice(0, txtArea.selectionStart);
var t3 = 1;
var i;
for (i in t2) {
if (t2[i] == "\n") {
t3++;
}
}
document.getElementById("ln").innerHTML = t3;
if (document.editor.lines) {
document.editor.lines.value = t3 - 1;
}
document.editor.morelines.value = t3 - 1;
if (f) {
setTimeout("getLine(document.editor.decaf)", 1);
}
}Offline
Take the poll!
http://www.decaf.tk/poll.html
Offline
ohaiderstudios wrote:
gbear605 wrote:
Could you add my release as part of the full one?
If it's okay that I make some adjustments, yes! Expect it in 0.2.1!
Its fine!
Also, maybe someone could make something where you can submit a mod on your website, and once it gets admin approval, it goes up on the website?
Just an idea.
Offline
gbear605 wrote:
ohaiderstudios wrote:
gbear605 wrote:
Could you add my release as part of the full one?
If it's okay that I make some adjustments, yes! Expect it in 0.2.1!
Its fine!
Also, maybe someone could make something where you can submit a mod on your website, and once it gets admin approval, it goes up on the website?
Just an idea.
Great idea! I'll look into that!
Offline
gbear605 wrote:
ohaiderstudios wrote:
gbear605 wrote:
Could you add my release as part of the full one?
If it's okay that I make some adjustments, yes! Expect it in 0.2.1!
Its fine!
Also, maybe someone could make something where you can submit a mod on your website, and once it gets admin approval, it goes up on the website?
Just an idea.
Check it out on the site! http://www.decaf.tk/
Offline
Espevoir wrote:
Woah Awesome stuff! Can you please notify me via message-on-project (;>) Whenever you make an update?
Sure!
Offline
Now, all you people who enjoy modding stuff...I'll be releasing 0.3.0 in a couple days (maybe tomorrow), and it'll feature a cool new thing that will make modding super easy! Stay tuned in to the blog to find out more details later on!
Offline
ohaiderstudios wrote:
Now, all you people who enjoy modding stuff...I'll be releasing 0.3.0 in a couple days (maybe tomorrow), and it'll feature a cool new thing that will make modding super easy! Stay tuned in to the blog to find out more details later on!
Modding easy = awesome
Offline
gbear605 wrote:
ohaiderstudios wrote:
Now, all you people who enjoy modding stuff...I'll be releasing 0.3.0 in a couple days (maybe tomorrow), and it'll feature a cool new thing that will make modding super easy! Stay tuned in to the blog to find out more details later on!
Modding easy = awesome
![]()
Offline
can u make a mobile version?
EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome
Last edited by nathanprocks (2011-11-09 00:42:55)
Offline
nathanprocks wrote:
can u make a mobile version?
EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome![]()
Excellent find! Once again IE proves that it's worthless...
Offline
nathanprocks wrote:
can u make a mobile version?
EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome![]()
Please specify: How can I make it mobile? isn't html and js cross-platform?
Offline
ohaiderstudios wrote:
nathanprocks wrote:
can u make a mobile version?
EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome![]()
Please specify: How can I make it mobile? isn't html and js cross-platform?
oh then don't worry about it
Offline
ohaiderstudios wrote:
nathanprocks wrote:
can u make a mobile version?
EDIT: Decaf is completely useless in IE so everyone get Firefox or Chrome![]()
Please specify: How can I make it mobile? isn't html and js cross-platform?
It can be used on a mobile. I think what he means, is making it a certain way that mobile phones like (I don't know how myself)
Offline