« first day (2144 days earlier)      last day (2866 days later) » 

12:00 AM
Nature is beautiful.
 
12:17 AM
Space is beautiful :D
 
Space is boring emptyness with some deadly photons
 
But what about all the deadly prokaryotic bacteria in nature?
 
Nature is scary
 
12:33 AM
would be a nice endboss
 
Jon
12:44 AM
mitey mite
 
Guys I finally did it
I finally made something in illustrator that looks awesome
My entire game is going to have this art style now
It's so much less work then making entire 3D models in blender just to render the top part
 
 
1 hour later…
Pip
2:09 AM
@MickLH you know that embedded dll thing I did?
Well, it just broke for no reason that I can tell between two compiles
cleans and restarts don't help
Ideas?
 
@Pip Main idea: Solve the deeper problem with an installer
 
Pip
That's annoying though L
 
Just need to get over the last bump...
I've been working towards something pretty much all week, I just need a little bit more motivation to finish it...
Unfortunately I think my motivation already went to bed.
 
Pip
JUST DO IT!
Did that work?
 
2:30 AM
YOU CANNOT DECLARE ARRAY TOO BIG IN A STACK IN C++??!
function(){float wtf[102323];} <- STACKOVERFLOW!!!
 
Sadly no...
 
oh...
5
Q: Create a big array in C++

Yongwei Xing Possible Duplicate: Segmentation fault on large array sizes Hi all I am trying to create a very big array in the VS 2010 using C++. When I try to create a array like below int dp[4501][4501] or int dp[1000][1000] It threw an exception "Stack Overflow" Then I change it to: int dp[...

 
 
4 hours later…
6:59 AM
Another failure.
 
7:14 AM
@TheMuffinCoder I'm wondering... is that a dress? an spaceship? or a weapon?
don't get me wrong... it looks awesome, I just don't know what it is?
 
@Ali.S He is making multiplayer top down space ship game, somewhat like Agario, if I remember correctly.
 
right? so it can't be a dress... is it an spaceship or a weapon on an spaceship?
 
user92578
7:54 AM
Good morning!
 
What's new typpi!
 
user92578
parents left for a weekend trip, I've got no-distraction dev time for like 34 hours
 
user92578
trying to come up with tasks for today and tomorrow
 
user92578
how are you?
 
trying to render with vertex array object! @Tyyppi_77
 
user92578
8:03 AM
cool!
 
Sounds exciting! I want to make game too!
 
8:53 AM
Hi
 
HI! @sn0k3
 
user92578
9:18 AM
Heya
 
user92578
10:14 AM
Finally! I can now reliably reproduce an annoying bug I've had for a long time
 
user92578
Still not sure what's the actual cause, but this is already so much progress
 
user92578
10:29 AM
GOT IT!
 
user92578
WOOOO HOOO
 
user92578
Now I'm gonna go make myself some pasta
 
Jon
10:51 AM
Gonna hatch a plan to get breakfast made for me
 
user92578
11:33 AM
damn I can't cook for real
 
user92578
The kitchen is a big mess and the pasta was bland
 
11:53 AM
Solution: Add more chili
 
user92578
some pepper would've probably done too
 
user92578
luckily tomorrow I can just put stuff into the oven, no actual cooking required
 
12:14 PM
@Tyyppi_77 I fixed my bug!
 
user92578
nice, me too!
 
12:25 PM
fixed it! YES!
 
user92578
I don't know what I'm looking at but looks cool
 
shadow shadow shadow!
shadow map! @Tyyppi_77!
 
user92578
you don't need to ping me everytime
 
I know. But it is fun to imagine the ping sound you will hear.
 
user92578
you should add some basic directional light so the objects could be more easily recognizable
 
12:31 PM
ping! ping! ping! ping! ping! pi...
 
user92578
and if you ping me one more time I'm turning the sounds off.
 
:*(
 
user92578
I'm here, and I will be looking at the messages
 
Jon
I am here.
 
I did it jon!
 
Jon
12:34 PM
Had to make my own breakfast
Did what? Get a girlfriend?
 
um... no... shadow mapping I mean...
Who needs a human companionship when you have a computer.
 
Jon
Looks good.
And strange
 
user92578
seriously, add a hardcoded directional light
 
user92578
that ambient is hurting my eyes
 
I am an independent sentient being who ain't no need man.
 
Jon
12:38 PM
So u into men?
 
I will leave that question as a mystery because a girls gotta have her secret.
Tyyppi_77, I think the color red is easiest color to work with! it makes spotting it, visual reception process easier!
 
user92578
Sure, but it's all just a big lump of red
 
user92578
Directional light is like one line of code to add
 
I will!... um... very soon!! soon...
 
good afternoon guys
and girls
 
user92578
12:49 PM
hi!
 
I'm ready to insert weapons in the game!
good work to me :)
 
user92578
nice!
 
user92578
I'm working on adding variety to my weapons too
 
weapons are a great thing, aren't they?
:)
 
