« first day (1506 days earlier)
← previous day
next day →
last day (3530 days later) »
00:00 - 15:00
15:00 - 20:00
20:00 - 00:00
Pip
8:00 PM
menu done for now, working on the actual gameplay now :)
Decided that I needed to learn how to use Unity a bit more than I had
Also, in other news, I have my first robotics meeting tonight!
SpartanDonut
8:10 PM
wewt
Lokkij
@Pip Done with the new UI?
Nick
Aaaand box2d is not applying forces ... fuck
Pip
@Lokkij I'm using the new UI, if that's what you're asking. I like it a lot
Lokkij
@Pip I agree, it's pretty damn awesome
SpartanDonut
@Nick physics engines hate me
Nick
8:14 PM
@SpartanDonut same ...
SpartanDonut
Mostly because I refuse to learn them / I find them too confusing to learn so I give up and write my own pseudo physics which are good enough :)
Nick
Lol wtf I add the impulse but the debug render wont move
Pip
that sucks
Nick
The debug render changes color when I try to add velocity ... so I got that going for me, which is nice
Pip
Aww yeah, builds fullscreen and with an icon and everything
Now to make all the buttons work :P
Nick
8:26 PM
Hah got my problem.. I was applied too little force.. I was applying 1f and to make it move I made it apply 1000f every frame :p
Pip
lol
Done, time to move to the gameplay scene and prettify it!
and actually add gameplay, ofc
I actually enjoyed building the GUI!
Almo
i get to build the DB for my lowest number game this weekend
we need a close reason on SO: "No jQuery"
Nick
Is it me or does something seem wrong having ot apply 10.000f to an object ot make it move at a reasonable speed?
Almo
depends on how much mass the object has
impulse and force are WAY different
Nick
@Almo well impulse
Almo
8:31 PM
impulse is an instantaneous change in momentum, force generates acceleration over time
Nick
@Almo im using Linear Impulse
Almo
so if you apply a 10000 impulse to an object with 10000 mass, you'll get 1 velocity
roughly speaking
Nick
"the mass of a fixture is the density multiplied by the area"
I have set the density to 0 ...
Almo
I would expect that you would add an impulse one frame, and it would be moving
I don't recommend density 0
i would expect weird results if the mass is 0
Nick
set it to 0.0001 and I still need to scale the impulse by 10.000 for it to work wtf -.-
Almo
8:34 PM
set your density to 1
Jon
what are you using? box2d?
Almo
you want "ordinary" numbers for physics engines
Nick
@Jon yea box2d
Icy Defiance
with bullet physics, setting mass to zero makes it a...kinematic body, I think it's called. meaning force has no effect on it at all.
Jon
with box2d there is also sim units, vs world units
Icy Defiance
8:35 PM
not sure what box2d does
Jon
make sure your object size is not retardedly huge in sim units
common problem for objects that do not move
Nick
... density at 1 moves at the same speed o.0
Almo
still, use density 1. now you know the density is normal and not causing a problem
Nick
/me is confoosed
Jon
like i said
size matters
Pip
8:38 PM
Update: Just built Build 3!
Now all buttons function correctly, even on the gameplay screen
Nick
paste.ubuntu.com/8382457
The relevant code if anyone wants to help
Jon
way to go pip
Pip
wait a sec.... wtf is wrong now!?!?!
Almo
are you sure friction = 1 is a reasonable number?
Pip
now for some reason none of the buttons in the gameplay scene work....
huh
Almo
8:41 PM
i'd start with friction = 0
Nick
@Almo had it set to 0 before
Pip
what the frick did I do?
Nick
same results
Almo
then mess with it once the rest is working
Jon
setRadius(0.1f)
Almo
8:41 PM
what's pos.scl?
Nick
@Almo scales the vector... I told you I needed to apply a massive amount of force
Almo
please use the right words so i don't get confused. you mean impulse
Nick
@Almo yea impulse sorry :p
Almo
I don't quite understand pos
it's the screen position then you try to do an impulse with that?
Nick
The debug output of the amount of impluse im applying:
-1899999.9 3425000.0
-4025000.0 -150000.03
2700000.0 -2125000.0
Almo
8:43 PM
impulse?
Nick
@Almo yea relevant to the touch position, it will cause trouble further away from 0,0 but a good way to test that I have box2d working
@Almo fixed :p
Almo
first, just kick the thing
don't have it dependent on input
you touch anywhere, and you hit it with a vector that's (1, 1)
go back to basics when trying to get something new working
eliminate other possible problems
Nick
Alright changed it to 1f, 1f
Now doesnt even move
hardcoding 10000 makes it move
Pip
gawd I hate Monodevelop
Jon
why
Almo
8:46 PM
are you applying the impulse to the center of the object
Nick
"body.getPosition().x, body.getPosition().y" assuming thats the center (I hope :p)
Almo
box2d.org/forum/viewtopic.php?f=3&t=5098
Pip
@Jon it just opened the frickin solution twice without me clicking once
Almo
that talks about getting the center
Jon
@Pip that doesn't make sense
Almo
8:48 PM
this is a common problem when working with physics engines: getting the right kind of numbers for it to work properly
Pip
@Jon In the monodevelop window, when I started it, it opened the solution twice, without me selecting anything to load
Can I have some help, btw? I can't click any of the buttons in one scene for some reason
googlez isn't helping
Nick
using
body.getMassData().center.x
makes it go even slower wow
Jon
sure what's the problem?
also. yeah monodevelop is kinda shitty
it has gotten a lot better though
Pip
True, not as good as VS tho
Jon
exactly.
Almo
8:50 PM
XCODE
;)
Jon
vim
Pip
Idk what the problem is, but i can't click the buttons in one of my scenes for some reason
Jon
what are you doing to handle the click event?
Nick
/me gives up to the gods of box2d
Jon
box2d is a pain to get set up
i've used it extensively
Pip
8:53 PM
Uh... using the default Unity stuff that works in the other scene @Jon :/
Nick
Yea I just learned that the hard way
Jon
once you got their debug environment hooked up, it is a lot better to work with
@Pip you are not making it easy to help you
Ali.S
@Nick why give up?
Pip
want a download of the exe or scenes?
Ali.S
did you lose you faith?
in me?
Jon
8:55 PM
@Pip don't think i have unity installed on this guy
Nick
raises eyebrow
Jon
yeah no way that I do
Pip
ah, alright
Jon
hmm, i do
fine send it
Pip
alright, uploading to google drive now
Jon
8:56 PM
@Pip just go monogame
Pip
huh?
Jon
unity sucks
Nick
Anyone here has to suggest any good C IDEs?
C/C++ specifically
Almo
i always heard CodeBlocks is good
Ali.S
@Nick Visual studio?
Almo
8:57 PM
I use Xcode, so I can't comment beyond that
Jon
visual studio
Nick
@Ali.S
cough
linux
cough
@Jon ^
Ali.S
@Nick kdevelop?
Jon
in lunix apparently it is code::blocks
Pip
@Jon I love Unity though
Nick
8:58 PM
@Jon heard about that one, might give it a try
Jon
@Pip I was being a little arrogant :P
Ali.S
also I've heard there is a
CLion IDE
coming out
Nick
@Ali.S first time hearing that one ... check out time
Ali.S
@Nick it's way better than code::blocks
Nick
@Ali.S o0o0o0o0oo0o0o0o0oo0o0oHHHHHHH As a jetBrains fanboy I cant wait
Ali.S
8:59 PM
well you can test it, there is an early access program
Pip
@Jon is .7z okay or do you
need
.zip?
Ali.S
but anyway, kdevelop is the best c++ IDE I've tested besides VS
Qt creator is also good, but I liked kDevelop better, though it takes some time to get used to it
Nick
And the dark theme looks excacly like IDEA ... I think ill use the jetbrains one ... or wait until a pretty stable build is out
Jon
@Pip gf home hold on
Pip
kk
Ali.S
9:03 PM
for me, IDEs are like this: VS>>kDevelop>QtCreator>>xCode... and the rest (eclipse, codeblocks, dev-c) don't really compare
didn't test clion though
Pip
@Jon
drive.google.com/…
for when you get back
Jon
ok
project is open, but missing a bunch of stuff
32 errors
what am i looking at?
Cinch
@Nick I've had good experience with Code::Blocks due to its noob-friendly interface and easy "Compile & Run" button
btw can anyone answer a question on Lua + C++ binding organization techniques?
Nick
@Cinch I am not looking for noob friendly :)
Cinch
@Nick Well then I guess you should do vi lol
jk
Nick
9:11 PM
@Cinch nano4ever
OMGtechy
ello ello
Jon
they are setting up a custom nuget repo at work
anyways, i've been devving on monogame 3.2 dev branch
pretty decent platform
sucks to get started, due to the content pipeline problems
but once you get that figured out, its pretty sweet
Pip
9:29 PM
@Jon uh... what errors are those?
@Jon there are lots of those :)
you may need to update to Unity 4.6 beta 17 :P
Jon
yeah
i think so
Pip
My project is using the new GUI system, which is only in the beta atm
Jon
yup.
Pip
ping me when you're finished please :)
Jon
lol ain't doing that tonight sorry
i'm dj'ing at the moment
Pip
9:34 PM
kk :)
Jon
taking the chicky out
Pip
have fun!
Jon
John McDonald
:D Pre-ordered a GTX 970
Jon
jello
SpartanDonut
9:42 PM
@JohnMcDonald nice
Jon
that card crunches polygons for breakfast
Pip
Nice!
John McDonald
Should be good
Jon
:)
John McDonald
Might be able to see my reflection in BF4's glass finally
Icy Defiance
9:47 PM
apparently some microcenter locations have 980's and 970's in-store now
Jon
you might also be able to turn the heat off in that room
if its not already off, lol
John McDonald
heh, apparently they are quite power efficient, and the Asus model can play both SCII and LoL with the fan turned off (and it does this automatically below a certain temp)
Jon
i got the ati HD7800
the idea was to get another one to crossfire
but it is pretty solid by itself
John McDonald
yeah, I was planning to get another 570 too, but by the time you need one, it's both cheaper and easier to just get a new single card
Jon
yup
John McDonald
9:51 PM
okay, maybe not cheaper, :p
Jon
not cheaper.. but more enticing
Icy Defiance
I have no idea what I would use a second 780 Ti for, but I want one anyway
Jon
also, the crossfire boost is minimal
you will get better performance, but not 2X
nowhere near 2X
also dependant on your motherboard
some crossfire setups are not actually full throughput
secondary card is derped
Pip
Hm
@IcyDefiance LoL?
Icy Defiance
D:
Almo
9:59 PM
maybe later :)
Icy Defiance
okay sure
Pip
awesome
@Almo another game if I have time :)
AttackingHobo
10:33 PM
Man, Vuforia has some fucking impressively accurate image tracking
Pip
lol
AttackingHobo
@Pip whats funny?
OMGtechy
Thought folks might like this
edx.org/course-list/allschools/high-school-courses/…
Includes AP CS
Lokkij
Just won a game where our Xerath was AFK the whole game
Was pretty fun :D
My performance wasn't great, but the teamwork and friendly people saved our team. In solo queue!
Pip
@IcyDefiance Fuck
OMGtechy
10:48 PM
@Pip solved that problem yet?
Cinch
Hello?
Scripting question? Savvy?
OMGtechy
11:03 PM
Savvy
Jon
10 if 10 goto 20
20 goto 10
when i drink i dumb down to basic
Joe
11:45 PM
be safe out there
... 2 hours in queue for the first 1000 spots... 3 hours to go?
Icy Defiance
lol I haven't even been trying to log in
Joe
^ archeage has become a line waiting simulator
OMGtechy
And a damn good one at that.
00:00 - 15:00
15:00 - 20:00
20:00 - 00:00
« first day (1506 days earlier)
← previous day
next day →
last day (3530 days later) »
all rooms
Transcript for
Sep
18
Sep '14
19
Sep
20
Game Development
Game development and other polite discussion. Game development...
3
game-design
game-industry
rubber-ducks
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile