« first day (638 days earlier)      last day (4398 days later) » 

6:03 PM
too many messages!
@GustavoGtoknu nope, I said you need to pay a little for advanced features!
 
A little = 150 bucks lol
 
@Dave I'm checking!
 
And if you pay for it, you will be able to release just one game, so it's not all that worth
 
developing shaders is not really necessary you know
 
Yes i know, but I really like them :D
tho I'm not that good with they yet ):
 
6:05 PM
besides it uses it's own shader language (if I remember currectly)
 
it doesnt use .cg?
 
I remember the time when you didn't had to pay to use shaders
and in those times shaders were some C++ like codes
you had to include some shader base, and ...
 
hlsl, glsl and .cg ARE c++ like codes o.o
 
I know, but their code was much more C++ like
 
at least, .cg i think is the closer to c++ available
ah, got it
 
6:08 PM
@GustavoGtoknu where is the Native librarie location?
 
@Liukas You'll have to work for yourself, sorry, I can't help you installing a trivial lib like this.
 
while developing I feel like developing with an scripting language but still I have the power of C++
the fun part is their developer team!
 
@GustavoGtoknu can you explain what is a native librarie location? :D
 
just check that page
 
@Liukas can you google?
 
6:09 PM
okay :)
im just eating pizza a moment
 
@GustavoGtoknu trying
 
@Gajet i've saw they have some team features like cooperative world editting
 
not that
the team developed esenthel
 
check it
 
6:10 PM
Let me see
 
@dave now I've found an odd bug
 
oh really ?
 
nope I didn't!
:D
 
lol!
 
6:12 PM
are u saying the pathfinder is doing what its suppose to :P ?
 
"Hello,
My name is Grzegorz Ślaziński,
and welcome to Esenthel Engine." hard name o.o
 
resource not found!
 
wow he developed everything solely, i applaud him.
 
@GustavoGtoknu that's what I mean, and beside demos that engine rocks!
 
it was a motivation image
 
6:17 PM
whoa.
 
@Gajet have you found any idea of what might be happening?
 
I'm checking, and adding some more information to visualizer right now
 
okay
its good job i tested this path finder to death :P
 
@dave it seems to be some problem with heuristic function
 
6:21 PM
i had one thought @Gajet that the tile which splits into two ways with heuristic manhatten might it be thinking they are the same distance
oh u beat me to it :P
 
found it!
the problem is with just an small 'h' used instead of capital 'H'
 
where to
 
in getHur function
just look and check if you can spot it!
it's your homework :D
 
oh i see it
wow id of never of got that!
i hate making them kind of code mistakes
 
also check if I changed first line of getHur to look for endObj[1]
 
6:26 PM
var endObjs = [];
oh on line 1 infunction no they are [0]
im assuming [0] is correct :P
var minHur = Math.abs(start.x - endObjs[0].x) + Math.abs(start.y - endObjs[0].y);
i knew you'd save the day @Gajet thanks :)
 
yeah it is
while debugging I changed that line to 1
@dave that's exactly why using A* is not my first choice, with a simple error in heuristic function everything could go wrong!
@GustavoGtoknu did you download esenthel?
 
@Gajet what would be a better choice though
 
@Gajet So what's your first choice then? :P
Downloading :D
 
BFS,
and if really I need to find path on weighted graph Dijkstra
 
6:33 PM
well i wondered if dijkstra would be a better choice for my situation
 
@Dave since you implemented A* it is not!
 
in what situation would dijkstra be better choice
 
@Gtoknu GUI done o:?
 
also by changing heuristic function to always return 0, you'll have a simple Dijkstra algorithm implemented
 
but is there situations where it is a must over a*?
 
6:35 PM
Dijkstra is slower, isnt it
and BFS seems nice, it isnt the source searching the destination, its both at the same time lol
 
so how come alot of games like age of empires favour a*?
 
a* isnt actually the same but with heuristics + distance in account?
 
exactly
 
so why would it be worse?
 
if you don't mind looking into some extra cells (cause there are too few cells to look at) always use Dijkstra,
it's all about implementation complexity
 
6:38 PM
hmm but in my case it follows path tiles only... so it can't check "extra tiles" anyway
 
in term of complexity
BFS< Dijkstra<A*<D*
 
never heard of D* tho
 
while D* will result in much faster lookup that any other algorithm almost no one bother using it, because it's too hard to implement
 
but isnt there any implementations already implemented available?
 
but what about intensity / performance
 
6:39 PM
@GustavoGtoknu D* is specialized for the times you don't know how the scene looks like
 
Like 3D spaces?
 
3 dimension path finding must be a night mare to code =/
 
@GustavoGtoknu that's not the point for every project always there is some small changes you need to apply yourself to make the results perfect
 
its hard enough on just x and y lol
 
@Dave actually it's not too different from 2D path finding
 
6:41 PM
oh
 
the only difference is about each node has 6 neighbors instead of 4
 
Well in my case i work in 3D but with a heightmap, so it shouldnt be too hard.
 
note that all those algorithms are graph traversing methods,
there is nothing like grid traversing or no one talked about 2D or 3D
@Dave as long as your code works fast enough (doesn't consume time more than 1ms) it's ok
 
oh okay :)
 
remember everyone in chat room talking bad about preoptimization!
 
6:45 PM
@CodeAssasssin No, i just let it aside a little, im enjoying the talk here :)
 
yeh i get shouted at for pre optimization but i still do it lol
i find pre optimizing even if not needed helps me learn better code techniques
 
@Dave so do it in separated projects, like prototypes :)
prototyping is good for learning. I wouldnt hurt my project main code preoptimizing
 
i dunno how u can say preoptimizing is hurting the project =/
other than it being possible a waste of time - it can't be a negative thing
 
Maybe you're taking a too complex thing, and adapting your project to this complex thing.
So you're making your main project complex without needing!
so it will soon become negative :>
 
exactly
 
6:49 PM
optimizing is about simplifying surely =/
 
for example to implement a simple calculator for my DataStructure class, I almost implemented a whole mathematica engine in C++
but it wasn't going to do anything with an actual project anywere
@tylerrrr07 weren't you going to buy a windows server?
and share a host with me?
 
If you pre-optimize too much can't it cut down on productivity level? You'll be focused too much on fixing code - instead of working on core gameplay.
 
@CodeAssasssin that's one of the drawbacks
 
@CodeAssasssin You're getting the point :)
 
im more referring to things like:
i had a draw function which used 3 for loops to draw each layer of sprites one after another, i then changed it to one loop
 
6:51 PM
but you need to know sometime you need to preoptimize
 
@Gajet if it's THAT bad :P
 
@Gajet I decided a dedicated server was too expensive for my blood. I bought some regular windows hosting I can share if you'd like but since we don't have RDP access we are somewhat limited.
 
for example @WilliamMindWorXMariager need to develop his code completely optimized from the start
 
@Dave Well if it WORKS and isn't bothering performance so bad, i wouldnt touch it.
 
@GustavoGtoknu see i don't like to think like that it makes me feel dirty lol
 
6:52 PM
@tylerrrr07 as I said I only need as much as a wordpress installed and a simple file sharing mechanism.
nothing too fancy
 
@Dave Yes I know, i used to think as you're thinking now. Trying to change my scopes :P
Because after all, my focus is getting a game running, not waste time recoding things that already works.
I usually put some //TODO coments, explaining how can i make it better
so when i surely have the time, i can work on it :)
 
@Dave noone develop codes dirtier than me (except OS developing guys!) and I say it's not dirty not to preoptimize!
 
@Gajet Buy yourself a domain and I can help you out
 
heh :D
 
but leaving sumin that works which may not be the best method is like using duct tape and saying "thatll do" when u should use nails and a hammer :P
 
6:55 PM
@tylerrrr07 I guess I prefer to say with not sharing my project with anyone!
 
?
I might be able to create a subdomain if thats ok? whateveryouwant.intellisenseless.com
 
I love it!
 
what is you're project @Gajet
 
wait...
 
let's name it "Battery"
 
6:56 PM
@Dave Well, you can choose waste your time choosing "best methods" or making the game, you choose :D
 
these iranians are too much reclusive
 
@GustavoGtoknu what if - lets say u complete your game engine and release it to public then surely its the time to look for better methods
 
Battery.intellisenseless.com?
 
not all iranians just me
 
6:57 PM
you live in iran ?
 
@Gajet aaaaaaand... Esenthel installer crashed!
 
@Dave are you new here?
@GustavoGtoknu what?
 
yes :P
 
are you new here? 2
@Gajet Esenthel installer app just crashed, on the middle of the download, nice
 
I didn't used to install it, just extracted a file into some folder!
@Dave then yes I am!
 
6:58 PM
well, i went to the site and there was a fancy downloader
 
is iran any thing like the west portrays it to be?
 
nope not at all
 
probably
the people are nice but their gov is a bit off their rocker
 
but I guess it depends on what you think it is
 
@Dave Well, if it is working and with good performance, why not? the players wont see the code anyway :D You can optimize then. Or you optimize when you're about to release the game. My rule of thumb is to optimize if and only if the performance is horrible.
hey guys, Im going out for a little, brb in 30 minutes or so.
 
7:00 PM
@Gajet dunno i read articles about women being treated badly but as i read it from the media i dunno how much is true lol
 
there are two kinds of people, those who think government rocks and those who think it sucks
they are almost the same in number and there is no one in the gray area between them
 
Isnt it just stereotypes?
 
they might not like the government if they don't find a way to stop usa cos all hell could still break loose over coming years
 
nope it's not, it's like how iranian usually behave about everthing
 
Like people think that here in brazil there are just jungles, monkeys and soccer players, on Africa there are just black people, and in america just rich people, blablabla.
 
7:03 PM
@Gajet so do you think the sanctions are not required?
 
america is poor as shit
10% of the population is well off the rest scrape by
 
uk is poor too our government here upped taxes for poor lower for the rich
 
scraping by is better for americans than it is in other parts of the world but the rich-poor gap is getting huge
 
I think sanctions ARE required but it won't change anything here in iran!
 
@JMRboosties As i said, these are stereotypes :P The same way not everybody on africa is black or miserable.
 
7:05 PM
monied interests have taken over the US imo
 
it just prevents iranians feeling like god!
 
well thats not good then
 
anyway im out cya
 
oh u live in the capital too :O
 
I'm not sure how would government behave if it wasn't for sanctions.
 
7:06 PM
@GustavoGtoknu bye
 
well from what i read here - iran's government has not changed at all with the sanctions
 
in Iran almost every one is powered with feelings, decides with feelings and act based on feelings
@Dave not even a single bit
 
which is bad cos usa are not bluffing about attacking if need be =/
 
yeah they are bluffing
 
seriously, politics here? :)
 
7:08 PM
well thats hard to say
they went into iraq and afghan =/
 
Iran is not that poor when talking about military stuff.
 
true
 
and we have Arabs with their oil all around us, just a single missle launched towards us the the world will loose all it's oil supply for at least 3 years
no country could afford that
@Dave iraq and afghan were too much different,
 
good point on the oil thing
but then iran could turn oil off now n say "get rid of the sanctions"
 
we fought iraq for 8 years, we had nothing while iraq had access to latest military technologies
@Dave turining off the oil now will surly lead to war right now, which is not anything like any politic wants
and now Iran is much more advanced compared to what it was 20 years ago
 
7:12 PM
but then the nuclear programme u guys have might make usa start a war any thing it seems like a complex situation for both sides =/
 
if we'd just spend a fraction of the money on the oil wars on alt energy we'd prob not even be using fossil fuels right now
 
a war now against iran might lead to WW3
 
EU have spent alot more in fusion power than military
 
no offense but the west would destroy anyone in an all out war
 
not china
any possibly not russia
they i think would be on iran's side
 
7:13 PM
it depends on whether or not us decides to mass bomb or not
 
and possibly not everywhere in the world who talks big
 
could iran really reach US land =/ ?
 
the thing is something like ww3 wont happen in all likelihood
the world economy is too dependent on relative stability to allow for it
 
just check out the latest war between Israel and Lebanon
 
ideally the arab spring needs to keep going in the middle east till the people take charge the west had civil war's many years ago its the middle east's turn
 
7:15 PM
almost everyone know Israel was fueled by US and lebanon had Iran on their side,
@Dave it's not about winning the war but about not loosing
@Dave it's not anything like Arab spring
and there was not even once those arabs shine in history!
 
so iranian's support their goverment ?
 
it was always Iranian doing everything
even Islam grew because they had too many Iranian leaders on their side!
 
the media here makes it out that the government in iran control their people more like dictators
 
(that's a little big talk but)
@Dave as I said there are almost 50% thinking like that, and there are another 50% thinking the government rocks
 
ah
 
7:19 PM
they just bold the oppositions since they don't current Iranian government
 
which side u on ?
 
that's difficult question to answer for me
 
true they could be watching u :O
 
that's not the case
 
say you love them just encase
 
7:20 PM
there are some thing I love, like how they stood against US and other western countries and somethings I hate like how they limited the internet
 
do they stone women or is that media lying
 
it's not a lie completely but greatly Exaggerated
 
ah
 
it's basically a law in Islam which might should be applied to women in rare case of prostitution.
 
i need to figure out how im going to handle movement speed for tile-based movement
 
7:23 PM
and there are too many condition a woman have to meet before being sentenced like that
 
mind u the uk's history did harsh things to women too in the past
 
@JMRboosties what is your problem?
 
i dont know, just need to tackle it
im not at my computer with the code right now, but basically i do this for movement
if(KeyState.IsDown(Key.Right))
     character.Coordinates.X += 1
 
you should set some action to player on key down
 
so if you press and hold right the character just flies right as fast as the update sequence can go
 
7:26 PM
and then somewhere check if player has that action and set velocity
and then add velocity to position
 
if(KeyState.IsDown(Key.Right))
character.Coordinates.X += 1 * deltaTime;
 
oh, good idea
 
Kikaimaru how's your project?
 
@thelinuxlich oh i have a question for you, how would you do opening chests?
 
why?
 
7:28 PM
like a simple flag is a chest opened? tied with an animation?
 
in componend based system i mean
 
also need to include if user is close enough to the chest
 
good point
 
@thelinuxlich only thing i came up is, on key down, on some player behaviour create new entity (invisible hand) with collision, when that collision with chest occcurs some behaviour on hand will be notified, and that behaviour will notify player entity, and that player entity will tell chest entity to open
 
@Kikaimaru you think too hard!
 
7:31 PM
@Gajet well i dont think there is any other solution :)
 
does it really need a third entity with collision?
 
let me see, first of all why are you creating an invisible hand?
 
add a component "Opening" for the chest when the player moves close enough during the collision system verification
 
why not just call a function from a component in chest object?
 
well how can i tell if player is standing infront of chest?
 
7:34 PM
then another system intercepts it and plays the correct animation
 
@thelinuxlich you are just creating new components and system for everything you need even slightly different? no reusing of components?
@Gajet well i dont know if there is a chest, so i would need to raycast from players component
 
what do you mean for component reuse?
 
now you are being a bit silly!
 
@thelinuxlich with that new invisible hand entity i can do it without adding new component type
@Gajet why?
 
my implementation has events for those who want to implement a component pool
 
7:37 PM
hmm damn im stuck on a logic issue for implementing something
 
though ray casing is way to solve that problem but it's a lot easier to create a list of all chests
 
@Kikaimaru but then you would need some kind of message passing for opening the chest
 
and whenever the play hits a key check if you are near any object around that chest
 
in my case message passing = adding a componente
*component
 
@Gajet thats not the point, the point is that i dont want some component to search for other components...
 
7:38 PM
also you can put a trigger in front of the chest and wheever player moves inside add that chest to inrange list
@Kikaimaru what's the problem with searching?
 
@Gajet thats possible but complex for level designer
 
logic question:
if a building generates X amount every 120 seconds and walk to factory is 30seconds + 30 to get back to building.... now a user logs out and back in - the user needs to see the npc walking to and from the buildings in the right place on login like as if it continued when user logged out
 
it's not a component searching other components
 
any idea how i would do such a thing
 
@Gajet well i dont want my component to see other entities components
 
7:40 PM
my implementation has systems subscribing/publishing to components, components do nothing
 
not that much you just create a chest+trigger package, and game designer put that package wherever he likes
 
@thelinuxlich i dont want chest opening system either :)
 
a component can check if there is another entity around him right?
 
@Gajet well... probably not
 
@Dave it depends, on many things!
 
7:41 PM
i know i think i need help cos im bit out of my depth for this part @Gajet
 