user92578
yeah
 
12:52 PM
customers like weapons
we like customers
 
user92578
I realized earlier today that for a game called GunHero my guns are really lame
 
we like weapons
what do you mean?
 
user92578
well the (too few) guns I have are too similar
 
user92578
I noticed that I never pickup any guns, I just use the SMG I start with
 
balancing weapons and making them versatile is very important I guess
In my game they will be mostly something cool to get
not so important thay they exist
but cool
 
user92578
12:59 PM
 
user92578
Lots of work still needed but I'm getting started
 
That was your first game, wasn't it?
 
user92578
Yeah this is my first real project I'm working on
 
real?
 
user92578
serious
 
1:05 PM
oh
:D
Are you full time indie or just hobbyist?
 
user92578
hobbyist, but that it's summer kinda fulltime
 
Hm, these days you said that you don't touch that much SDL code in your game..Well, what does actually your framework includes?
I mean how did you structured it?
 
have u played Metal Slug Typpi?
 
user92578
I really only touch SDL when I respond to input, as it felt like a waste of time masking the events away
 
user92578
I've built my layers for rendering (Sprite classes and such) and then the whole entity/level structure, so I just know my systems use SDL behind the scenes
 
1:08 PM
Metal Slug is like father of 2d gun shooting side scrolling genre
 
Because maybe I will make my game in SDL, not in Java with it's standart library ( I am currently using it )
 
user92578
Basically all the features I'm implementing are made on a higher level, and SDL is the lowest level I touch
 
user92578
SDL is kinda good, all tough I'm a little sad that it doesn't support shaders
 
SFML supports shaders
 
user92578
If you've never touched C++ before, it's an okay library to get started with, all though C++ ain't easy
 
user92578
1:09 PM
Yeah SFML does support shaders
 
user92578
Were I to start from nothing today, I would probably pick SFML
 
I've done 1-2 games in C++ using SDL, but I'm not sure was SDL 2 released then or I've used 1.2
 
take a look at Metal Slug. They have fantastic guns that can be an inspirtation
 
I've done tests with SDL 2
 
user92578
@BlueBug I will
 
1:15 PM
Have you followed any tutorials in SDL?
or you have just read the documentation
 
Jon
did mozart read tutorials on how to compose?
Metal Slug was super amazing at the time -- the pixel art in that game is top notch stuff
 
Jon, I've just asked him if he knows some good tutorials on SDL..
 
Jon
I was joking -- being born knowing how to code isn't really a thing, lol
 
like the bad joke eel now we have to good joke jon
 
user92578
I've just read the documentation, but Lazy Foo's tutorials are kinda nice
 
1:20 PM
okay
ty
:)
 
Jon
I pity the foo.
ok guys, my test build is almost ready - are you guys ready to lower yourselves to the level of testers?
 
speaking about gorb?
 
Jon
yeh
 
If I'm still a pc will be a pleasure
 
Jon
i am looking for android testers
tablet or phone
 
1:28 PM
I can try it on my phone
browser or app?
 
user92578
m_BulletSpeed = TVector2(6.0f * (type == EEntityBulletType::PLAYER ? 1.0f : (bossBullet ? 1.0f : 0.75f)), 1.0f);
 
user92578
Look at this fucking shit
 
what's up?
don't you like your shit?
try eating mine :)
 
