Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
31–40 of 57 posts
Re: Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
#32Last weekend for the Ludum Dare 48 hour game competition "Beneath the Surface," I created an online stealth game. Building even a simple multiplayer game in 48 hours was a very ambitious goal but I'm very pleased that I was able to pull it off. In Hide-n-Stab, everyone looks alike, but some characters are harmless NPCs while others are fellow players like yourself. Your goal is to find other players and kill them by…
Re: Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
#33Earlier quoted context omitted.
Source is available here: https://github.com/bendmorris/hide-n-stab Both the client and server are written in Haxe, which is compiled to Flash (for the client) and Neko VM bytecode (for the server).
I like the game its ideas but why are you still actively developing and encouraging others to develop in Flash? I don't want to come over as offensive, but it is a dead platform. Uncertain what the LD-jury judges on, but they should incorporate technology stack in the final results. In your case, you would get a few points off for using Flash.
Haxe and Unity also do this, but I would hesitate to call Flash a dead platform - it's just not the flavor of the month right now.
Re: Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
#34How do you compile this?
Re: Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
#35How do I compile this? I've installed haxe, lime, openfl, renamed openfl version from 1.4.0 to 1.2.3, but every time I install a dependency it gets stuck on another. The one it's currently stuck on is spinehaxe, for which google finds two github repositories, neither of which seem to be of any use. It's not in the lime repositories either. How do you compile this?
* spinehaxe: github.com/bendmorris/spinehaxe
* SpinePunk: github.com/bendmorris/SpinePunk
* my fork of HaxePunk: github.com/bendmorris/HaxePunk (use the "all" branch) which has modifications not accepted into the main version yet
To install spinehaxe and SpinePunk, clone the repository, enter that directory, and run the command "haxelib dev src". For HaxePunk, clone my fork, check out the "all" branch, and run "haxelib dev HaxePunk path/to/haxepunk"
Hopefully installing those should be enough to get it working.
Re: Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
#36How do I compile this? I've installed haxe, lime, openfl, renamed openfl version from 1.4.0 to 1.2.3, but every time I install a dependency it gets stuck on another. The one it's currently stuck on is spinehaxe, for which google finds two github repositories, neither of which seem to be of any use. It's not in the lime repositories either. How do you compile this?
You'll need a few of my own libraries: * spinehaxe: github.com/bendmorris/spinehaxe * SpinePunk: github.com/bendmorris/SpinePunk * my fork of HaxePunk: github.com/bendmorris/HaxePunk (use the "all" branch) which has modifications not accepted into the main version yet To install spinehaxe and SpinePunk, clone the repository, enter that directory, and run the command "haxelib dev src". For HaxePunk, clone my fork, che…
EDIT: Got to a score of 7 then the game froze. I think it's a bit unbalanced at the moment... there's just too much advantage for revealing yourself: you get to run very fast, and you can easily maneuver behind people. Also, there are a lot of netcode issues such as entities showing up that aren't actually there. It's pretty fun though!
EDIT2: Yeah, there's some kind of freeze (infinite loop) bug on Firefox that sometimes triggers after killing someone. Makes it hard to play...
I think this game has a lot of potential. You should put in a leaderboard to see who has the highest score.
EDIT3: Managed to trigger the "can't move" bug on Firefox, so it looks like it's not browser-specific. Then I triggered the freeze bug after pressing Z, so it looks like it doesn't matter whether or not you've killed someone for triggering the freeze.
Re: Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
#37How do I compile this? I've installed haxe, lime, openfl, renamed openfl version from 1.4.0 to 1.2.3, but every time I install a dependency it gets stuck on another. The one it's currently stuck on is spinehaxe, for which google finds two github repositories, neither of which seem to be of any use. It's not in the lime repositories either. How do you compile this?
You'll need a few of my own libraries: * spinehaxe: github.com/bendmorris/spinehaxe * SpinePunk: github.com/bendmorris/SpinePunk * my fork of HaxePunk: github.com/bendmorris/HaxePunk (use the "all" branch) which has modifications not accepted into the main version yet To install spinehaxe and SpinePunk, clone the repository, enter that directory, and run the command "haxelib dev src". For HaxePunk, clone my fork, che…
- Running command: haxe bin/linux64/cpp/haxe/release.hxml -D HXCPP_M64
src-client/hidenstab/Client.hx:66: characters 8-21 : sys.net.Socket has no field endian
src-client/hidenstab/Client.hx:83: characters 15-36 : sys.net.Socket has no field bytesAvailable
src-client/hidenstab/Client.hx:84: characters 15-36 : sys.net.Socket has no field bytesAvailable
src-client/hidenstab/Client.hx:89: characters 30-45 : sys.net.Socket has no field readByte
src-client/hidenstab/Client.hx:90: characters 30-45 : sys.net.Socket has no field readByte
src-client/hidenstab/Client.hx:98: characters 20-36 : sys.net.Socket has no field readBytes
src-client/hidenstab/Client.hx:102: characters 20-36 : sys.net.Socket has no field readBytes
src-client/hidenstab/Client.hx:106: characters 33-54 : sys.net.Socket has no field bytesAvailable
make: *** [linux] Error 1
Edit: So it's not `make linux` it seems, `make flash` seems to do something... Let's try making the server or something...Edit2: ./server:
[...]
Called from flash/Lib.hx line 191
Called from /usr/lib/haxe/std/neko/Lib.hx line 30
Uncaught exception - load.c(237) : Failed to load library : lime.ndll (lime.ndll: cannot open shared object file: No such file or directory)
Edit3: Found lime.ndll in some bin folder somewhere. Copied it over to where ./server is. Now it seems to try to bind to 54.244.244.60 (your server's IP) which of course doesn't work. Server.n is a binary format, that can't be the config file, hmm...Edit4: Oh there are replies that HN doesn't show in edit mode. Okay. Gonna try this!
Re: Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
#38Earlier quoted context omitted.
You'll need a few of my own libraries: * spinehaxe: github.com/bendmorris/spinehaxe * SpinePunk: github.com/bendmorris/SpinePunk * my fork of HaxePunk: github.com/bendmorris/HaxePunk (use the "all" branch) which has modifications not accepted into the main version yet To install spinehaxe and SpinePunk, clone the repository, enter that directory, and run the command "haxelib dev src". For HaxePunk, clone my fork, che…
Did all you said, modded the openfl version to 1.3.0, then the following: - Running command: haxe bin/linux64/cpp/haxe/release.hxml -D HXCPP_M64 src-client/hidenstab/Client.hx:66: characters 8-21 : sys.net.Socket has no field endian src-client/hidenstab/Client.hx:83: characters 15-36 : sys.net.Socket has no field bytesAvailable src-client/hidenstab/Client.hx:84: characters 15-36 : sys.net.Socket has no field bytesAva…
Re: Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
#39Earlier quoted context omitted.
You'll need a few of my own libraries: * spinehaxe: github.com/bendmorris/spinehaxe * SpinePunk: github.com/bendmorris/SpinePunk * my fork of HaxePunk: github.com/bendmorris/HaxePunk (use the "all" branch) which has modifications not accepted into the main version yet To install spinehaxe and SpinePunk, clone the repository, enter that directory, and run the command "haxelib dev src". For HaxePunk, clone my fork, che…
Did all you said, modded the openfl version to 1.3.0, then the following: - Running command: haxe bin/linux64/cpp/haxe/release.hxml -D HXCPP_M64 src-client/hidenstab/Client.hx:66: characters 8-21 : sys.net.Socket has no field endian src-client/hidenstab/Client.hx:83: characters 15-36 : sys.net.Socket has no field bytesAvailable src-client/hidenstab/Client.hx:84: characters 15-36 : sys.net.Socket has no field bytesAva…
Before building, modify src/hidenstab/Defs.hx to change the host and port.
Re: Show HN: My first Ludum Dare entry, online multiplayer game Hide-n-Stab
#40Earlier quoted context omitted.
You'll need a few of my own libraries: * spinehaxe: github.com/bendmorris/spinehaxe * SpinePunk: github.com/bendmorris/SpinePunk * my fork of HaxePunk: github.com/bendmorris/HaxePunk (use the "all" branch) which has modifications not accepted into the main version yet To install spinehaxe and SpinePunk, clone the repository, enter that directory, and run the command "haxelib dev src". For HaxePunk, clone my fork, che…
Did all you said, modded the openfl version to 1.3.0, then the following: - Running command: haxe bin/linux64/cpp/haxe/release.hxml -D HXCPP_M64 src-client/hidenstab/Client.hx:66: characters 8-21 : sys.net.Socket has no field endian src-client/hidenstab/Client.hx:83: characters 15-36 : sys.net.Socket has no field bytesAvailable src-client/hidenstab/Client.hx:84: characters 15-36 : sys.net.Socket has no field bytesAva…
edit because I can't reply to your comment: yes, the client also uses the values in Defs.hx. It's likely a Flash security issue due to running it locally. Try adding "-Dnetwork-sandbox" to the command in the Makefile which builds the flash client.