Added: 3 years ago
From: EdurarTe
Views: 23,527
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (98)

Sign In or Sign Up now to post a comment!
  • where i can download java

  • I get all of this except how did you get the character to rotate with the mouse? I know how to get the mouse position and everything but how did you get the image itself to rotate

  • Running sprite needs to be faster and smoother, im not a pro but it will look better

  • How did you do tht?

  • Yeah how did you get the sprite to look at the mouse?

  • Hey, any chance you let me know how you managed to get the sprite to keep looking at the mouse all of the time? I'm really stuck with that....Please?

  • code??:D

  • Hi.

    could you give me some tips in how I can make my character move legs..

    coz my character just move to left and right , but dosent have any animation.

    where do I start to do it ? pls.

    tnks.

  • @ColumboJedi yes you just need to load a .gif image, thats the easiest way java plays it by default, the other way is animating a spritesheet but thats a little bit more complicated but more customizable,

  • @EdurarTe so let me get this straight. The body has 2 parts. The top part is the body/arms/head that is programmed to face the mouse. The other part is a an animated GIF that switches when a different key is pressed?

    I'm just getting into game development, and I'm trying to figure a few things out.

  • @who885 well i just finished a new advanced engine and i had to say that knowing java reeaally boosts your Object Oriented Programming ideas, and lets you get out of the boundaries easily because its simple syntax and interface with other classes, easy inheritance and polymorphism, then you just port those ideas to c++ more complicated terms cause Java wraps up every difficult topics (pointers, smart pointers, void stuff..) and lets you easy and fast programming so learn Java then C++ :)

  • NEEDS DOUBLE BUFFERING BAD.

  • @superkellerman8D What are you talking about? It's already there you twit.

  • @VoltageEntertainment Hey, no need to get offensive. I'm sure the flickering is from the video. Though, I may have came on a little strong when I said that. You seem to have put a lot of work into this game, and I hope that the end result will do great. So far and from what I can see it looks very good.

  • yes, we get it... His head follows the mouse.

  • I love the animations, specially when he jumps, really good job!

  • You should make tutorials on this.

  • can't you make a slower title?

  • Comment removed

  • pick p the weapon!!! :D

  • That's now how you make proper mouse looking in a platform game! it requires trig to get the angle :P

  • i love the part when the chief hold the weapon

  • wow. I'm very impressed at the sprite and animation.

    that's pretty badass looking.

  • @boatyboatride Wrong. Runescape was and is still coded in Java. RuneScript is the scripting language the quest/level designers use to develop and release updates quickly.

  • awosme game

    

  • How do you get the image to look at the mouse?

  • its master chief

  • epale man, mira como haces para esconder el fondo de los sprites? ya que, en el fondo de mi juego hay partes que no estan en color blanco y cuando lo sprites se paran en ellas, se ve el fondo , sabes hacerlo?

  • "well, java is free, and it´s easier to programm than flash, but flash loads faster nad you know, everybody has flash installed, but as i told you, java is easier and has almost the same syntax as C#, C++, VC++, and all the new Object Oriented languages"

    C++ isn't new, and VC++ is just the Microsoft compiler for C++, also I'd like to point out that when C# was made, they basically copied Java.

    And as for flash I wouldn't know whether or not flash loads faster, I just know it's much slower.

  • hi man i love to create something like taht could you make a tuto or pass me the code im from dr i`ll to help in your project

  • Bello questo!

  • what programme is this

  • why isnt the gun transparent?

  • lol, moonwalk

  • Could you show me source? Im wondering how you did that gun is rotating.

  • @Qnradr

    BufferedImage jon = ImageIO.read(newFile("source")­);

    Graphics2D g = (Graphics2D) jon.getGraphics(); g.rotate(double theta,int x,int y);

  • loved your use of animation and manipulation of the 'top-half' of the body to follow the mouses movement, just some maths that im not good at =( lol. bloody trig

  • Would i need an IDE with templates for Java programming? Or is notepad++ enough? It got Java syntax.

  • IDE, cause it links the compiler, so use JCreator, the LE version not the PRO... otherwise, u´ll need to directly work with the console compiler, wich is boring..

  • Ok, thanks :) Also saw another video using Jcreator, you would recommend that one?

  • @EdurarTe Eclipse is better.

  • @EdurarTe I use netbeans...

    It's pretty good.

  • @EdurarTe hey sorry to herrasing with questions you mostlikly get everyday but i would like to learn some coding for a hobby now but later on i plan to go in to it head on to simplfy my question why should i learn java whats i haveto offer me?

  • @who885 Java is a very good language. It is easy, and it makes sense for the most part. However, due to it being a high-level interpreted language, some things you will encounter are a bureaucracy, and it unless you use some kind of native interface, java alone will not be as fast as a native language like C or C++. (Native languages compile into direct machine code, so there is no interpretation of the code required.) But java compiles into a bytecode, which is about 90% as fast as native code.

  • @superkellerman8D what would i have to do for it not to compile into a byte code if i cant what do i need to support it? and i have never codedc ever i have been playing around with C#/XNA,C# alone,c++ and java so see what i like best but i need some guidence to tell me what i should head into first

  • @who885 Your first question isn't really clear, but I would recommend Java first, as C++ has a very, very steep learning curve. C# and XNA is somewhat like Java, but it only works on windows. It would be easier to get something going, but in the long run, you wouldn't have much control.

  • @superkellerman8D well java compiles in to direct machine code but C++ seems to have me interested

    i have been studying on it and i just understand it alot more then java all the files i have to type up in java kinda scare me XD but you have to type alot in anything but as of now im learning C++ later on planing to learn openGL or darkGBK but i will look at java alittle more if i like it i would start asking questions

  • @who885 .java files do NOT compile into assembly, they compile into Java bytecode which the VM then runs.

  • @EdurarTe I use eclipse, because it underlines and describes errors actively, you don't have to compile all the time to check for errors.

  • just need notepad in java get an IDE if you want to see if your typing stuff wrong.

  • try eclipse IDE

  • @lakristianla You can use Eclipse or Netbeans too.

  • @lakristianla An IDE would be preferred, for reasons stated, but you don't _need_ one. you just need the java development kit.

  • Uhm... Pretty nice dude, and something cooler is that you can drop weapons!!!

    Niiiiiiiiiice... but I still like Psychostrain :P

    Some friends and I made a kind of Zelda Game, using tiles as well. Maybe i'll upload a video about it someday.... someday....

    Hey meryeah!!! how u doing? lol

  • watch the video :| !! PsychoStrain V1.0 we also used masterchief sprites. ha.

  • we also made a game in Java for a school project, PsychoStrain.

  • running cylce is backwards! is messed up look like it going backwards!

  • the assault rifle looks like so big as a rocket launcher

  • Ok, but all in all, do you know any ''game programming books'' with C++? because though my goal is to write in C++, but i don't get much out of it if i don't have any books to help. Like ''Visual basic game programming for teens'' or ''flash game programming for dummies'' etc.

  • If you want to learn C++ buy "Sams Teach Yourself C++ in 21 Days" I bought this book before I went to college then when I was in college it was the book we used in my first programming class. I would highly recommend it if you wish to get a beginners C++ book. I still reference it if I am stuck or forget some syntax.

  • Thanks :P, i will look about this, but i am also begun code alot in Visual Basic, (Check my silly videos XD), then i want to know if any here know some books or tutorials to makeing a Game engine in Visual Basic

  • And can i ask how i get the Java language? i don't know what to type like ''download java language'' or something? then 1000things pup up i dont know which one :(

  • The Java Language?

    Im going to asume you mean the java sdk.

    SDK = Software Development Kit.

    Do a search of java sdk, then watch some tutorial videos on how to install and use it.

  • Awesome thanks Bober :P, can i ask if what is best of ''Flash'' and ''Java?'', i just got Flash cs3, and begin in making some little games, but i don't kmnow which is best? for a game like the one in this video.

  • well, java is free, and it´s easier to programm than flash, but flash loads faster nad you know, everybody has flash installed, but as i told you, java is easier and has almost the same syntax as C#, C++, VC++, and all the new Object Oriented languages

  • This is by java right? im learning to make 2D games, but C++ and VB is too ''hard'' for me right now, so im looking for a easyer is java easy to learn? When i hear 'java' i think of runescape that i DONT like :b, but is it worth to try Java?

  • Runescape is progged in java ?

  • I think it is DATAFRAMEC, or i thought :P, i played it when some years ago, then i needed java so i think.. :)

  • Oh, well, i like your java apps :P

    Which IDE do you use? Looks a bit like NetBeans, i een have problems to include pictures in my applets xD

  • yup it is, its kinda the biggest game ever created in java, (because is a MMORPG 3d applet)-very very complex

  • @EdurarTe Actually, Runescape is programmed is something called 'Runescript'. It was a language made by the programmers. However, it's pretty much an extension of java (at least to my understanding).

  • @EdurarTe i know im late to say that xD but minecraft is made in java too and a pretty big game with the halloween update and the hell update! im not a hator im just saying

  • you could make something just as good on like game maker or something

  • Yeah, but Game Maker has almost all of the work done for you. Java takes quite a bit of configuration and programming.

    Also, nice engine! Hope you can make a nice game with it! ;D

  • But Javascript is much more useful as it is used in almost everything eg Software development, Movile Phones ect not just video games

  • @JoeKinglake Java is more used than JavaScript, I remind you that J2ME or J2SE for Embedded Use is in almost all mobile phones except IPhones and Android smartphones (that use Java but with a Dalvik Virtual Machine, not a JVM). Java is not used only in video games, it is used in professional applications in a lot of subjects (sciences, trading, etc...).

  • @JoeKinglake I am tired of people trying to compare java with javascript, the only thing they have in common is 4 letters in their name, NOTHING else

  • the satisfaction of making things with a REAL programming language by far superseed gamemaker :) it's like comparing TV dinner to a gourmet meal :)

  • I notice from the video it's programmed in Java.

    Is the code open source, I'm very intrigued.

    Please contact me.

    Thanks. :)

  • Nice! check my videos, I have some games and you can download them from my website

  • you write games with java

  • why not?

  • no mams wey k perro,

    al parecer tu vas a cer programador de grande

    yo quiero ser arquitecto jeje luego diseño un edificio, lo grabo, lo subo y ya estamos a mano va? sale we cuidate y sigue programando..

    proxima vez quiero un juego como GTA 4 :S!!

  • @hernanor1993 Poisonville is written in Java and it is a GTA-like game in 3D.

  • @gouessej yeah but totally not ready XD

    I like the engine it used (jmonkeyengine) very much =)

  • aii vida sta spr bonito..quiero aprender a programar <3

  • how you make it so you look with the mouse?

  • Excellent start. The character is green and lively. The guy is moving to quick for his walking speed, if you watch his legs they only move a little yet he seems to move a considerable distance. Either make his legs move faster or reduce the distance he covers to achieve a balance. Looks promising though, I'd like to see this game when it is finished. Keep 'em coming :)

  • thanks for the tip, i´ve just started animating sprites so im a n00b at it :( thanks for the comment ill try to reanimate the walk/run cycles

  • But it's great i really love it, don't give up you've got a really nice product!! It's one of my favourite! I hope you keep going :))

  • can u shoot the gun

  • that looks nice, are you gonna put blood particle system thing or what??? I don't know why that is important but it would be cool

  • como sabes esto del helicoptero globo?

    simpre pienso k tngo k gravarlo pero me olvido o me da palo...

  • jaja muy bueno!

    mejor que el anterior

    usaste Seno, Coseno y Tanjente(Sin, Cos, Tan)???

  • Nice! I like how the chiefs body follows the mouse

  • Looks nice no no it looks aweseome!Please make tutorial how to make game like this!

  • Nice

  • how did you make the guy follow the cursor

  • And probably had something like public boolean mouseMove(Event evt, int x, int y) { this.x = x; this.y = y; } and used the rotate() method in java.awt.Graphics2D to rotate his image.

    I like the simple mapping. Made your own little tiling system? Is it an array that stores whether to show a tile or not? I personally have a tiling method where I say where it starts, say the width and height, it rounds it to the nearest width and height the tiling can be and fills it up.

  • Hehe, forgot return true, smooth. :P

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more