Jon
it will be an app..
 
if (!busy && gc.GetCurrentState() == GameState.FIGHT && cmd.CompareTo(string.Empty) != 0)
 
Jon
1:31 PM
you would need dev options on your phone I think, to install unsigned apps...
tap about 5 times
 
i do know, kk
I think it is already enabled
 
Jon
or the version number actually
 
user92578
yeah I've got an Android phone too, already in dev mode for Cognizer
 
Jon
good luck getting 143 in 9 hahahahaha
 
user92578
what?
 
Jon
1:35 PM
gorb slang
 
1:46 PM
@Jon Metal Slug is still really fun
 
Jon
getting shit done when a level doesnt work in your engine:
if (ApplicationData.CurrentLevel == 145) {
 
^ #CodingIsNotAlgorithmDesign ?
 
Jon
heheh
 
user92578
lol
 
Jon
 
user92578
1:49 PM
I remember reading from a devlog or something about designers coming to programmers "in this level nothing really works, but it works fine on other levels"
 
user92578
There was some leftover code like that from a previous project
 
Jon
So this particular level, the teeter here does not settle
So I have to write a special case in to say, don't check for those two to settle
 
lol
 
Jon
I should write in a property
But at this point i'm like frig this shit
 
Now you're all designing and shit
Properties... pfffft where da hacks at?
 
Jon
1:50 PM
i really don't see the point of writing a property now...
but I imagine I will be like.. shit shoulda wrote a property
 
Properties actually does seem like a good way to deal with that
 
user92578
man that is exactly what I believe releasing something is like
 
Like if it came up again
 
Jon
There is one more level
where there are ropes supporting the final objets
I still want to check if they are resting so it is a little different
I need to check if they are resting at a higher threshold than I would in other levels.
So that property should be a float
 
Jon, from where I can try your game?
How to paint a square where is the mouse cursor's position?
 
user92578
1:54 PM
In what framework?
 
@sn0k3 PaintSquare(Mouse.Position);
 
Hm, no
wait
 
lol
 
@MickLH That is possibly one of the most ugly codewise user interfaces I ever saw
 
I am not talking about that
 
1:55 PM
I went with his words verbatim :P
 
Jon
@sn0k3 trying to get the build finished now
 
aha
How to convert mouse position in tile size
wait, I will send you a picture
 
Mouse.Position / Tile.Size
 
but paint can't snap cursor
I tryed that
It isn't working
 
There is no point in arguing that "Math doesn't work."
 
1:57 PM
after moving the mouse it just paints +1
wait a second
 
You should refine your problem to what you actually are trying to achieve, that's what I'm actually saying behind my messages
I wouldn't just give you ridiculous code and say "seriously use this"
 
the red thing is the cursor position
I am trying to make the tile ( which is the rectangle with width 25 and height 25 )
centered of the cursor's position
 
Your question is still ambiguous, and the two trains of thought I pointed you at cover both possible cases you could mean.
There's nothing more that can be done until you become sure what you actually want. This is not as trivial as it sounds because if you were sure 100% what you wanted you would be typing the code.
 
I am trying to center the tile to the cursor position..Something like the tile is outside and the cursor is inside the image (tile image)
public void mouseMoved(MouseEvent e) {
int mousePositionX = e.getX();
int mousePositionY = e.getY();

paintRectangle(mousePositionX / 25, mousePositionY / 25, 25);
}
this is my mousemoved function
25 is the size of the tile
 
Ok does paintRectangle take X and Y in pixels, or by tile ID?
 
user92578
2:03 PM
You need to round, and then multiply
 
because it takes the size in pixels, and ignore Tyy
 
ooooooooooooh!
 
Ignore him.
He's wrong.
You need to floor not round. You are already flooring.
Integer divide floors.
 
user92578
rectX = floor(mouseX / 25) * 25
 
You probably need to multiply, which is why I ask if you need pixels or tile ID
 
user92578
2:04 PM
(or floor, actually)
 
@Tyyppi_77 This is straight up wrong. Use floor
@Tyyppi_77 You are wasting everyone's time butting in stepping on my toes with wrong advice and slowly correcting it to advice I gave a minute or two ago.
 
Well, what do you mean by tile ID?
pixels I guess..
 
Tile (0, 0) is at (0, 0) but tile (1, 1) is at (25, 25)
 
yea
 
So you use Position / Tile.Size to get the tile ID
 
2:05 PM
I am rendering the grid like that:
for(int y = 0; y < screenY; y++) {
for(int x = 0; x < screenX; x++) {
g.drawRect(x * TILE_SIZE, y * TILE_SIZE, TILE_SIZE, TILE_SIZE);
}
}
Aha
 
paintRectangle is the only function that's possibly relevant
 
Well
I should paint the grid on other way
 
Anyways stop getting ahead of yourself
Do you understand why you use floor division and throw away the remainder?
 
@sn0k3 hit "fixed font" when you enter code
 
Do you understand why you need to multiply the tile ID by the tile size?
I need to smoke a joint so I can human. brb
 
2:08 PM
What do you mean by this "Anyways stop getting ahead of yourself"
 
I mean focus on one point and solve it, do not think randomly about other topics until you finish the task. That is just a form of procrastinating.
Specifically it's a way for you to procrastinate that also wastes my time. I won't put up with it.
 
don't be so harsh @MickLH, lol
 
well
 
4 mins ago, by MickLH
I need to smoke a joint so I can human. brb
you didn't give me enough time to roll
 
user92578
did you get it to work sn0k3?
 
2:12 PM
no
 
jesus
 
because I dont store tile id
 
@MickLH I don't like joints
 
Isn't that illegal?
 
user92578
@sn0k3 you can calculate those in the way I showed you
 
2:13 PM
yeah but mick is a rebel
 
:D
 
UUUH, maybe
 
public void mouseMoved(MouseEvent e) {
    int mouseTileX = e.getX() / TILE_SIZE;
    int mouseTileY = e.getY() / TILE_SIZE;

    paintRectangle(mouseTileX * TILE_SIZE, mouseTileY * TILE_SIZE, TILE_SIZE);
}
(avoid magic numbers)
 
cheers!
 
user92578
2:15 PM
nice!
 
noice!
 
@sn0k3 Seriously please understand why that works though, please.
 
I didn't saw your code fully @MickLH , I just saw your first 2 lines and decided to multiply by 25 in paint function
Thank you guys
Well
 
As long as you understand why it works, you'll answer so many of your own questions
 
about to release, @sn0k3?
 
2:16 PM
And see entire new spaces of ideas to work with
 
int mousePositionX = e.getX() / 25;
int mousePositionY = e.getY() / 25;
this gets the tile id ( tile 1 is at (0, 0) tile 1 is at (1, 0) ... )
but I'm not sure why to mult by the tile size?
 
Lets call it "Index"
 
user92578
because you need to convert to screen space
 
@MickLH Which one?
 
The number that goes 1:1 with each tile, it's a tile index
It's also an identifier, but there are many other identifiers that are equally important to the word "identifier" but index is a bit more specific
 
2:19 PM
okay
after getting the tile index I should multiply by tile size in order to convert it into screen space - is that it is?
 
That's a valid way to interpret what's going on
 
user92578
yeah, so that the next tile always starts after one tile size has passed
 
Thinking in "spaces" can be more complicated, but is a good technique because it covers almost all conversions in game development
To think of it in spaces, you have a number line that goes 1, 2, 3, for each tile, aka "Tile Index Space" and you have a number line that does 1,2,3 for each pixel, aka "Screen Space"
 
aha
 
If each tile is 25 pixels large, then to convert from tile space to screen space, you'll turn 1 into 25, and 2 into 50
So Screen Space = 25 * Tile Space
 
2:23 PM
yes
shouldn't be screenspace = tile_size * tile_index
 
Yes
 
aha
okay
thank you
 
np! I always appreciate someone not getting mad at me for being low on patience :P
 
@Leggy7 to release what?
Hm, interesting..
It paints the bottom tile, instead of the tile, where is the cursor position
tile0 = (0, 0)
tile1 = (1, 0)
it paints tile1, but mouse is on tile0
 
user92578
code?
 
2:32 PM
I fixed it
:)
ty
mousePositionY * 25 - 25
 
