« first day (2910 days earlier)      last day (2114 days later) » 

1:10 AM
wow someone is serial downvoting me
only 3, but that's a lot considering how few answers I have on the game dev site
oh actually they're downvoting my questions
fun :)
 
Lol. It'll most likely be fixed soon.
 
1:32 AM
hehe
 
 
2 hours later…
3:36 AM
o/
 
 
6 hours later…
9:34 AM
o///
 
 
2 hours later…
11:41 AM
@doppelgreener I grabbed the code from github
 
12:04 PM
It is a java binding for V-HACD which uses native libraries to port the code to java
@Proxy hey
 
hey
 
12:19 PM
Do you want that link
to my game
 
hmm
i doubt i will try it, maybe it the pictures impress me.
 
 
2 hours later…
2:42 PM
o/ Has anyone here used Godot's C#/Mono version?
 
No @doppelgreener what IS godot
 
It's a game engine
 
AH like unity
 
Exactly
Gonna be honest, I'm not sure why you're linking me this
 
Where do I get a c++ to .dll converter
Does microsoft have one
 
2:49 PM
You're looking for a C++ compiler
 
^^ and you've already been told that...
 
idk what can I use
 
There's no single answer - it's very platform / tool dependent.
 
using java and windows here
 
2:54 PM
Then you should do a bit of research to familiarize yourself with the tools & nomenclature of C++. C++ & Java have some syntactic similarities, but are very different 'under the hood'.
DLL are somewhat like non-executable .JAR files in java, but they aren't platform independent - Java relies on the JRE to make that happen whereas C++ is compiling for a specific hardware / OS platform.
At the risk of repeating what's already been said - if you're starting with .cpp & .h files & want to get .dll files, you'll need to compile them. For that you need a compiler. Compilers vary in terms of the steps needed to make that happen.
Maybe start with 'what is a dll' : support.microsoft.com/en-us/help/815065/what-is-a-dll
All that being said, if you're using Java, why are you messing with DLLs? If you're not already familiar with C++ & Java & how they differ, cross language stuff is going to be.. highly challenging.
 
I need to use a c++ library that isn't compatible with java
@Pikalek Its... necessary
 
I'm not going to read through the project you linked. If you need help, then you need to be able to articulate what & why. I get that you're invested in your project. That's cool. I'm invested in my stuff. But when we want others to help, don't expect them to do heavy lifting, document sifting & searching.
 
3:15 PM
I found a library that has a java binding of a library called V-HACD. Those two files that you linked contained the c++ under-the-hood files. But unfortunately they aren't converted to .dll so I need to convert them myself. Unfortunately I have no desire to convert the files as I will not be needing it anytime soon. That is why I asked you guys. Is anyone
willing to help? The linked files are in the link posed above(General shout out to all the members in the chat).
 
...
 
@TheMaskedRebel *posted
 
It is on you to understand how to reference that library and find out how to compile it
You're asking if we're willing to help, but what you're requesting is for us to do an inordinate amount of work for you on your behalf that you should be doing yourself
 
I mean, it's not even just those two files, you need to compile the actual VHACD library itself (github.com/kmammou/v-hacd)
otherwise the bindings don't bind to anything
 
Also, you should be about as comfortable with one of us having 30 minutes of alone time signed in to your PC as you would be with accepting compiled dlls from us.
 
3:23 PM
OK...
So how do I actually get started
 
well, here's how I'd go about building this project, starting from having no idea what it does.
1) read the readme. it seems that it tells you that to build on windows, you run "make.sh buildWindows64"
 
@Jimmy I've tried that
 
2) well, you could try that, but spoiler: make.sh is a bash script, so you'll need bash. So, you read make.sh to see what it's doing
 
It gave me a whole load of errors
 
user4704
You probably lack the prequisite tools.
 
3:27 PM
right. whenever a script gives you errors, you have to read the errors
 
user4704
Like bash, apparently, and thus likely a whole Unix-y environment.
 
