[QUOTE=Moustach3;28853038]You're entirely wrong. It redirects to a fake server that outputs the correct authentication method every time.[/QUOTE]
Yeah, I realised that later but must have forgotten to update the post. All I remembered seeing at the time was the line in the HOSTS file and just assumed that that was what he had done.
So I spent all morning trying to figure out why my 3D sprite batch was running slow. Turns out I was calling begin and end for each sprite by mistake.
Each sprite is doing a trace against the map, the drawing itself wont bring the FPS down that much.
[img]http://dl.dropbox.com/u/99765/634672.png[/img]
So guys, do you think Java is a bad language for beginners, or what? I'm trying to learn it atm and yeah, I want your oppinion.
It'll do.
[QUOTE=Staneh;28855416]So guys, do you think Java is a bad language for beginners, or what? I'm trying to learn it atm and yeah, I want your oppinion.[/QUOTE]
C# is better to be honest.
But I think C# is rather complicated. I only want to create simple 2d games, when i'm good in that, I will maybe go over to C#. I'll think about it.
Why should you always start with the "easiest language"? So should I learn Swedish before I learn Norwegian because I think it would be easier? Damn, just learn the language you want to program in? :P
I want to learn some easy basics before I go into the hard stuff.
[QUOTE=likesoursugar;28855707]Why should you always start with the "easiest language"? So should I learn Swedish before I learn Norwegian because I think it would be easier? Damn, just learn the language you want to program in? :P[/QUOTE]
It may sound funny, but I've started programming with QBasic, then I moved on to VB.Net, then to C# ...
Helped me a lot to understand the basics of programming.
[QUOTE=Staneh;28855681]But I think C# is rather complicated. I only want to create simple 2d games, when i'm good in that, I will maybe go over to C#. I'll think about it.[/QUOTE]
What are you talking about? C# has almost the same syntax as Java but it's more powerful. You should look up XNA, it's a really easy game engine for C#.
[QUOTE=Atokniro;28854282]Moustach3 is geel9 btw[/QUOTE]
Called it.
Edit: I suspected, at least. :v:
If you want to make simple 2D games, then what's wrong with trying Game Maker? I went from QBASIC to RPG Maker 2000 to Game Maker to PHP to C#, with other languages in between... and now I'm back at Game Maker (using code only), because I wanted to get a damn game made without having to deal with coding a game loop and collision detection and whatnot. That stuff is fun to make, too, but after doing it for a few months it's really great to just sit down and prototype a functioning game quickly.
Which reminds me, progress on [url=http://www.facepunch.com/threads/1062318-What-are-you-working-on-v16?p=28767068&highlight=#post28767068]my game[/url] has been pretty slow, and the stuff I've been working on can't be represented in screenshot form; I've been working on tightening up gameplay, tweaking stuff here and there, creating and adding Atari 2600-sounding sound effects, and... working on the music. I know that this is the programming forum, and all y'all're probably not as interested in this sort of stuff, but it's been a ton of fun working on the audio portion of a game for a change, when I have practically zero experience making music and sound effects. In particular, I turned [url=http://soundcloud.com/wtfgroup/inspiration]this song that my friend made awhile ago[/url] into [url=http://soundcloud.com/wtfgroup/inspiration-interior-remix]this pretty cool C64esque remix[/url].
So yeah, I'll be quiet now until I have more screenshots or videos to post.
Actually, fuck it, here's a semi-spoilery screenshot just for the hell of it:
[img]http://i.imgur.com/Hs1FN.png[/img]
(enlarged to 4x native resolution)
Well I prefer to make it in a language that is pretty much common to everyone. I'd rather not change too much.
[QUOTE=gparent;28849570]Are you making that mistake on purpose? Just curious, because jA_cOp already corrected you on it.[/QUOTE]
I really should stop posting after midnight, everything I write starts to degrade into nonsense when I'm tired. I graduated two days ago and still haven't caught up on sleep.
On the topic of Java vs. C#:
It's really difficult to find good comparisons.
[url=http://www.javacamp.org/javavscsharp/]This code comparison[/url] seems to be less biased than usual overall, though the unsafe keyword becomes [quote]Using pointer in C# is not safe.[/quote]
(It's a bit outdated, so there's no LINQ or lambda syntax, I think.)
I used Java at school and for work and I usually use C# for my own projects. Personally, I prefer C# because of certain syntax features like properties and implicit enumerators and because it let's me do everything I want without too much hassle.
The most tedious part of learning a new language are usually the libraries. I can read and write basic Java, C++ and C# about the same speed, but once I have to use a library I'm much faster in C# because I've memorized the most important CLR classes by now.
Another point are the compile and startup times, wich are usually lower in C#.
Java is a fine language to begin programming with but if the choice is actually up to you between C# and java go with C#
[QUOTE=takua;28856372]<stuff>[/QUOTE]
Not bashing gamemaker, but I just noticed how people using gamemaker seem to always say they're "prototyping" their game. Seems to me they're not really, they're just saying that to try and make up for the fact they're using gamemaker and not a "real" language.
Again not bashing gamemaker or anything, just an observation.
[QUOTE=Staneh;28856409]Well I prefer to make it in a language that is pretty much common to everyone. I'd rather not change too much.[/QUOTE]
For games that's C++, but that's a lot more complicated than C#. Java is [url=http://stackoverflow.com/questions/1034458/why-arent-video-games-written-in-java]nearly unusable because it has that many performance issues[/url], just look at Minecraft.
Newer versions of Android may be a slight exception, but that's not exactly a normal Java runtime.
The C# garbage collector has been optimized for games with the release of XNA, so there are a lot less problems.
Game Maker got me into programming, GML is actually quite similar to the "C" languages (C, C++, C#, etc). However, it DID leave me with a hatred for radians, I use degrees for practically everything :v:
[QUOTE=Tamschi;28856792]––just look at Minecraft.[/QUOTE]
Minecraft is poorly written, your argument is invalid.
[B]Edit:[/B] In addition that answer didn't even mention Java has significant performance problems, just that the GC can take long to run every once in a while.
For some games that's not too much.
[QUOTE=Tamschi;28856792]For games that's C++, but that's a lot more complicated than C#. Java is [url=http://stackoverflow.com/questions/1034458/why-arent-video-games-written-in-java]nearly unusable because it has that many performance issues[/url], just look at Minecraft.[/QUOTE]
That's because Minecraft has shitty code, it's not Java's fault :downs:
e:f;b
Observation of the day #2: Minecraft being brought up invariably as an example of how Java is good/bad
[media]http://www.youtube.com/watch?v=exkI6-9jfhM[/media]
Final first year games development assignment. Enjoy :)
Jimbo that heatmap thing looks really cool. Are you gonna release it?
Well i'll probably continue learning Java.
[QUOTE=AaRoNg11;28857102][media]http://www.youtube.com/watch?v=exkI6-9jfhM[/media]
Final first year games development assignment. Enjoy :)[/QUOTE]
Is that at a HE course?
[QUOTE=Sc00by22;28857395]Is that at a HE course?[/QUOTE]
Yes, studying 3 year games development degree @ UCLAN.
[QUOTE=esalaka;28856883]Minecraft is poorly written, your argument is invalid.
[B]Edit:[/B] In addition that answer didn't even mention Java has significant performance problems, just that the GC can take long to run every once in a while.
For some games that's not too much.[/QUOTE]
The second answer. And Minecraft would run a lot better with structs pulled from a densely packed array on demand, even if you'd leave all other code unchanged where possible. Try that with Java and tell me how fast it is.
[QUOTE=Staneh;28857329]Well i'll probably continue learning Java.[/QUOTE]
Wait, wait, wait. I honestly don't care what you decide to learn, but you asked everyone's opinion and almost all of them told you to use C#, yet you're still going to use Java? That doesn't make sense in my head, why'd you bother asking if even a landslide majority told you that learned C# would be better, and you still chose against it.
Again, don't really care what your end choice is, just kind of annoyed that you'd ask and not really take the collective advice. :\
[QUOTE=Tamschi;28857553]The second answer. And Minecraft would run a lot better with structs pulled from a densely packed array on demand, even if you'd leave all other code unchanged where possible. Try that with Java and tell me how fast it is.[/QUOTE]
I do not know how to do such a thing with Java.
And this conversation wasn't about how you could make Minecraft run better, it was about languages games are programmed in as far as I can recall.
[QUOTE=NorthernGate;28857644]Wait, wait, wait. I honestly don't care what you decide to learn, but you asked everyone's opinion and almost all of them told you to use C#, yet you're still going to use Java? That doesn't make sense in my head, why'd you bother asking if even a landslide majority told you that learned C# would be better, and you still chose against it.
Again, don't really care what your end choice is, just kind of annoyed that you'd ask and not really take the collective advice. :\[/QUOTE]
He probably took all advice on board as well as doing his own research. Quit hasslin', yo.
Anyway, content!
[img]http://i.imgur.com/t0DQj.jpg[/img]
I'm loading a fuckhuge background image and scrolling across it with my little plane image. When it reaches the black area it teleports to the other side. XY wrapping I think it's called? Anyway, the reason it's in the top-left is because my code is herping its derp and if I start it in the centre then it gets too far into the black before it teleports. Question: how do I get the background to tile indefinitely? Also, it takes forever to load since the image is massive. Any way to fix that?
But my foray into programming is going pretty :unsmith: so far.
Sorry, you need to Log In to post a reply to this thread.