Search found 13 matches

by qqchrono
Thu Nov 23, 2017 1:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Having trouble creating functions for scientific calculator
Replies: 9
Views: 6012

Re: Having trouble creating functions for scientific calculator

Hi. As Richmond said, all the functions you mentioned are native to LC. So my question to you is this: Did you just not know that, or are you having difficulty implementing them? In other words, and never mind how the user interface might work, are you able to simply: on mouseup ask "Enter angle" i...
by qqchrono
Thu Nov 23, 2017 1:50 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Having trouble creating functions for scientific calculator
Replies: 9
Views: 6012

Re: Having trouble creating functions for scientific calculator

As tan , sine , cosine and so forth are built into LiveCode people like You and I can "cheat", and not get all worried about the shame of being bad at Maths at school. Make the Dictionary your friend 8) sine.png Oh thats weird the first time i checked i only found atan, asin, acos which i have no i...
by qqchrono
Tue Nov 21, 2017 5:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Having trouble creating functions for scientific calculator
Replies: 9
Views: 6012

Having trouble creating functions for scientific calculator

Hello! I got tasked recently to create a calculator which i have managed to create a standard one with a few basic functions... The problem comes when i tried to escalate it into a scientific calculator which is actually just adding tan,cos,sin,tan-1,cos-1,sin-1 functions (I know that's not all to a...
by qqchrono
Fri Nov 17, 2017 3:03 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Re: Showing different images when moving?

bogs wrote:
Thu Nov 16, 2017 2:58 pm

It probably is not supposed to happen, and it is not just on your machine (happened on my machine as well, linux box).
Hmmm... Is anyone else having the same problem? I'm currently using version 9.0 livecode.
by qqchrono
Thu Nov 16, 2017 9:43 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Re: Showing different images when moving?

Slightly changed stack is attached. Hi Jim, The stack you attached works and looks way smoother than mine thanks :lol: I tested it out and after i held down an arrow key for a period of time let's say around 2 seconds? It starts to flicker between the arrow and the circle and is stuck in the same s...
by qqchrono
Thu Nov 16, 2017 9:27 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Re: Showing different images when moving?

Hi all! Thanks for the replies. There's definitely a lot of new valuable information posted here since the last time i checked. Unfortunately I'm still tied up with work and haven't gotten the time to work on this but i do check on this thread occasionally in hopes there might be suggestions for imp...
by qqchrono
Fri Nov 03, 2017 4:02 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Re: Showing different images when moving?

Hi bogs,

This is exactly what I was going for! Thanks :D
I'll definitely get back to improving this game when i am given the time to.
This would really help me out greatly.
Once again, thanks to everyone who replied!



Cheers,
Chrono
by qqchrono
Mon Oct 30, 2017 7:51 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Re: Showing different images when moving?

Hi! Thanks for the replies and advice given. They're greatly appreciated. Unfortunately time is not a luxury for this game as it's actually for work so certain things that can't be done on time has to be dropped and move on to keep things going. However, working on this and receiving help for it has...
by qqchrono
Fri Oct 27, 2017 7:37 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Re: Showing different images when moving?

Well, instead of testing for empty in the arrowKey set, you might try this - on rawKeyUp theCode if theCode <> "" then set the icon of button "Button" to "1003" else pass rawKeyUp end if end rawKeyUp Thanks. This works if the arrow keys are being tapped. However in this case, the keys are going to ...
by qqchrono
Fri Oct 27, 2017 4:48 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Re: Showing different images when moving?

Hi bogs Buttons can be transparent or opaque. One of their nice features is seen on the 'icons' section, you can set a different graphic based on which of those you call. Here is a little transparent guy on a little transparent button. http://pix.toile-libre.org/upload/thumb/1509074737.png I left th...
by qqchrono
Fri Oct 27, 2017 4:09 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Re: Showing different images when moving?

Hi bogs Unfortunately, the answer to that (for me) is always "it depends", and it is going to depend on a number of things I don't know about what your doing. If your image is just free roaming around, i.e. you just want it going in the direction of the arrow key, then probably I would be using move...
by qqchrono
Fri Oct 27, 2017 2:06 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Re: Showing different images when moving?

Heya! Thanks for the replies :D I would say trap the arrowKey message, something like (dictionary, arrowKey) on arrowKey theKey -- make Up arrow go to the first card if theKey is "up" then set the visible of image "Idler" to false move image "(image chosen for 'up')" relative 50,0 without waiting //...
by qqchrono
Thu Oct 26, 2017 3:19 am
Forum: Games
Topic: Showing different images when moving?
Replies: 43
Views: 39156

Showing different images when moving?

Hello there, I'm new to this forum and still quite new to livecode(around 2 weeks experience) I have maze game or at least that what I call it that I am currently working on. It's my first game that I would be attempting to make and pretty proud of the outcome so far. However I ran into a problem :(...

Go to advanced search