the errors are there to tell you what exactly went wrong
in this case, if you examine the script, you see github.com/riccardobl/v-hacd-java-bindings/blob/master/…
so uh,, it's actually cross-compiling a windows binary from Linux
 
(the x86_64-w64-mingw32-g++ part)
which means you can't use the make.sh
 
user4704
3:28 PM
@Jimmy I don't think that's true.
 
you have to either: A) replicate what it's doing on windows, using a mingw compiler, or B) use linux
 
user4704
I think it just assumes a MinGW environment.
 
user4704
(i686-w64-mingw32-g++ is the name of a Windows binary in the MinGW package)
 
oh, right, I guess if you ran in a Cygwin terminal, it probably works
 
user4704
Yeah. You'll definitely need Cygwin or MinGW to build this on Windows though.
 
user4704
You could shove the source files into a VS project and compile with equivalent options there and you might get something useful out.
 
user4704
But probably not.
 
So those are the commands I should be using
 
user4704
You see unfamiliar with C++ development.
 
user4704
It's likely this is a very nontrivial task for you.
 
user4704
3:31 PM
But basically, yes. The command executed by that build script are the ones you need to reproduce to build this library.
 
user4704
Reproducing them by running the script is the best way to do it.
 
well, the most surefire way is to get an environment in which you can execute the command "i686-w64-mingw32-g++" is to follow some set of instructions to get the MinGW-64 environment, make sure that works by being able to call "i686-w64-mingw32-g++" from the command line, and then running make.sh from a bash shell
 
uhhhh I am working as an intern at this company
I am bored out of my mind
kill...me...
 
bored is good. you can think of ways to improve your project or you can learn stuff on the side while you have free time
 
user92578
3:58 PM
I would be so happy bored since we're always in a hurry here
 
user4704
4:09 PM
The comment upvote color changed at some point recently, didn't it?
 
Yeah, it used to be orange
 
user4704
That's what I thought.
 
It probably happened around the same time they rolled out the always-visible updoot/flag buttons
 
user4704
Yeah, that's also when they changed some of the mod UI into icons and stuff, I suspect?
 
user4704
Still haven't gotten used to that.
 
4:29 PM
Yup
Within a couple of days of each other
 
 
1 hour later…
5:52 PM
Man, I know ECS isn't a silver bullet, but it just gets me so giddy
I managed to use it to display some game borders and not much more, but god damn if it doesn't feel like it's right up my alley
 
it does feel like you have All the Power
 
6:15 PM
I love systemic games, where you have a bunch of ad-hoc emergent interaction between entities, and my attempt at making an architecture was basically a big bloated message-based tree
There's some challenges right now, for example how would you handle score when killing an enemy in a basic shmup? Do you register the death of an enemy then create a scoreToken entity to be consumed by the scoreSystem? Or do you send a message to other systems?
 
user4704
Whatever you want, both of those sound too overengineered for my taste.
 
So what would you do?
 
user4704
I don't like action-at-a-distance engineering, so "messages" are something I generally frown upon as they are conceptually just method calls with invisible receivers. Similarly a "score" sounds like too abstract a concept to be an entity itself.
 
user4704
So I'd have the thing that dies simply (a) have a reference to the scoring system object and (b) call scoringSystem->increaseScore(scoreValue); when it dies
 
user4704
If you really need a broad variety of things to provide a score modification, I could see a world where you have a "score value" component that stores the score value and a reference to the scoring systme and, in its "you are being destroyed" handler, tells the system to increment the score by the stored value
 
11:09 PM
Cognizer does this:
	private void ChangeScore(int delta)
	{
		m_score += delta;
	}
During updates:
    m_interface.SetScoreDisplay(m_score);
so m_score in CognizerGame knows the score, CognizerGame.ChangeScore adjusts it, and Interface.SetScoreDisplay updates the visual.
 

« first day (2910 days earlier)      last day (2114 days later) »