Thanks, I know the 'quick fix', but I like the operator statement. Haven't used that before.
Is there a 'memory compare' function that just compares all the bits in the 2 UDTs?
Search found 1357 matches
- Nov 21, 2010 16:52
- Forum: General
- Topic: Converting a Keyboard application to Touch screen
- Replies: 13
- Views: 1179
@pestery: I never knew that the FB libraries included socket functions. I'm am going to try that instead of fbnet. In fbnet I only see the select() function in the windows header file, not in the linux version. And I want my program to work with both. And since latency is important for the game, I'l...
Geany, which I use as Freebasic IDE under linux, has an color chooser that looks like this:
Hi, I think you need 2 score variables for each player, e.g.: - runningScoreA - fixedScoreA If you decide not to roll the dice, fix new score: - fixedScoreA = runningScoreA If you roll "snake eyes", reset score to fixed one: - runningScoreA = fixedScoreA Question, why do you use pointers? dim a as i...
And I was hoping that this would be easy. Anyway, how about SDLNet_UDP_Recv? "This is a non-blocking call, meaning if there’s no data ready to be received the function will return." See also: http://www.freebasic.net/forum/viewtopic.php?t=3268 ' check if there is a packet waiting sizerecv = SDLNet_U...
Hello all, I am trying to put network communication into a game. Which is new stuff for me. The plan is to have 1 sever and multiple clients. Now the function NetRead (fbnet from D.J.Peters, but probably any implementation) waits for incoming data. But in the game loop I don't want to spend time on ...