Search found 37 matches

by mxmlnbndsmnn
Tue Nov 23, 2021 2:29 pm
Forum: Games and Creations
Topic: Rock Raiders inspired game
Replies: 10
Views: 13821

Rock Raiders inspired game - Update

Here is an example of a randomly generated map with rivers and lakes.
(Note: see the last post on the previous page for the game download.)
by mxmlnbndsmnn
Tue Nov 23, 2021 1:49 pm
Forum: Games and Creations
Topic: Rock Raiders inspired game
Replies: 10
Views: 13821

Rock Raiders inspired game - Update

It's been a while. I'm here with my advancements on my little game. As always, I fixed a few bugs and added some new :) The most important progress: I created a random map generator. And boy do I like it. Of course it is not perfect but I spent quite some time just digging my way throug the randomly...
by mxmlnbndsmnn
Wed Nov 03, 2021 8:45 am
Forum: Support and Development
Topic: How to test android on MS Windows box?
Replies: 7
Views: 7137

Re: How to test android on MS Windows box?

GVovkiv wrote: Tue Nov 02, 2021 7:02 pm The question is: how do I set up a testing environment for Android on a MS Windows computer?

BlueStacks
Nox
Always had some struggle with those. Switched to MEmu. Might give it a shoot if it is more to your liking.
by mxmlnbndsmnn
Tue Oct 26, 2021 12:08 pm
Forum: Support and Development
Topic: key or mouse input with hold
Replies: 4
Views: 4779

Re: key or mouse input with hold

Well, one can call this working for this particular task, but to my mind it does not solve the proposed problem. Your code does not differentiate between an immediate action (short press) and the charge/hold functionality. But this is exactly what I am looking for. Nonetheless, this approach might b...
by mxmlnbndsmnn
Mon Oct 25, 2021 3:37 pm
Forum: Support and Development
Topic: key or mouse input with hold
Replies: 4
Views: 4779

key or mouse input with hold

Hi, does anyone know a (preferably lightweight) lib for mouse/keyboard input that can do the following: Assume my player can cast an ability, say throw a fireball. To do so, the user can press the 'q' key. He can also hold down the 'q' key to charge the fireball before throwing it so that it gains m...
by mxmlnbndsmnn
Sat Aug 07, 2021 1:59 pm
Forum: Games and Creations
Topic: Rock Raiders inspired game
Replies: 10
Views: 13821

Re: Rock Raiders inspired game

Back with an update :) I've added a few icons and tooltips to make things more understandable (I hope). Plus, I got rid of a few bugs (and protentially weaved in a few others). There is also... - a simple but sweet animation for the Fledder aka bat + they can also kill your Rock Raiders now! - with ...
by mxmlnbndsmnn
Thu Aug 05, 2021 2:59 pm
Forum: Support and Development
Topic: lua-enet only sending some messages
Replies: 11
Views: 5189

Re: lua-enet only sending some messages

effectively, i think you're discarding every other event (since, you know, the loop repeats and you lose an event by getting one both at the start and the end...) Get rid of that last "event = self.host:service()" line from both client and server and test it out. You're the hero! This is ...
by mxmlnbndsmnn
Thu Aug 05, 2021 12:56 pm
Forum: Support and Development
Topic: lua-enet only sending some messages
Replies: 11
Views: 5189

Re: lua-enet only sending some messages

UDP packets can easily get to the destination out of order if they are sent very close in time. Are you sure you're using reliable mode? Because this discarding sounds a lot like what unreliable mode does: True, it does sound very much like that. BUT. Three things. The doc says: flag is one of &quo...
by mxmlnbndsmnn
Thu Aug 05, 2021 12:39 pm
Forum: Support and Development
Topic: lua-enet only sending some messages
Replies: 11
Views: 5189

Re: lua-enet only sending some messages

I constructed a string or table, serialised it and then sent it via socket. If that's what you mean by 'protocol' it's not terribly hard. No, that's not what I mean. I also used binser, but that's not the problem here. There is a perfectly reliable, error-correcting, in-order standard network proto...
by mxmlnbndsmnn
Thu Aug 05, 2021 10:21 am
Forum: Support and Development
Topic: lua-enet only sending some messages
Replies: 11
Views: 5189

Re: lua-enet only sending some messages

I gave up on enet on my project and used socket - it was far more reliable. For me it's pretty much the opposite... I was (and am) not keen on writing my own fully fletched protocol on top of UDP when there is already software that does just what I need. When using socket, that's exactly what I wou...