« first day (1887 days earlier)      last day (3116 days later) » 

12:46 AM
For my biotech/anatomy class, we're were assigned to make a weebly website where we would place information about what we learned themuffincoderschoolbiotech.weebly.com
I made myself a quick low poly green background that looks nice :D
 
@Almo can you edit 10 minutes later?
 
Pip
1:08 AM
@Almo wow, that's expensive :/
@TheMuffinCoder awesome :P
 
@MickLH 1 minute is the limit for edits
unless my OWNER POWA lets me do otherwise
 
@Almo sdf
 
Pip
2 mins actually IIRC
 
yeah doesn't look like I can edit stuff
Mods can, I'm just a lowly room owner
I can fuck up stars that shouldn't be there. :)
oh and I can mute people
 
muffins post needs to be made star worthy
lol need is a relative term though
 
1:16 AM
nice backgroudn @TheMuffinCoder
0
Q: C pointer changes for no apparent reason after assignment

DerpintineI've stumbled upon what seems to be a very subtle bug. I have written a function that sorts a linked list. The function takes a pointer to the first node of the list as a parameter, and returns that same pointer to the first node of the now (hopefully) sorted list. However, on running the test co...

omg his code formatting
   for( i=0; i < 500000; i++)
   {  if( node == NULL )
      {  printf("List ended early\n"); exit(0);
      }
      if( node->key != 2*i )
      {  printf("Node contains wrong value\n"); exit(0);
      }
      node = node->next;
   }
 
Pip
ouch
 
1:59 AM
$ astyle -A2 -t *.cpp
and just like that, the folder of monkey-generated slag is converted into human readable code
5
 
 
5 hours later…
user92578
6:48 AM
First day of new period
 
user92578
So nervous
 
Jon
10:14 AM
LETS GET READY TO WRITE CODE
 
code it up
write code to write code for you
 
Jon
gonna go spend some time belittling bad questions on gdse
 
lol
 
user92578
Hi!
 
o/
 
user92578
10:21 AM
first day of new period went a lot better than I expected
 
Jon
what is it
 
I'm on a mission to try and find something better than Unity's UI stuff
Yay Typpii
 
user92578
yeah, I had a friend in Finnish and Swedish didn't seem as bad as I remembered
 
user92578
what do you mean by that crjiuhghais?
 
user92578
fuck the consonants in your name
 
user92578
10:23 AM
im sorry
 
user92578
but i just cant fucking get them right
 
user92578
crish
 
user92578
csirh
 
user92578
crhis
 
Jon
lmao
Just think of Christ
Jesus Chris
 
user92578
10:24 AM
crist?
 
user92578
jesus crisht
 
kris
 
user92578
FUUUUUUCK
 
user92578
crish
 
kriss
 
Jon
10:25 AM
man, what is wrong with you?
 
user92578
Crhis
 
user92578
idk
 
user92578
The "h" is silent
 
user92578
wait no it isnt
 
yeah it's silent
it makes zero sense actually
but that's English for ya
 
user92578
10:35 AM
I would like to take this time and space to thank SDL2_gfx for continuing to use the SDL naming convention, where functions are either SDL_FunctionName or YOURLIBRARYNAMEHEREINTHREECHARACTERS_FunctionName
 
user92578
OH WAIT
 
user92578
It does't fucking follow the one fucking naming convention
 
user92578
So OCD Tyyppi is now writing a wrapper layer (not just for the naming tough) for rendering rouded rects
 
