My 2D Sandbox game( Java and LibGDX )

  Рет қаралды 143,409

Hexa

Hexa

Күн бұрын

Пікірлер: 141
@emmetcasey6405
@emmetcasey6405 7 жыл бұрын
This looks very immersive especially the magic how it lights up Well done keep up the good work
@rojodo7176
@rojodo7176 9 жыл бұрын
watched all of your videos and they have always amazed me. keep uploadin; this game is too good to not watch. big fan of the work youve put into this and i respect the graphics and concepts of this game. now; one question: terraria and starbound both have their differences from each other. Now what will your difference be from those two?
@Edvinas01
@Edvinas01 9 жыл бұрын
Really nice work on the game so far! I wanted to ask a few questions. I'm working on a similar tile based game (using box2d for physics and Tiled to render the tiles) and I'm curious how did you deal with tile ghost vertices (objects getting stuck between tile gaps) or are you generating a huge mesh for the whole world? Also what data structure are you using to store the tiles (I'm wondering how to efficiently render huge worlds like in Terraria)?
@hexa3688
@hexa3688 9 жыл бұрын
You should create your own tiled map system (this is not really hard to do), and, more important, your own physics code (even easier to do when you don't have to deal with rotations, just with simple boxes). Box2D is not a good idea if you're not using "realistic" physics in your game, like Angry Birds do for example. My map is a big 2D byte array, so I haven't to work with chunks, I can load all the map directly without taking too much RAM.
@Edvinas01
@Edvinas01 9 жыл бұрын
I am currently working on my own tiled system, but totally skipped the idea of using simple byte arrays. I'll definitely try that next! As for the physics I kinda have to use Box2D due to the fact that I want accurate and fast physics to be a core part of my game, the only problem so far was ghost vertices between tile connections (also not experienced in writing a physics engine). Though, I'm still curious do you store each tile as a separate physics object (every tile has a rectangle collision mesh). Or do you join groups of tiles into bigger collision meshes. Thanks for the reply!
@hexa3688
@hexa3688 9 жыл бұрын
I just test collisions by looking at ≈30 points of the bounding box around the player (with an "hitbox" class made especially for it), and i look what kind of tile is at the position of each points. So i still only need my big array of bytes, no heavy collision meshes etc.
@disen135
@disen135 7 жыл бұрын
hello, looks really great!! how you did that 'fog of war' shading effect ?
@TRiToNDREyJA
@TRiToNDREyJA 9 жыл бұрын
i was wondering how to generate structures efficiently in my game, would it be possible for you too just give a slight pseudocode walthrough on a base structure generation or something? Just having a hard time wrapping my head around a good system for this.
@Dizzy-xc7ev
@Dizzy-xc7ev 9 жыл бұрын
Hello Hexa. How long did it take you to get to this level of programming skill? Would you say this was hard to do? I recently picked up Java programming after programming in PHP for 2 years, and could use some motivation--seeing this was great motivation. Could you explain the steps you've taken to get to this level?
@Xpost2000
@Xpost2000 8 жыл бұрын
+Dublin'sRoses'75 I may not be who your looking for but chill... It's really not as bad as it seems, sure the code might look scary to read but really it's not that bad and tough, when you program I don't think it's about skill really, and it's not about how much you know it's about how you think of ways to do something with what you know. Plus you know PHP? Well that's helpful infact you probably got java already at this point.
@synthesisgames
@synthesisgames 9 жыл бұрын
Very impressive!! I can see a lot of work has gone into this. Would you be willing to share source or maybe an example of the procedural/destructible terrain code? I've been researching this myself and you pull it off flawlessly. Maybe could you tell me how you go about it in your game? It's very smooth.
@hexabeast2098
@hexabeast2098 9 жыл бұрын
Sorry, I don't want to share the source for some reasons, but if you want some help contact me on skype (hexabeast) or mail me (adress in the description of the video)
@Artyomann
@Artyomann Жыл бұрын
It's made with tilemaps. Wait, 8 years ago?
@Mrwiseguy101690
@Mrwiseguy101690 7 жыл бұрын
I have 3 years Java experience but I know very very little about LibGDX. Is there anything I should know before diving into it? Any tips?
@kyper7552
@kyper7552 6 жыл бұрын
Dive in :) i just started myself about a year ago and its been great fun. One piece of advice is to make always program with garbage collection in mind. So if you plan on having a game that generates loads of objects make sure that those objects are in an Object Pool so that the garbage collector doesnt slow down your games.
@Dodotheuser
@Dodotheuser 9 жыл бұрын
hello , how did you do the generated part , that sounds really hard...
@hexa3688
@hexa3688 9 жыл бұрын
Dorin Doryn Perlin Noise
@ochigalland6456
@ochigalland6456 9 жыл бұрын
This game is amazing, really. I was just wondering if java + libgdx was a good choice for my game(i have something like this in mind), but now that i've seen this I'm sure it'll do the work Thanks!
@hexa3688
@hexa3688 9 жыл бұрын
Yes, libgdx is really nice :)
@oiLynXTaZeQo
@oiLynXTaZeQo 7 жыл бұрын
Ochi Galland I've just bought a lesson for libgdx on udemy. Hopefully really good :)
@AgentM124
@AgentM124 8 жыл бұрын
"Game: Terraria" I hope you don't get copyright issues for that, although it is just something alike.
@yiz9374
@yiz9374 7 жыл бұрын
btw u should make the pickaxe swing animation wider? like not just a slight up and down but a big swing
@TRiToNDREyJA
@TRiToNDREyJA 10 жыл бұрын
This is looking awesome! How long ago did you start this? You made the smart choice in using libraries ahaha on my project jm too deep in to rewrite the foundation using libraries.
@hexa3688
@hexa3688 10 жыл бұрын
I'm on it since 6 months I think. I already watched a video of your project, it doesn't look bad too :)
@marcinkolek252
@marcinkolek252 10 жыл бұрын
Awesome, I like the magic wands and lights most.
@hexabeast2098
@hexabeast2098 10 жыл бұрын
Thanks
@yiz9374
@yiz9374 7 жыл бұрын
i have a feeling this is what terraria other world is going to look like but higher quality (not saying urs isnt good its amazing)
@quincysoeliman728
@quincysoeliman728 7 жыл бұрын
Holy crap, this looks great!
@rj-nj3uk
@rj-nj3uk 7 жыл бұрын
Was this game created by Yorai Omer and Chris Bednarz or it is a fan made type.
@hexa3688
@hexa3688 7 жыл бұрын
red cat fan made lol, I did it
@rj-nj3uk
@rj-nj3uk 7 жыл бұрын
Nice Game. Much better than minecraft. How much time it took you to make it
@JuniorjmsPE
@JuniorjmsPE 6 жыл бұрын
So nice. It looks better than others I have seen.
@Maetschll
@Maetschll 2 жыл бұрын
Amazing project !
@KlausPfeiffer
@KlausPfeiffer 9 жыл бұрын
Good work! I loved playing Terraria. What will be the difference to Terraria and Starbound in your game? What's your killer feature? ;-)
@Sketchosaure
@Sketchosaure 10 жыл бұрын
Oh yeah ! Awesome work !
@hexa3688
@hexa3688 10 жыл бұрын
Thanks :)
@alexanderandrukov9903
@alexanderandrukov9903 8 жыл бұрын
U are use box2d for phiscs?
@ToJak91
@ToJak91 9 жыл бұрын
How much time does it take to make something like this? I really want to make a game.. But i hate true game engines.. :/ How fast is it to pick up something like LibGDX for Java?
@hexa3688
@hexa3688 9 жыл бұрын
I began to use LibGDX only a few months before uploading this video of the game.
@Cooltrain
@Cooltrain 9 жыл бұрын
+Hexa beast How much java did you know before starting to use it. Ive been learning java for about 3 months and am looking into getting into this.
@hexa3688
@hexa3688 9 жыл бұрын
It's not really possible to say "you need to learn x months to be ready", because if what you call "learning" is 4 hours of intense programming a day, it's not the same thing as if you just learn by "reading things about Java a few minutes every sunday when you're not too tired". And even knowing the way you are learning, some people are a lot faster for understanding how things work than others.
@CarlosBernardo3600
@CarlosBernardo3600 7 жыл бұрын
How did the exchange of arms? Did you join several animations?
@citizengoose1342
@citizengoose1342 4 жыл бұрын
Very impressive. Is this still a thing?
@yohannlogFR
@yohannlogFR 9 жыл бұрын
I have a problem with the loading bar that does not go all the way when i start your .jar
@yohannlogFR
@yohannlogFR 9 жыл бұрын
It's a problem with what? Java? Computer ?
@adelaide7822
@adelaide7822 7 жыл бұрын
Tip: use the useless magic things as weapons against enemies and bosses, they are kind off cool, you know!
@julesklakosz6500
@julesklakosz6500 9 жыл бұрын
How had you generated the random map?
@hexa3688
@hexa3688 9 жыл бұрын
Using Perlin Noise.
@Andrew11415
@Andrew11415 7 жыл бұрын
Nice work, dude!
@Hwioo
@Hwioo 9 жыл бұрын
Amazing... How did you implement your own physics?
@oliverb.8995
@oliverb.8995 3 жыл бұрын
programming
@leedalli7839
@leedalli7839 7 жыл бұрын
don't try to compare it to Terraria or Starbound. This game is amazing and it has so much potential. Good job dude. Ps Can I do a let's play of this game and what is it called?
@beanmchocolate3900
@beanmchocolate3900 7 жыл бұрын
What happened to the trees? I don't have any in my world.
@SinhtUpthereal
@SinhtUpthereal 3 жыл бұрын
pretty much inspired by starbound :) nicework
@Soparinho
@Soparinho 8 жыл бұрын
Particle effects looks amazing, do you share them?
@Flowey_the_Goober
@Flowey_the_Goober 4 жыл бұрын
this looks like a mixture of Terraria Stardew valley and Minecraft it kinda really is 2D Minecraft
@insertcoin8278
@insertcoin8278 8 жыл бұрын
Damn this game looks great!
@karlmin8471
@karlmin8471 7 жыл бұрын
Is this project still alive?
@st1nger13
@st1nger13 8 жыл бұрын
Hey, man, what's with your project now? :)
@valentinorubio703
@valentinorubio703 4 жыл бұрын
Dude this Is fucking great i love it... Hope you don't get any copyright issues with it.
@alexanderandrukov9903
@alexanderandrukov9903 8 жыл бұрын
Tell me about best way to study libGDX?
@dennozz12
@dennozz12 8 жыл бұрын
youtube tutorials for understanding the basics, then you should experiment yourself with all the libGDX classes and methods
@togmeister8604
@togmeister8604 10 жыл бұрын
Awesome keep up the good work.
@hexabeast2098
@hexabeast2098 10 жыл бұрын
Thanks
@sherif573
@sherif573 9 жыл бұрын
did u use tiled map or box2d? awesome game
@cloownix
@cloownix 9 жыл бұрын
No I didn't
@sherif573
@sherif573 9 жыл бұрын
which map editor ? and replacement for box2D pls i nee to know from your experience
@cloownix
@cloownix 9 жыл бұрын
sherif573 No map editor (the map is randomly generated), I did the map class myself. I also did the physics myself.
@sherif573
@sherif573 9 жыл бұрын
great job congratulations + respect
@theGreatDpunisher
@theGreatDpunisher 8 жыл бұрын
+hexa woaw thats a lot of coding.....
@julz_productions-3755
@julz_productions-3755 8 жыл бұрын
You should make monsters or creatures to fight with those "useless magic things
@empix_
@empix_ 7 жыл бұрын
congratulations! nice
@user-fe1ke6qe7f
@user-fe1ke6qe7f 7 жыл бұрын
can i play this game some where?
@MultiDevan13
@MultiDevan13 10 жыл бұрын
dude thats awesome !!!
@hexa3688
@hexa3688 10 жыл бұрын
Thanks
@jakeiteasy1
@jakeiteasy1 7 жыл бұрын
for real i would play an early access for this game
@qwerty-jl5zo
@qwerty-jl5zo 7 жыл бұрын
Good job man)
@AronBike
@AronBike 7 жыл бұрын
download?
@dukepunzalan6995
@dukepunzalan6995 7 жыл бұрын
Good Job you're so awesome :) I envy you. Can you give the reference of from where you have learned?
@Light-tf3jf
@Light-tf3jf 10 жыл бұрын
Pls do an update for survival , mobs and multiplayer and crafting ! that game is so AWESOME!!!!
@hexabeast2098
@hexabeast2098 10 жыл бұрын
Thanks, but the game isn't finished at all yet :(
@MarcS152
@MarcS152 8 жыл бұрын
Good work :-)
@uemersonpinheirojunior1267
@uemersonpinheirojunior1267 8 жыл бұрын
Good game, nice man!!!
@CarlosBernardo3600
@CarlosBernardo3600 7 жыл бұрын
Very good :3
@Supervisor360
@Supervisor360 2 жыл бұрын
Bro thats epik
@jesajahjulfors3116
@jesajahjulfors3116 8 жыл бұрын
that..... was........ Amazing!!!!!
@sherif573
@sherif573 9 жыл бұрын
hello any tutorials?
@lorincotto863
@lorincotto863 8 жыл бұрын
Good job :D
@parisdouady6598
@parisdouady6598 10 жыл бұрын
Wow, impressive.
@wiktorkalinowski9148
@wiktorkalinowski9148 7 жыл бұрын
Great!
@nika_251
@nika_251 9 жыл бұрын
this isnt half bad!
@MasterBroNetwork
@MasterBroNetwork 6 жыл бұрын
Java isn't too good for 3D but it's decent for 2D! :)
@kyper7552
@kyper7552 6 жыл бұрын
its actually pretty efficient now a days with lwjgl backends and what not. The only problem with a lot of games made with java is that they dont handle the garbage collector efficiently and this causes their games to "lag" or feel slow.
@MasterBroNetwork
@MasterBroNetwork 6 жыл бұрын
Kyper True but Java on it's own ain't the best. Edit: I take all of this back. (2023)
@rashid_hafez1
@rashid_hafez1 7 жыл бұрын
source code pls
@moovy2564
@moovy2564 8 жыл бұрын
great game! But,...this is not an original products because of it gameplay,ghrapics...its to..same alike like terraria..i know its meant to be that way...try adding some original things that only this game have.
@purpleice2343
@purpleice2343 8 жыл бұрын
+Moovy The purpose of this game is to learn how something works by trying to reproduce the same thing other games have... Not to make a game you would want to play.
@giorgigamer1340
@giorgigamer1340 8 жыл бұрын
download links plisssssss
@daemon4683
@daemon4683 8 жыл бұрын
Honestly, I prefer the look of this over Terraria. I hate Terraria.
@invalid5777
@invalid5777 7 жыл бұрын
c++ is wayyyy better rewrite the code in c++ to make it faster
@sanswich3236
@sanswich3236 7 жыл бұрын
Why can't people stop stealing craffics and items from terraraia
@funkypantaloons
@funkypantaloons 7 жыл бұрын
damn craffics
@MisterIdleYT
@MisterIdleYT 5 жыл бұрын
Terraria Like
@thithuhienthai1946
@thithuhienthai1946 7 жыл бұрын
Hay
@hedge6607
@hedge6607 7 жыл бұрын
youtube thinks it terraria lol
@Suzzy_Is_Dead
@Suzzy_Is_Dead 7 жыл бұрын
u dont know how to use 0:24
@elpelotudoe
@elpelotudoe 7 жыл бұрын
hello hablo español
@ps4montages667
@ps4montages667 7 жыл бұрын
hello i am a voxel designer, i have been doing some jobs designing scenes. If you are interested just email me
@EvilStryfe25WasHere
@EvilStryfe25WasHere 5 жыл бұрын
Terraria rip off by javascript
@JohnWilliams-nv6fw
@JohnWilliams-nv6fw 9 жыл бұрын
Why does every amateur game look like an amateur game? It's always a simple simple side scroller that looks like it was made in 1985.
@hexa3688
@hexa3688 9 жыл бұрын
+John Williams Because it's harder to make a 3D RPG with next-gen graphics without any budget....
@JohnWilliams-nv6fw
@JohnWilliams-nv6fw 9 жыл бұрын
That's the sad thing then. Most LibGDX games aren't even at the same level as a lot of late 1980s games. It's kind of sad. The only people downloading those games are enthusiasts that are interested in making a crappy game themselves.
@timcrouch2415
@timcrouch2415 8 жыл бұрын
+John Williams Actually, this game is obviously inspired by Terraria, an "amateur looking game" that made millions of dollars.
@inactiveaccount7856
@inactiveaccount7856 8 жыл бұрын
+Tim Crouch I like it do you?
@sam_music555
@sam_music555 8 жыл бұрын
+John Williams 1st depends by which meaning u get to "amateur" and 2nd Do exist some nice indie games that looks like AAA games, and 3rd try u to do a AAA game amateurly ;) sorry for shit english
Can Windows XP Run Minecraft 1 21?
44:40
ChrisPro
Рет қаралды 974 М.
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 32 МЛН
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 7 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 137 МЛН
Java 3D Game Development 82: Final Week!
3:53
ThinMatrix
Рет қаралды 199 М.
My 2D Sandbox game : March 2015 update
2:09
Hexa
Рет қаралды 283 М.
Map Men vs. Geoguessr
28:07
Jay Foreman
Рет қаралды 833 М.
LibGDX Scene2D - Actors and Actions
45:16
Gamefromscratch
Рет қаралды 33 М.
Concept level - libGDX, Box2D, Tiled
2:19
Apprentice Soft
Рет қаралды 31 М.
Game development - Advice for developing a simple mobile game
4:15
Matthew Palaje
Рет қаралды 512 М.
My 2D Sandbox game - Magic Cheat
2:24
Hexa
Рет қаралды 30 М.
Request 22 (libGDX) - drag and drop in scene2d.ui
23:21
dermetfan
Рет қаралды 10 М.
Deploy LibGDX game to HTML 5: Gwt and Xampp
11:49
HollowBit
Рет қаралды 9 М.
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 32 МЛН