Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (489)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-10-11 06:32:09
- I'm not sure how to get gravity properly (any help welcome)

code i mostly use for gravity:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
if(yspeed > 0){
    //Falling
   yspeed = yspeed * 1.05;
}else{
    //Jumping
   yspeed = yspeed * 0.95;
   if(yspeed > -0.5){ yspeed = -yspeed; }
}

y += yspeed;

if(floor){ yspeed = 0; }
else if(yspeed == 0){ yspeed = 1; }


when you want the player to jump just set yspeed to -5 or something

Thanks heaps for this! worked first try! just needed to modify a bit. This will be part of my next update
2  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-10-09 23:02:11
Seems good, but are you intending to add lightning, it will give a much better atmosphere (can be hard to make without opengl).
Also, work out the rpg concept some more, like what will be unique for your game?

Add fire, evryone loves destroying stuff Smiley
Yeah i'm still working out how i'm going to get the rpg concept going but I will be doing that after I've got a  good base going (Pretty much just add crafting and item stacking because i'm already on my way to survival mode). Also yes fire sounds like a good idea. I just need to figure out how to get it to spread and burn things slowly (like how i need to get the water to flow slowly)

Played the game and it was fun:)

Perhaps you could change the block destruction so the player can only destroy blocks/squares within 3 or so squares of him?
I shall add that to my to-do list. Thanks

There were a few things I wanted to note:
- Water filling a room instantly as soon as a flow to a water source was initiated, would be cool to see that become something more    gradual, Terraria style.
- A fall rate which wasn't constant, mainly all movement to be smoothed out and less noticeable changes in direction when jumping.
- being able to place blocks where you stand.
- There's no collision to the sides of tiles so if you jump in a way you can enter the side of a tile and pass through it to the top.

I'm sure a lot of the things I've already said, you had the intention of doing already, Good job with the work    Tongue

I must say this has inspired me to do something, but I'm not going to tell into I'm ready to show Grin
- I'm working on a water flow.
- I'm not sure how to get gravity properly (any help welcome)
- I will add that to my to-do list
- I will add that to my fix list