user92578
that's not a sustainable fix
 
user92578
that's a patch
 
hack*
 
you mean, because it is hardcoded?
 
A patch is how you distribute a sustainable fix...
 
user92578
2:33 PM
you really don't want to do that, you want to figure out why you get wrong Y values in the first place
 
@sn0k3 What corner is (0, 0) in?
 
top left
but I will check again, wait a second
 
And do you count starting from 1, or from 0?
 
it is top left
from 0
If you mean in the rendering the grid part - yes
 
@NaCl Whats wrong with joints? seems fine to me! they are pretty efficient
 
2:44 PM
They are the opposite of efficient
Thy burn most of the stuff you want away
But besides that, they just taste really bad for me
fun to build them tho
 
I'll find some papers if you don't believe me, it was a shock to me but experiments seem to agree that joints deliver the most crap and the most thc overall. Specifically such that the ratio of thc to crap is relatively higher than a bong because the water is actually more effective at filtering thc than at filtering ash
 
why do you smoke them?
for fun or?
 
@MickLH except for vaporizers
 
well nothing can compete with a proper vape setup lol
maybe edibles in some cases, but idk it's just different :P
 
Agreed.
 
2:56 PM
lol I think this is the most recent published thing I've seen
They basically end up saying (joint > bong && dabbing wrong != dabbing right)
 
