[QUOTE=RyanDv3;33290431]I guess all the people who develop in java are just using it because they're dumb, then? Because obviously if they were smart, they'd upgrade to C, right?[/QUOTE]
Not dumb, just misguided :)
[QUOTE=esalaka;33289439]Java has a lot of annoying features, like everything being a pointer to an object.
I mean, gosh.[/QUOTE]
unlike Obj-C where you have to have [NSNumber fromInteger:5] because the language has really loose conventions about dealing with typing.
[cpp][mainly i:me dontLike:ObjectiveC because:@"Of the stupid method names"];[/cpp]
which apple/NXT decided it would be a fucking great idea to spread out over several none conjoined words to "read like a sentence". If I wanted to talk to my computer in symbols I'd use Haskell or Prolog... I don't want to be considering my grammar when I code...
Oh and if you're going to have a garbage collector DON'T make me [manually release]; all my fucking pointers...
(I know about autorelease but that's practically always breaks something).
Also some guy responded on that stack overflow thing
[QUOTE]Wanting to have one .exe rather than one .exe and 30 .dll's is a perfectly good reason - my customers shouldn't have to drag around 30+ file[/QUOTE]
... he expects his clients to be moving his application install directory around? :s
TODAY'S MOVING ENTITY UPDATE PROVIDED TO YOU BY THE MAGIC OF SCREENSHOTS
[img]http://dl.dropbox.com/u/6470891/NPCSOHSHITWTFMAGIC.png[/img]
Because I don't have any recording software :v:
The second "default" textured entity (the one at the top of the screen) is a basic NPC. It sets a waypoint of a random location fairly close to it, and tries to move there - resetting the waypoint if it hits something slolid. It's certainly not pathfinding of any sort, but it's definately a start. Also replaced the wierd staff sprite with a (still crappy) sane staff sprite, and added a pause menu. And the magic you shoot also now depends on the item rarity - so "Flaming" shoots fire, like it should.
Oh yea, and it fires magic like fuck at you.
That's a nice long black cock you have there.
[QUOTE=Jookia;33291123]That's a nice long black cock you have there.[/QUOTE]
Good god why must everything I sprite end up looking like a penis. I mean seriously fuck.
[QUOTE=Jcorp;33291188]I mean seriously fuck.[/QUOTE]... That sexy black penis
[QUOTE=Jcorp;33291188]Good god why must everything I sprite end up looking like a penis. I mean seriously fuck.[/QUOTE]
Some artists subconsciously display their cravings.
[QUOTE=Fatal-Error;33287453]Which do you prefer, objective C or Java?[/QUOTE]
At the moment objective-C, mainly because I've never used Java :) The only thing about objective-C is it just feels like it's trying to be different for the sake of it. Changing keywords is really not needed, especially since nearly everyone is taught a C based language in uni.
The syntax was one of these things that seemed like a good idea at the time but really doesn't read that nice (in my opinion). Going:
name: (type) paramName name: (type) paramName;
just feels wrong and it makes me have to read it a few times to figure out what's going on. I personally have to read it:
name name type paramName type paramName
So I need to manually translate it into C-like in my head. :p
It's probably because I'm fairly new to it, but if it were up to me I'd never use it again.
[editline]15th November 2011[/editline]
Java looks a lot like C# from what my lecturer showed me. I love C# :D
[QUOTE=RyanDv3;33290431]
I don't understand this mentality; the completely insane, stubborn, pointless idea there are ABSOLUTELY no good ways of using a certain tool for a certain job. Especially when that tool is a programming language, which means it has quite a bit of flexibility due it's very nature.
I guess all the people who develop in java are just using it because they're dumb, then? Because obviously if they were smart, they'd upgrade to C, right?[/QUOTE]
I have issues with java, however it is not the syntax, but rather the actual JVM. Instead their attempts to create an intelligent garbage collector that tries to figure out when the best time to collect garbage results in a developer not being able to write anything that should run in real time without a hitch and being able to guess when the GC will kick in. (Meanwhile, the .NET GC ALWAYS kicks in at 1MB allocated or deallocated.)
Additionally, the JIT will not work on compiled .class files greater than 64K in size, nor will it work on functions that are 8K in size. Now you're probably saying "Chandler, you moron, who the hell would write a function or module that huge?!" And you're sort of right, except that the java compiler will keep comments and function names unshortened in many cases, (hence all those tools to make it smaller), which means [i]the more long named functions you use in your functions, increase its size as 2 bytes per character[/i] because java MOST CERTAINLY does not use UTF-8 encoding for its internal values (i.e., wide-ass strings). There's also the startup time, which needs no introduction because it's still outside trying to find a parking spot big enough for its bloated heap semantics.
And, while we're being terrible cruel to java, let's not forget that the JVM was the reason that it is fairly easy to put viruses on Unix machines, through the browser. Let's put this in a better form of phrasing here.
[i]The JVM is responsible for making Linux and Mac OS X as insecure as windows 95[/i]
And now let's talk about syntax, (briefly). It's 2011, and java still does not have lambdas in the official release. I mean shit, C++ has had lambdas for a few years now (not implemented everywhere but you getTheIdeaFactory())
Sure it's coming with Java 8, but because Oracle owns Java, and is running it's patents to such a degree that 1990's Microsoft look like a harmless teddy bear. Because the license the language is released under is no longer compatible with the open source implementations. Which is terrible.
So no, the people who develop java develop java because that's what they were taught in school, and that's all they know (and because in the United States the AP Comp Sci classes teach only java because the College board is full of a bunch of idiots who took a few generous donations from Sun back in the early 2000's). OR, they couldn't find a job that didn't involve them upkeeping some horrible to start, slow as hell piece of crap. OR they are writing mods for minecraft.
If they were smart they'd stop being frustrated with a boilerplatey language whose sole purpose seems to be the creation and propagation of XML without proper schemas and write in anything that isn't java (but maybe runs on the JVM, such as Scala, Groovy, JRuby, Mirah, Jython, etc.).
[i]but that's just my opinion, duder[/i]
To pour fuel on the fire, Oracle now prevents Linux distros from shipping their implementation, and cites OpenJDK as the official implementation. Do they even care about Java?
[QUOTE=VGS_Devs;33291026]
Also some guy responded on that stack overflow thing
... he expects his clients to be moving his application install directory around? :s[/QUOTE]
What if he's writing a portable application, or a utility which the user just wanted to put in his system32 directory and forget about? I think it's a valid point
[QUOTE=Jookia;33291376]To pour fuel on the fire, Oracle now prevents Linux distros from shipping their implementation, and cites OpenJDK as the official implementation. Do they even care about Java?[/QUOTE]
I'm guessing they're happy enough with the embedded java use.
I've had this Windows install going for about 3 months now and I've only been reminded to install Java once, upon doing so I decided to find an alternative which didn't need the JVM installed anyway
I suspect I won't be the only person who is like this either
[QUOTE=Chandler;33291323]And, while we're being terrible cruel to java, let's not forget that the JVM was the reason that it is fairly easy to put viruses on Unix machines, through the browser. Let's put this in a better form of phrasing here.[/QUOTE]
It's just one way of doing so. The virus in question would still have to exploit user stupidity or other attack vectors to actualyl do anything of significance that doesn't involve merely tampering with or removing any files the user owns.
My two cents on the whole Java vs [i]everything else[/i] issue:
[i][b]Who cares!?[/b][/i]
I personally use Java. I started self-teaching the language after years of wanting to get into programming and have never had an issue with it. I agree that the implementation of Java through the JVM is both its best feature and its most crippling, but I am harshly disinclined to [i]ever[/i] call a language bad for one or two failures.
In the time between beginning and now (where I'm writing games for both coursework and personal projects in Java and in some cases Java + LWJGL), I've programmed in C++, a little C#, Python and picked up my old roots in Lua again in a small way. I find [i]none[/i] to be better than another and the only reason I favour Java is because I've been using it for longer.
I really don't see the point in slandering any language for any of its failures; the mere fact that it's widespread enough to see regularly discussed in a meaningful manner means that somewhere, someone decided it was useful and its expansion sped up into a product that thousands of people make use of. Java, just like other languages, has faults and is improving constantly under constant change and adaptation. Its widespread use [i]automatically[/i] means that it cannot be bad enough for everyone to hate it.
But like I said, this is just my two cents and I will say no more on the matter. It's a void discussion with no direction, purpose, end result or indeed ending at all.
God I love lua.
For my current GWT / PlayN project I pretty much need to use Java, as I have for my minecraft plugins, I find I need to use a language I am not paticularly fond of a lot more now in game related programming.
woah
i implemented q3's fast inverse sqrt and all of a sudden my cloth simulation runs at a steady 60 FPS on my ipod touch [b]2g[/b] :eng101:
nothing changed for the iphone4 ... not really surprised, it probably has a hardware sqrt operation
If Sun still owned Java, I would stop switching to other languages every now and then. Java would have progressed much further, IMHO.
---
Does the iPhone4 still run at 20fps? That's odd.
(obligatory all iphones/ipods are just about the same comment)
[QUOTE=Map in a box;33291953]
Does the iPhone4 still run at 20fps? That's odd.
(obligatory all iphones/ipods are just about the same comment)[/QUOTE]
nono, i meant that the iphone4 ran at 60FPS even with std::sqrt instead of the fast inverse sqrt (whereas my ipod touch 2g ran at 1-2 FPS)
after i implemented the fast inverse sqrt, both the iphone4 and my ipod touch 2g run at 60 FPS
[QUOTE=icantread49;33291984]nono, i meant that the iphone4 ran at 60FPS even with std::sqrt instead of the fast inverse sqrt (whereas my ipod touch 2g ran at 1-2 FPS)
after i implemented the fast inverse sqrt, both the iphone4 and my ipod touch 2g run at 60 FPS[/QUOTE]
Did you cap the FPS?
[QUOTE=Map in a box;33292020]Did you cap the FPS?[/QUOTE]
no, honestly i don't know where the cap is coming from. i think it's something in Marmalade
Currently working on my games dev AI assignment. Have to implement 3 different pathfinding algorithms (Best-first, A* and Dijkstra's). So far i've created a container for the map that uses an STL vector but allows access as if it were a 2D array. In order to get a pointer to a node, you would do
[code]tempNode = mapContainer->GetNode(0, 0);[/code]
The map container also allows you to get pointers to adjacent nodes (north, south, east or west) in the following way -
[code]northNode = mapContainer->GetAdjacentNode(tempNode, NORTH);[/code]
In order to do the actual pathfinding, i've created a base algorithm class which is implemented by each specific algorithm. Each algorithm is either able to output the final path as a list of co-ordinates, or a map showing the algorithm's process at a specific stage of iteration. I'll post a video when I polish it up and make a GUI.
just my $0.02, if you're gonna work with nodes instead of a grid, get rid of those compass directions and just return a list of adjacent nodes with their associated edge cost
if you're gonna work with a grid, then work with a grid and ditch the concept of nodes, it's pointless overcomplication
Managed to implement rebind-able keys.
[img]http://i.imgur.com/5Xy0X.png[/img]
you might want to work on those default controls a little.
[QUOTE=blkducky_v2;33292853]you might want to work on those default controls a little.[/QUOTE]And a default controls button would be nice as well.
Currently in between course problems, working on a Game using PlayN and GWT, so far I have this:
[url]http://gwttestkitty.appspot.com/[/url]
This is using no flash, and I have a exe build and an android build
[QUOTE=icantread49;33291632]woah
i implemented q3's fast inverse sqrt and all of a sudden my cloth simulation runs at a steady 60 FPS on my ipod touch [B]2g[/B] :eng101:
nothing changed for the iphone4 ... not really surprised, it probably has a hardware sqrt operation[/QUOTE]
On a similar note of common maths function speed ups.
I was recently working with sine a lot and needed something a bit faster, it turns out you can approximate sine with a parabola which is like literally the best quality:speed ratio out there. Google it, the post on it is really cool.
Particles! Slightly worried what the fps slowdown is going to be like on a windows phone.
[media]http://www.youtube.com/watch?v=LM37ww5SxwQ&feature=youtu.be[/media]
[QUOTE=nekosune;33293031]Currently in between course problems, working on a Game using PlayN and GWT, so far I have this:
[url]http://gwttestkitty.appspot.com/[/url]
This is using no flash, and I have a exe build and an android build[/QUOTE]
Added to this now 4 platforms, soon will have a nice mini game.
Sorry, you need to Log In to post a reply to this thread.