Search found 189 matches

by trenatos
Sun Jul 07, 2013 8:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Variables, image flip and delay? Going insane [Solved]
Replies: 5
Views: 1361

Re: Variables, image flip and delay? Going insane

Thanks guys, I got it working :)
Together with my mostly-working socket client/server I'll be making a simple game with online highscores.
by trenatos
Sun Jul 07, 2013 5:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Variables, image flip and delay? Going insane [Solved]
Replies: 5
Views: 1361

Re: Variables, image flip and delay? Going insane

Ok, I have a picture of a dragon, I want it to point in the direction of travel. x is simply the key being pressed. I have a global variable called direction, which equals either right or left, depending on the last direction (button) pushed. I'm having trouble flipping the image according the state...
by trenatos
Sun Jul 07, 2013 2:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sockets, help a newbie?
Replies: 6
Views: 1577

Re: Sockets, help a newbie?

Playing some more witch sockets, I've now run into a buffer issue. Over the course of connecting/disconnecting and sending a few messages, it seems LiveCode messes up the buffer. I've checked my server code and it's sending the correct text, but LC seems to not be updating the buffer properly. Is th...
by trenatos
Sat Jul 06, 2013 9:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Variables, image flip and delay? Going insane [Solved]
Replies: 5
Views: 1361

Variables, image flip and delay? Going insane [Solved]

As I'm messing about reading a tutorial on making a simple game, I thought I'd make a few small simple changes. I'm trying to make the image (Button) flip based on a variable, but I can't get it to work. Using a global named direction, defaults to "left" In a key function for moving, I added this: i...
by trenatos
Fri Jul 05, 2013 8:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: german umlaute
Replies: 8
Views: 2899

Re: german umlaute

I'm working with Swedish characters (åäö) and this helped me out too :)
by trenatos
Fri Jul 05, 2013 5:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sockets, help a newbie?
Replies: 6
Views: 1577

Re: Sockets, help a newbie?

I'm using it together with one of my ColdFusion servers, to learn I'll be writing a chat application that syncs with an online chat I built. And next up will probably be a file-synching tool. In extension I'd love to look at creating some games too. I'm impressed with LiveCode so far. I've messed wi...
by trenatos
Fri Jul 05, 2013 9:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sockets, help a newbie?
Replies: 6
Views: 1577

Re: Sockets, help a newbie?

Nevermind!

I thought sockets were bi-directional, and nothing happened.
But when I set up the server to respond on port 9001, it seems to have worked just fine! (At least a preliminary test)

Thanks Newbie4, I owe you a beer :)
by trenatos
Fri Jul 05, 2013 9:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sockets, help a newbie?
Replies: 6
Views: 1577

Re: Sockets, help a newbie?

Thank you very much!

The LiveCode app not sends a message and I can see it's being received by the server.

But I can't figure out the reading end.

First off, you mention port 9001, don't you mean 2001?
by trenatos
Fri Jul 05, 2013 8:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sockets, help a newbie?
Replies: 6
Views: 1577

Sockets, help a newbie?

Greetings! This is my first post on the forum so I guess I'll introduce myself. I'm Marcus, I'm a CFML(Web) programmer wanting to get into desktop software. Right now I'm looking into creating a simple chat program that connects to one of my servers using sockets. The server listens and simply echoe...

Go to advanced search