Thanks everyone for your support! Would anyone be willing to be support me putting this game on Desura? So far I have it on IndieDB  (http://www.indiedb.com/games/metallum) If so please go check it out and follow if if you want.
3  Game Development / Networking & Multiplayer / Re: Learning Networking on: 2012-10-09 08:59:19
definitely use kryonet. I've found some good tutorials on kryonet you should check out (they are still being made) Client: http://www.youtube.com/playlist?list=PL6D7B626119C9F5C1&feature=plcp Server: http://www.youtube.com/playlist?list=PLAD61972769BBF80E&feature=plcp

I used these and the have helped me out in using packets so far.

Hope this helps
4  Discussions / Miscellaneous Topics / Re: I'm back! on: 2012-10-01 02:34:34
I think I may have stole your motivation to program Smiley Because yesterday all I wanted to do was program my game after I discovered IndieDB

Suggestions:

Turn off your router or modem (would be hell for me)
Open eclipse

yeah that's pretty much it
5  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-09-29 09:22:29
[size=15pt]New update![/size]
29/9/12 Pre Alpha 0.6

+ Menus! (Singleplayer, Multiplayer (no multiplayer yet though), world select, pause)
+ Back layer of blocks
+ Multiple worlds (up to 5)
* Bug fixes
6  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-08-10 21:44:30
Haha, that's big. How did you do the saving?

Oh yeah I also forgot to mention, i messed up the dl link (it still went to the 0.4) you will have to re-download it
7  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-08-10 21:39:46
Haha, that's big. How did you do the saving?

S to save L to load (sorry i forgot to put it in the thread i realised just as i went to bed)

mm 2 thinks
code is obfuscated Sad(to many ifs btw)
player character does not show

Yes the code is obfuscated. I use that to make the size of it smaller
also what do you mean the player character doesn't show? are you extracting the .zip folder?
8  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-08-10 10:27:54
New update! Pre Alpha 0.5

+ SAVING WORLDS!!
+ LOADING WORLDS!!
9  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-08-09 10:06:31
New update! Pre Alpha 0.4

+ Caves (needs refining)
+ Worlds now 100 blocks in height
* Fixed inverted inventory scrolling
* Other minor bug fixes

Cool game Cheesy
I'd like to see more mobs!

I will be adding more mobs with the survival update
10  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-08-06 06:22:17
Very nice, I like how the water fills up. Keep it up!

The menu works well and looks awesome. And the basics of block creation/destruction also works. Who gives a shit what fanboys have to say. Don't you dare change a single f**king thing because of anything a fanboy has or ever will say.
The game ran!

Getting a vector on the jump will make the controls (the the jump) feel a lot better. It feels very unnatural, due to the lack of a curve in velocity. It's impossible to jump in a nice arc right now as well, which is.. not expected.

You can do the same for horizontal movement, but it's not necessary. If you decide to do it though, it'll be trivial to make different surfaces feel different because you can apply different levels of friction. Ice or wet moss could be slippery, for instance.

Thnx guys for the feedback Smiley I am going to  be releasing more updates (hopefully soon) but I have been quite busy with school work and an iphone app that I am making for a school project.

Also

As I said in my youtube video, I didn't use these tutorials, I watched these videos when I was on holidays overseas and I used some of the concepts from it when got back home but I didnt use these tutorials to fully make the game.
11  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-07-30 21:04:08
No the scrolling isnt meant to be inverted. Thnx for picking that up
12  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-07-29 21:54:08
Ok, thnx for the feedback  Smiley I guess I could change the indev bit to Pre alpha, the tree pattern is just temporary until I get the back layer of blocks working. The character is only temporary because I'm hopeless at gfx. thnx for the bug report as well I will try to fix it.

Wow the resources folder was a bit of a messup Sad I just got back from holidays when I made it.
13  Games Center / WIP games, tools & toy projects / Re: Metallum Miner (2D Mining game) on: 2012-07-29 21:28:15
I am going to be making this game different from Terraria and minecraft. If you watch the end of the first tech demo you will see a list of to be features, they include making it more of a rpg
14  Game Development / Networking & Multiplayer / Re: Sending 2D arrays over sockets on: 2012-07-29 21:22:55
arrays of integers, instances?

It uses my Block.class

Use Kryonet instead: http://code.google.com/p/kryonet/

It is what I am using for my game, and I am able to send very large arrays of complex data with ease!

I know this doesn't really answer your question, except to give you an alternative way of doing things, but I thought I would recommend it anyway.

When I get on my PC I will have a good look at this (looks easier than the way I use)

Thnx
15  Game Development / Networking & Multiplayer / Re: Sending 2D arrays over sockets on: 2012-07-29 10:25:23
The array stores the block data of the world like at 1,1 it will be air or 30,30 stone
16  Game Development / Networking & Multiplayer / Sending 2D arrays over sockets on: 2012-07-29 10:05:14
Hey,

I have been makin a 2D mining game called Metallum (check it out: http://www.java-gaming.org/topics/wip-metallum-miner-2d-mining-game/26980/view.html) and ive been trying to make it an online game. My main problem with it is I don't know how to send 2D arrays over sockets, once I have this it will make it easier for me to make it an online game.

Thnx,
Ultra
17  Games Center / WIP games, tools & toy projects / Metallum Miner (2D Mining game) on: 2012-07-29 05:12:15
[size=30pt]Metallum Pre Alpha 0.6[/size]


Metallum Miner is my first Java game that I have made to this standard! So enjoy!

Metallum (for short) is a 2D Mining game where you are in a 500 block wide world with 9 Items and you can destroy any block you like. It was completely made using java eclipse and no extra libraries (only the default ones). It has mobs with a very simple AI that come out at night and jump around (they don't hurt you yet). There is completely random terrain generation with mountains and trees, soon to be more interesting terrain. In future versions there will also be survival mode.

[size=20pt]Controls[/size]

A + D = sideways moment
W or Space = Jump
F3 = debug mode (x and y coordinates displayed)
Scroll = Inventory item picker
E = Open Inventory
Left Mouse = Destroy Block
Right Mouse = Place Block
Escape = Pause (save worlds here)

[size=20pt]Download[/size]

10/8/12 Pre Alpha 0.6

10/8/12 Pre Alpha 0.5

9/8/12 Pre Alpha 0.4

29/7/12 Pre Alpha 0.3

[size=15pt]Make sure you extract the folder before playing[/size][/b]

[size=20pt]Changes[/size]

29/9/12 Pre Alpha 0.6

+ Menus! (Singleplayer, Multiplayer (no multiplayer yet though), world select, pause)
+ Back layer of blocks
+ Multiple worlds (up to 5)
* Bug fixes

9/8/12 Pre Alpha 0.5

+ SAVING WORLDS!!
+ LOADING WORLDS!!

9/8/12 Pre Alpha 0.4

+ Caves (needs refining)
+ Worlds now 100 blocks in height
* Fixed inverted inventory scrolling
* Other minor bug fixes

29/7/12 Pre Alpha 0.3

+ Oceans with sand

29/7/12 Pre Alpha 0.2

+ Mining
+ Random Terrain (Mountains and trees only so far)
+ Jumping with W or Space
+ Moving with A and D
+ 500x50 world (Will be bigger in the end)
+ Trees
+ Building
+ Inventory
+ Day and Night
+ Mobs (at night)
+ Water + Lava


I would love to hear your feedback and any bugs that you  find in the comments Smiley

Thnx,
Ultra
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

TehJavaDev (18 views)
2014-08-28 18:26:30

CopyableCougar4 (26 views)
2014-08-22 19:31:30

atombrot (39 views)
2014-08-19 09:29:53

Tekkerue (36 views)
2014-08-16 06:45:27

Tekkerue (33 views)
2014-08-16 06:22:17

Tekkerue (22 views)
2014-08-16 06:20:21

Tekkerue (33 views)
2014-08-16 06:12:11

Rayexar (70 views)
2014-08-11 02:49:23

BurntPizza (47 views)
2014-08-09 21:09:32

BurntPizza (37 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!