Search found 717 matches

by bobbyjones
Sat Aug 24, 2019 6:08 pm
Forum: Games and Creations
Topic: cave game - generic terraria clone
Replies: 7
Views: 195

Re: cave game - generic terraria clone

If I recall correctly tunneling is caused by predicting the location after movement and if there is no collision then you are allowed to move. If the next location is extremely far away you can travel through walls because you are only testing the target location and not everything in-between. Large...
by bobbyjones
Sat Aug 24, 2019 1:29 pm
Forum: Libraries and Tools
Topic: Simple Button Library
Replies: 2
Views: 106

Re: Simple Button Library

It seems like a nice simple library. The only critique I have is that your library loads itself into the global scope. I am pretty certain that the standard in the Lua community is to have it use a local and return that local variable.
by bobbyjones
Sat Aug 24, 2019 1:11 pm
Forum: Support and Development
Topic: What is Text object?
Replies: 1
Views: 80

Re: What is Text object?

I believe it is like a sprite batch or mesh of sorts that batch the calls so that all of the text is drawn only once
by bobbyjones
Sat Aug 24, 2019 10:24 am
Forum: Support and Development
Topic: Code review please
Replies: 8
Views: 182

Re: Code review please

The importance of using only locals is to mainly prevent name conflicts. This can introduce some pretty crazy bugs. For example, if you declare player in two files and each has conflicting data and or operations done to them it would cause the player to act unpredictably. You can't localize player.c...
by bobbyjones
Sat Aug 24, 2019 10:11 am
Forum: Games and Creations
Topic: cave game - generic terraria clone
Replies: 7
Views: 195

Re: cave game - generic terraria clone

Well, I fell through the floor when switching active windows. I believe it is a derivative of the bullet tunneling problem. It is repeatable if you grab the window and shake it while over a cavity in the ground. If the frame rate drops a sufficient amount you will fall through the ground. You can al...
by bobbyjones
Wed Jun 12, 2019 2:37 pm
Forum: Support and Development
Topic: Detect collisions for STI with bump by layer id
Replies: 1
Views: 532

Re: Detect collisions for STI with bump by layer id

I haven't used it in a while but I believe the collision object returns the items the took place in the collision. That's how I handled it.
by bobbyjones
Wed Jun 12, 2019 2:34 pm
Forum: Support and Development
Topic: sock.lua, cannot create any server
Replies: 1
Views: 544

Re: sock.lua, cannot create any server

See my response to your other post. You have to bind to an IP address available on your machine. such as localhost. You can also look at network properties if you are using windows. Use the IP address from the currently operational network connection.
by bobbyjones
Wed Jun 12, 2019 2:23 pm
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 4183

Re: enet cannot create any server

Your ip address and port combo is causing host_create to fail. If you use 127.0.0.1:8888 as the ip port combo it will work
by bobbyjones
Wed May 29, 2019 7:47 am
Forum: Support and Development
Topic: Code improvement (First time Lua-enet)
Replies: 7
Views: 2742

Re: Code improvement (First time Lua-enet)

Do not know if you know this but you can run love in such a way that does not initialize the window for the server.
by bobbyjones
Wed May 22, 2019 5:47 pm
Forum: General
Topic: app sigining error. can someone help me with this error
Replies: 1
Views: 1086

Re: app sigining error. can someone help me with this error

did you create a keystore?

Edit: if on android these instructions should help.
https://developer.android.com/studio/pu ... pp-signing