Hi
The earlier roadmap told us about box2d implementation....
Is this happening or any other game-friendly enhancements?
Why does a 2d engine or better sound support take so long time?
Anybody know anything?
Sjat
Search found 75 matches
- Thu Nov 17, 2016 12:00 am
- Forum: Off-Topic
- Topic: When does the box2d support come...
- Replies: 0
- Views: 3007
- Thu Oct 29, 2015 7:48 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: return array from function
- Replies: 6
- Views: 6918
Re: return array from function
Bernd, I found a solution
Since "the Paramcount" only returns 1 in a custom command - which is strange...(correct me if Im wrong)..I use the params() instead
This is the fix to my previous code example:
on setMyArray pKey1,pKey2,pKey3
put the storedArray of this stack into tArray
set itemdel ...
Since "the Paramcount" only returns 1 in a custom command - which is strange...(correct me if Im wrong)..I use the params() instead
This is the fix to my previous code example:
on setMyArray pKey1,pKey2,pKey3
put the storedArray of this stack into tArray
set itemdel ...
- Thu Oct 29, 2015 6:25 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: return array from function
- Replies: 6
- Views: 6918
Re: return array from function
Bernd, values
in that regard, my example should look more like this:
on mouseup
setMyArray(1,"a new text")
end mouseup
on setMyArray pValue1,pValue2,pValue3
put the storedArray of this stack into tArray
switch the paramcount
case 1
put pValue1 into tArray[key1]
break
case 2
put pValue2 ...
in that regard, my example should look more like this:
on mouseup
setMyArray(1,"a new text")
end mouseup
on setMyArray pValue1,pValue2,pValue3
put the storedArray of this stack into tArray
switch the paramcount
case 1
put pValue1 into tArray[key1]
break
case 2
put pValue2 ...
- Thu Oct 29, 2015 5:55 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: return array from function
- Replies: 6
- Views: 6918
Re: return array from function
Bernd, wonderful. Always a help. Thank you.
Could I add another question....
Is it possible to use this to SET an element in an array with a custom command?
Since the "the paramcount" does not work in a custom command how is it possible to find out how many parameters was passed?
The following ...
Could I add another question....
Is it possible to use this to SET an element in an array with a custom command?
Since the "the paramcount" does not work in a custom command how is it possible to find out how many parameters was passed?
The following ...
- Thu Oct 29, 2015 3:47 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: return array from function
- Replies: 6
- Views: 6918
return array from function
Hi All
Is it possible to return an Array from a custom function? The reason is that I store my multidimensional array in a custom property. And I want to access that array without having to write
Put the myArray of this stack into tArray
The following code works:
on mouseUp
put the keys of ...
Is it possible to return an Array from a custom function? The reason is that I store my multidimensional array in a custom property. And I want to access that array without having to write
Put the myArray of this stack into tArray
The following code works:
on mouseUp
put the keys of ...
- Sat Oct 24, 2015 9:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: retain mouseScroll in field when hiding scrollbar
- Replies: 6
- Views: 6025
Re: retain mouseScroll in field when hiding scrollbar
Thanks Bernd. Very nice.
Jean-Marc:
I´m using 8 dp 7.
I tried 7.1.0. Same problem there. Also in 5.5.
Sjat
Jean-Marc:
I´m using 8 dp 7.
I tried 7.1.0. Same problem there. Also in 5.5.
Sjat
- Sat Oct 24, 2015 6:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: retain mouseScroll in field when hiding scrollbar
- Replies: 6
- Views: 6025
Re: retain mouseScroll in field when hiding scrollbar
Hi
Thanks Jean-Marc.
Yes, rawkey 65308 and 65309 is the mouse wheel. Easy to to just add or subtract 1 to/from scroll.
Put this handler in the field that needs to be scrolled. Adjust the 10 to whatever value to change the speed.
on rawkeydown theKey
if theKey=65308 then set the vScroll of me to ...
Thanks Jean-Marc.
Yes, rawkey 65308 and 65309 is the mouse wheel. Easy to to just add or subtract 1 to/from scroll.
Put this handler in the field that needs to be scrolled. Adjust the 10 to whatever value to change the speed.
on rawkeydown theKey
if theKey=65308 then set the vScroll of me to ...
- Sat Oct 24, 2015 1:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: retain mouseScroll in field when hiding scrollbar
- Replies: 6
- Views: 6025
retain mouseScroll in field when hiding scrollbar
Hi
Is there a way to keep the mouse scroll functionality in a field when you hide the scrollbar?
As soon as you untick the vertical scrollbar scrolling does not work anymore.
Sjat
Is there a way to keep the mouse scroll functionality in a field when you hide the scrollbar?
As soon as you untick the vertical scrollbar scrolling does not work anymore.
Sjat
- Tue Aug 11, 2015 11:41 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to create a textfield w/finger scrolling and editing
- Replies: 2
- Views: 3236
How to create a textfield w/finger scrolling and editing
Hi
I need some advice to create a text field with the ability to finger scroll AND edit. Like the built in "text view" in Xcode. I want this to work for both iOS and android. In some of the various examples I´ve found - finger scrolling only works when the lock text of the field is true....
Sjat
I need some advice to create a text field with the ability to finger scroll AND edit. Like the built in "text view" in Xcode. I want this to work for both iOS and android. In some of the various examples I´ve found - finger scrolling only works when the lock text of the field is true....
Sjat
- Sat Aug 08, 2015 11:37 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Sentence chunk and lowercase letter after period
- Replies: 5
- Views: 5703
Re: Sentence chunk and lowercase letter after period
Always looking for shortcuts but I suspected I had to kluge this.
Thanks for the answers.
Thanks for the answers.
- Fri Aug 07, 2015 1:01 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Sentence chunk and lowercase letter after period
- Replies: 5
- Views: 5703
Sentence chunk and lowercase letter after period
Hi there
I want to make sure that the first letter of each sentence is capitalized in the output text in a field.
I thought the easy way was to use the sentence chunk. But it seems that the sentence chunk does not work with a sentence that starts with a lowercase character after a period.
Example ...
I want to make sure that the first letter of each sentence is capitalized in the output text in a field.
I thought the easy way was to use the sentence chunk. But it seems that the sentence chunk does not work with a sentence that starts with a lowercase character after a period.
Example ...
- Wed Nov 26, 2014 6:16 pm
- Forum: Announcements
- Topic: You should have a development update post
- Replies: 6
- Views: 10621
Re: You should have a development update post
More frequent updates sounds good. I´m very excited about version 8 and just want to feed my hunger 
- Wed Nov 19, 2014 5:37 am
- Forum: Announcements
- Topic: You should have a development update post
- Replies: 6
- Views: 10621
You should have a development update post
I´m waiting for Livecode 8.0. Why don´t you have a post with development update?
Should include what you are currently working on/implementing.
Some time estimate.
I need info on the progress. Not just posts about the latest release.
Should include what you are currently working on/implementing.
Some time estimate.
I need info on the progress. Not just posts about the latest release.
- Sun May 11, 2014 1:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Foreign letters - messed up between mac and windows
- Replies: 8
- Views: 12487
Re: Foreign letters - messed up between mac and windows
Simon,
I will report back what I find. It will come in bits and pieces.
So far:
It seems for now that the only thing I have to do is write the help files again so it becomes unicode. But once I did it with one chapter the text is correct on both mac and windows. Other text is user made so it will ...
I will report back what I find. It will come in bits and pieces.
So far:
It seems for now that the only thing I have to do is write the help files again so it becomes unicode. But once I did it with one chapter the text is correct on both mac and windows. Other text is user made so it will ...
- Sat May 10, 2014 3:14 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Foreign letters - messed up between mac and windows
- Replies: 8
- Views: 12487
Re: Foreign letters - messed up between mac and windows
Simon, oh my, that was a relief.
It seems to work by itself in 7. I have not used 7 because i was afraid of any bugs it might introduce...but I have no choice now do I
Thanks! Phew.
It seems to work by itself in 7. I have not used 7 because i was afraid of any bugs it might introduce...but I have no choice now do I
Thanks! Phew.