user92578
(I'm trying out some new UI looks)
 
;(
 
10:53 AM
feeeeck
various high-rated UI plugins in the asset store...
one doesn't work on iOS
one doesn't support PS4/Xbox
just arrrrr
 
I
... Dammit mobile
 
user92578
C++ needs an enum type modifier that's like enum class but allows indexing
 
UI seems to be a problem everywhere
 
Jon
@Chris Unity UI is possibly the worst feature about Unity
they kept saying how the new UI in 5 was going to be awesome
Then they gave us this....
 
user92578
UI is hard
 
10:58 AM
Facepunch / Rust implemented their own WebKit-based UI >_<
there's this thing that seems to use Chromium or webkit: assetstore.unity3d.com/en/#!/content/10374
but their demo examples are pretty bad, and I can't tell if that's just the dev making a bad example, or if text just renders that badly
 
user92578
> Making interfaces has never been so simple, intuitive and actually fun!
 
user92578
Why doesn't love CSS?
 
there was one XAML one that looks awesome, but costs $300 or so, but yeah no console support
NGUI is basically Unity Canvas...
 
Jon
quite frankly, rendering a game menu with CSS is just silly
 
user92578
True, but very flexible
 
Jon
11:01 AM
CSS itself is kinda hacky as it was designed to seperate html/design elements
 
hmm there was like Coherent I think? lemme check
http://coherent-labs.com/buy-coherent-ui/
$13/month with a pop-up
or $3,500 for a normal license -_____-
 
Jon
what are you looking for exactly? just like form elements or something?
 
I just know what's involved with Unity's UI
and I really would love something else as a choice
 
Jon
just roll out your own
 
I'd rather make a game lol
 
Jon
11:03 AM
well a menu system, doesn't have to be complicated
it would also remove a dependancy if you just write something simple
 
 
Jon
instead of including ridiculous third party libs
 
yeah, it sounds like an option.... but ahhh
 
Jon
what that?
 
user92578
Custom menu systems have their benefits
 
user92578
11:04 AM
They totally do everything you need them to do
 
user92578
But then you have to make them do that
 
I made a thing above, trying to separate my cynical design eye with a level editor
 
user92578
looks cool
 
so the thing above gets turned into a proper scene
base human model, made some clothes
there's some Mecanim animation packs on the store
added in walking, running for now... and now I wanna get my UI going, health, inventory
cuz I wanna make some hot dungeon action
 
Jon
looks pretty gangsta man
 
user92578
11:09 AM
Just installed this, it's pretty cool:
 
user92578
 
:D but yeah, UI.... the old GUIText/GUITextures is almost easier in some regards compared to the UI Canvas, cuz you can calculate everything precisely. there's no BS canvas sizing issues. thing is is that none of it scales.... unless I coded it from the get-go to be scalable.
plus, the draw calls are horrible :/
@Tyyppi_77 handy
 
user92578
Yup
 
user92578
I should be doing this stuff in data files... but meh
 
stuff like that, the data has to go somewhere
just a matter of how much of an easy or hard time you wanna give yourself if you wanna change it later
 
user92578
11:11 AM
yeah
 
easy / bad way of doing it up front in the now
with the repercussion of it being annoying later on if you need to change it
 
user92578
it would be cool to have these in a separate file that could be reloaded while running
 
user92578
or well, hell, even modified at run time ingame
 
user92578
oh also, I think they finally added renaming stuff to C++ in VS
 
ahh, what about awesomium.com
 
user92578
11:21 AM
Small chance I broke something:
 
user92578
 
:p
bah, the odds of something not working if I rely on a crazy library is probably rather high
old GUITexts don't do text-wrapping... feck, Unity Canvas it is
 
Aah thank you rss feed for this thing that someone posted on gamedev.net:
Title: Beginning OpenGL Game Programming
Content of post: I lost my CD. Give me one.
end of post
Seriously dude? Seriously
 
lol
@Jon pretty crazy
 
Jon
yeah i imagine they will be raising a nice round of funding for this
 
user92578
wow that's cool
 
Jon
my question is... does it work on every drawing? or do you have to get their special drawing book.
I can't see how AR would work with just a random colouring book
 
user92578
11:48 AM
yeah hmmm
 
user92578
I don't think one can figure out the 3d form of a drawing
 
They didn't, the 3d model is seperate
It's the texturing that's automatic
 
user92578
Yeah, so you will need a special book
 
I'm guessing the borders are used for tracking
 
Jon
sounds like we got ourselves a sherlock holmes
 
user92578
11:52 AM
hmm so today at school I had this thought about making a simple WinForms tool for creating the GunHero animation data
 
@Jon well the 3d model bit is easy: They show creating the mapping of drawing->texture
 
user92578
hmm I think I'll just dump this UI redesign idea
 
user92578
I'm so bad at coming up with something cool and unique
 
user92578
The current UI isn't bad, it's just kinda boring
 
Jon
a good way to come up with something unique, is to steal someone else's idea
 
12:01 PM
 
user92578
well, surprise surprise, I like Broforce's level editor UI look
 
user92578
can I steal anymore Broforce's ideas?
 
user92578
no fucking way
 
Jon
 
Jon
12:03 PM
haha
YOUR DREAM IS IMPOSSIBLE!
wtf is this now, a fucken pc gaming chair
650$ chair made for pc gaming apparently
 
user92578
ooooh a new chair would be awesome
 
Jon
make sure to get a gaming chair
 
user92578
i mean, not that one
 
Jon
i got this stupid standard computer chair
no wonder I suck at rocket league
fuck this chair
 
user92578
lol
 
12:07 PM
I see those types of chairs on twitch all the time
and then I get jealous lolo
 
Jon
gain charisma - get famous on twitch - earn swag
 
my dining chair does wonders for my back I'm sure
yup
 
Jon
take some of that money you made with tallowmere, and buy yourself a dang chair lol
a recliner with a pull out laptop tray
 
I already have a chair, so it looks like a waste of money :p
haha
 
I've got an ikea chair at home, about 150 or so but it's great
 
12:09 PM
pic?
 
Also yeah, no Internet at work
 
no pic no star
 
Uuh, when I'm not on my cellphone I'll look it up
 
No worries :D
 
Jon
my chair is like 20 years old
 
12:10 PM
I'm trying to decide between healthbars are individual hearts
 
Jon
the hydraulic thing is broken
so it is held up with various clamps and duct tape
 
My previous hydraulic beast lasted about 10 years
KMart special
 
Jon
here is my handywork
there are actually 2 clamps, one on the top and one on the bottom, under that tape
Blam, $2 fix
 
lol, legend
I think my final straw, apart from having to re-up the seat every day, was when too many screws finally came loose
when the seat goes on an angle lol
 
Jon
haha
ghetto indie devs man
 
12:16 PM
I'm surrounded by kids toys
 
my desk has 6 controllers on it atm
@KevinvanderVelden Looks hot
 
It's so good
 
I miss being able to lean back
 
2 of my friends, independently, bought the same one =p
 
12:17 PM
:D
 
Mine is now so old that the top has a small rip =p
 
tut tut
 
Aeron Chair from Hermann Miller.
 
12:51 PM
@Tyyppi_77 Your commits are quite descriptive, hmmm :P
 
user92578
lol
 
user92578
oh man i thought no one was looking
 
Haha I look by from time to time :P
 
user92578
:D
 
Otherwise it seems like the GUI is coming along nicely :)
 
user92578
12:53 PM
yeah it kinda is
 
user92578
I finally found some motivation
 
user92578
Not for the trigger stuff, that's still on hold
 
user92578
But I'm doing other important level editor tasks
 
Cool I've been busy with other stuffs... Haven't worked much on my game
Well I did add harvestables(took 2) and a console with commands lately
 
user92578
12:59 PM
That's ENUM.ToString() in C#
 
You mean in C++?
 
user92578
/*
Stores the layer types.
WHEN YOU ADD A NEW TYPE HERE, REMEMBER TO MAP IT TO A LEVEL LAYER AND ADD A NAME TO THE CPP FILE.
*/
enum class ELevelEditorTileLayerType
{
 
user92578
I mean to get the same result you can do enum.ToString in C#
 
user92578
^ But there's no way I'll remember
 
user92578
1:00 PM
But please remember that I need to do this when I come with errors
 
There's a better way to do this but I can't find it right now
 
user92578
I (at least tried) looked trough some SO posts about enum strings in C++
 
Basically, write the enum values as ENUM_ENTRY( name ) to a Enum.inl file, in the header and do this:
 
user92578
I guess there's #define STR(x) #x
 
enum Something {
#define ENUM_ENTRY( n ) n
#include "Something.inl"
#undef ENUM_ENTRY
};
Then for the tostring version do:
std::map< Something, String > Something_Enum_Key;
std::map< String, Something > Something_Key_Enum;

void staticInitSomewhere() {
#define ENUM_ENTRY( n ) \
    Something_Enum_Key[ n ] = #n; \
    Something_Key_Enum[ #n ] = n;
#include "Something.inl"
#undef ENUM_ENTRY
}
 
user92578
1:03 PM
Yea
 
user92578
That looks good, thanks a lot
 
Solves the problem with having to edit multiple files to add a new value and prevents them from ever being different
You could even add a second argument for a friendly name or something (i.e. for key binding or some such)
 
user92578
I totally need to go back and do this to my entity types too!
 
user92578
this is awesome, thanks so much!
 
@KevinvanderVelden What kind of voodo is this?!
 
1:06 PM
There's a name for this pattern but I can't recall it
@Hjorthenify taking full advantage of the preprocessor ^^
 
Indeed..
 
It's technically a very limited domain specific language
 
Pip
morning
 
user92578
hey it's the pipster!
 
Jon
1:10 PM
not its not, it's a piposter
 
user92578
you mean the pimposter?
 
THAT HAT IS A SPY!
 
Can't tell if Pip or Blue is the spy!
 
user92578
 
user92578
pimposter
 
user92578
1:13 PM
LAUGH YOU IDIOTS
 
Jon
tee hee
 
@Tyyppi_77 is it bad... that in my first attempt to understand what that is... I read it wid?
 
user92578
lol
 
user92578
yes
 
Jon
 
user92578
1:14 PM
it's obviously a pim-poster
 
the thing is, I don't know what pimposter is, and urban dictionary was no help
 
Jon
 
:D
 
user92578
@Ali.S it's a "poster" with the word "pim" on it -> "pim" + "poster" = "pimposter"
 
@Tyyppi_77 I can get how it's made... I just don't know what it means
I mean what does it mean for a kid to pretend being a pimp?
 
user92578
1:17 PM
it's "pip" + "imposter"
 
Jon
Pip Hop
 
@Tyyppi_77 it actually feels more like "pimp" + "imposter"... since who really wants to be a seed?
 
Pip
@Chris hearts are good if you only plan to have max 12 or so
otherwise it's too many
 
user92578
aight then
 
Pip
imo
 
1:19 PM
@Pip yeah, there has to be a cap
 
Pip
Agreed
 
atm I've mocked up
 
user92578
looks really fricking awesome
 
:D
was gonna make a start on a big inventory UI, but it's 2am, hmm hmm
 
user92578
did you make the character model?
 
1:24 PM
nah I found the base
but did the clothing
 
user92578
oh
 
and did the rigging
 
user92578
I was going to ask how was boob modelling
 
user92578
but nvm then
 
hehe
 
Jon
1:24 PM
someone needs to remake this
 
yes
It feels like a little poor spaceship that can't fly no more
so has to hop around lol
 
user92578
Aight! Enum-order-independent enum-value-saving now-works!
 
Jon
holy shit it was a rip off
 
lol
 
1:33 PM
I'm pretty sure trailblazer just has the 5 stripes in a static display, and uses the raster interrupt to change the colors on certain scanlines to create the motion
the ball is a sprite (or two) on top of that.
 
Jon
yeah yeah , almo and his old school c64 skills :)
you should write a c64 game, for real
 
I did. Several.
 
Jon
there is still a small community that will download it and play it
no i mean another one
 
None were publication quality though :(
I wish I had integrated the sprites my pal made for Lander
seperate jets so they could be colored, and the lander's legs had hydraulics in them, so when it landed it could bounce a bit. Harder bounce to indicate landing closer to the limit on Y velocity
they'd explode and the lander collapse if exceeded Y velocity
but I had to write a little ASM to keep the sprites in the right places, and I never got around to it
 
Jon
sounds like space taxi
 
1:36 PM
yeah, it was the usual lunar lander physics type game
one of the few games I've made that required level design
 
Jon
i added like 20 people in one scene
rammed them down
 
Pip
@Tyyppi_77 "kr-iss"
 
@Jon mass murderer mode where you have to run down 20 people as fast as possible?
 
Jon
naw
but i was thinking of having a lot of people walking around
and everytime you hit a person, you have to pay a fine
 
hey that's a good idea
 
user92578
1:39 PM
chrish
 
user92578
no
 
user92578
fuck this
 
user92578
@KevinvanderVelden Man this stuff is awesome, I can associate all sorts of required data with enums now! Thanks a lot!
 
@Tyyppi_77 heh, no problem :)
It's a fun pattern
 
@Tyyppi_77 I highly recommended that kind of preprocessor torture
 
user92578
1:45 PM
You did?
 
I mean specifically, pulling lists out into separate .inl or .h files, and then including them with different macros defined, in several places. You can actually apply that concept in a lot of places.
 
user92578
Yeah, I'm sure
 
user92578
So now my entity stuff needs a lot of data
 
user92578
So I just expand the ENUM_ENTRY arguments, right?
 
I used to use it for setting up OpenGL extensions, before GLEW seemed to work right
 
user92578
1:46 PM
And include the *.inl file inside several different arrays
 
@Tyyppi_77 pretty much
Note: Adding too much data in this method can lead to confusion so add comments =p
 
user92578
Yeah, totally
 
user92578
This is going to make the entity type system a lot cleaner
 
Also I'd always call it a .inl (or something) file over .h, an .h (or .hpp) to me is a thing I can include and have it be self contained. This method doesn't give you self contained stuff
 
user92578
And it solved a huge problem with the level layer writing
 
1:50 PM
Ughhh balance. Balance wanting to point out extreme cases, with wanting to not confuse tyyppi while he's taking up something new.
 
Yes that =p
 
user92578
yup
 
user92578
you can talk I think
 
user92578
I'll try to understand the stuff
 
nooo thats the problem
 
1:51 PM
"Here's a new idea!" waits till you're excited about it and half way through implementing "These are all the edge cases where it's a terrible idea"
 
user92578
ah
 
Say @MickLH, do you know the name of this pattern? I can't recall it, I believe there's a name for it but
 
..... "And here's another idea that solves those edge cases by only changing 80% of the original idea!"
....."But that idea brings a new problem directly into where your solution was supposed to be, so ignore all the problems and 2nd solution and do the first, but this 2nd solution... lets talk about it!"
@KevinvanderVelden You mean the pre-processor?
 
@MickLH well, specifically using it in this method (an extra file with the data and including that file several times)
 
I don't know of a name for it, I "invented" it one day as needed. I just call it pre-processing "hella hard". lol
 
1:54 PM
Heh
 
user92578
lol
 
I have to point it out...
There are some extreme cases where you can use a .h file as an actual include, but also wrap it in macros and use it again later. (But I've never actually found that to be better in any way whatsoever than just going with .inl files that are useless without the macros)
 
Le sigh:
0
Q: Python - Holding down key to move a sprite works, but only in one direction

JammyI've been testing out movement for a fighting game that I'm creating in Python. The problem is that when I try to move the sprite, it moves correctly to the left, but only ever works in that direction. I think the problem is with my event handling loop, but I don't have much experience so I have...

That took about 2 seconds of looking at
@MickLH yeah, I believe the source engine uses that in some places for defining entities and at the same time using those headers for setting up serialization and such
 
Wait as macros, or reading in the source at runtime?
 
Macros
So compile time I believe
 
user92578
1:58 PM
I can probably do this stuff a bit smarter one day
 
@Tyyppi_77 past you is always dumbest you
 
user92578
yeah
 
(Excepting maybe drunk you)
 
user92578
lol
 
Unless they put you on certain psych meds
Which seems to emulate drunkness
 
user92578
1:59 PM
Can I stop Intellisense from freaking out in these .inl files?
 

« first day (1887 days earlier)      last day (3116 days later) »