@Kikaimaru do your structure is a pile of shit!
no offence!
at least unity let's you see there are other components around you!
 
you don't need an specific chest opening system, but an animation system which intercepts the opening component on chest entity
 
@thelinuxlich what? animation is not a problem
 
oh what the heck is double posted
 
@Gajet how?
 
7:44 PM
let's say you could ask it to tell you about all the objects around you
@Kikaimaru Collider []colliders = Physics.OverlapSphere(transform.position,radious);
 
@Gajet srry i have to go,, i ll be there later then we can continue .)
 
@Dave is your game interactive?
 
in what respect @gajet
 
and does your game resume after logout?
 
thats the plan im about that stage now
 
7:46 PM
I mean does it bother the player if the worker is not at it's place or it's only nice if it continues to move?
 
well the resources increment on time passed checks so if it takes 40 seconds itll increment 40 seconds a time even if the npc is not animated
so the animation is just eye candy
 
I'm back :) But I'll waste some time on deving, so if anything, jus mention me :D
 
what about esenthel?
:D
not that I really care
 
@GustavoGtoknu
 
but it's nice to have someone to help you debug when you're stuck somewhere with engine!
@Dave so let's say I would place it at some random location
 
7:50 PM
After the installer crashed i didnt try again to download it.
But i'll try again 1 min
 
yup
 
right, downloading :)
 
spawning it at the beginning of path is not that amusing but when you spawn it in random locations it seems like NPC is actually doing some work
 
yeh let me give an example
imgur.com/VjzU5 lets say the red building produces goods once an hour the walk time to purple is 30 seconds there and 30 seconds back... so if u log in at a random time.. lets say 1 hour : 35 seconds - then u shld see the npc walking back to RED at the correct tile
 
@GustavoGtoknu what do you think about this? lwjgl.org/wiki/…
 
7:53 PM
@Liukas Slick is a must :) and btw, if you're wishing to just make 2D games, go with Slick2D, it's a framework on top of LWJGL. should make things a looot easier for you.
 
go with XNA man
hahahahaha
 
you don't need to do any calculations, you might see it going toward the blue tile or the red tile
it doesn't really matter which one
 
@thelinuxlich I would say the same, but for some reason he wants to stick on Java lol
 
all it matters is npc being somewhere on the road
 
but it has to be in sync to the timing of when my resource is increased
 
7:54 PM
@GustavoGtoknu I will start play with 2D stuff, and then start developing 3D games :)
 
if the npc is walking to the purple and i already got the resource dropped it wont look like its in sync
or "live"
 
now if you have to sync it, you have to put it in exact place
 
yeh
that was the idea
 
@Liukas as @thelinuxlich said, for 2D stuff XNA is way better and easier, and more friendly and has much more features :)
 
you said it takes 30 each way so you are storing the data about where the player should appear and you can draw it exactly where it should!
 
7:56 PM
@thelinuxlich You use MonoGame, right?
 
well 10 tiles to move on takes 3 seconds to move over by the npc
so 30 seconds is total journey time
 
@Damir a bit
@Damir just for testing things related to Artemis at the moment
 
Do you have an idea how's its 3D support?
 
at the moment they have it implemented in the "develop3d" branch on github
but it's "low level" you have to write your own stuff
 
low level like XNA or low level like OpenGL/D3D?
 
7:59 PM
the latter
they use a tool to convert HLSL to GLSL
mojoshader
which apparently works very well
 
I actually prefer .cg shaders :P
 
There is one successful 3D game launched with Monogame
Infinite Flight for iOS, google it
 
available for iOS and WP7, let me take a look on the vids
 
ah, there is Armed! too
 
8:17 PM
good night everyone
 
good night :)
 
@Gajet Esenthel runs as a elephant walking on a string on my pc >.>
 
lol
@GustavoGtoknu it's enterprisey
 
heavy editor
particularly the world editor
 
8:40 PM
anyway, I'm out, cya guys :D
@CodeAssasssin you too, little tweak, good night :)
 
9:03 PM
@GustavoGtoknu I didn't know elephants can walk on the strings! ;)
 
9:49 PM
HI everyone
 
Hello
 

« first day (638 days earlier)      last day (4398 days later) »