Jon
3:12 PM
ok well i have my test build ready... still some stuff i want to do, but its ready --- can't build though my son is on my deploy pc playing games
 
they blink a lot
 
Jon
that is what I was thinking lol
 
user92578
yeah otherwise awesome
 
Jon
gonna lower the blinkrate
 
It's smewhat hypnotizing
Also, what's up with the blue one up right? Doesn't blink at all
 
Jon
3:24 PM
blink is totally random
 
Okay, makes sense
just not captured in the gif
 
user92578
you should put in one retarded one that just doesn't blink
 
lol
 
Jon
it would be cool if I did try to evolve the characters even further
There is this interesting shape shifting mechanic that could be cool to do
 
pls no transformers
 
Jon
3:26 PM
A Yellow(or whatever unused color) block that changes between a circle and a square
 
That's cool! On click?
 
Jon
That is the issue
It completely changes the core mechanics really
previously all you can do is touch stuff
and it dissapears
 
hmmyeah, they used to disappear if you click
 
user92578
don't let yourself be the victim of the feature creep
 
can you rotate 45 degrees and switch and use it to pop up to somewhere higher in the map?
 
user92578
3:27 PM
 
What about if you click it, it changes shape, if you click again it disappears
 
user92578
A long refactor later I'm back to where I started from
 
Jon
That would be pretty cool
 
lol jon be careful
 
Jon
gorb2
@Tyyppi_77 love those circles at the end
 
user92578
3:28 PM
me too, it's a little thing but just makes it look more polished
 
@Jon bro do u even dlc tho?
 
user4704
The blur and shell casings are nice touch too.
 
user4704
Do you have shell casing clatter sounds lined up?
 
user92578
No actually
 
Any ideas why when I resize window the rectangles, which have being painted with mouse disappear?
somewhere is called repaint()
but interesting thing is that these in main paint method does not dissapear
 
user4704
3:31 PM
When I look at the gif full sized there is an occasional flicker of green near the characters ear
 
user4704
is that a compression artifact?
 
user92578
Yeah it is, that happens actually in almost every of my gifs
 
3:51 PM
apple.eat(a) banana.eat(a,b) Cherry.eat(a,b,c), all inheriting from class Fruit and Fruit has eat(), what is the correct way to achieve this? same function name with different number of arguments. Do I just hide Fruit's functions? and call it from inherited class?
 
Jon
if you spin a square really fast in unity, does it become a circle?
 
@Jon maybe a circle with an inner radius, and an existence probabilistic gradient out to the outer radius :P
It's not really random though, but if it's faster than the framerate you'll get the nyquist effect which could appear random sometimes
 

« first day (2144 days earlier)      last day (2866 days later) »