Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (568)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 4
  ignore  |  Print  
  Square World 0.3.5  (Read 9928 times)
0 Members and 1 Guest are viewing this topic.
Offline death_angel
« Posted 2014-02-20 18:24:24 »


World Square is a game based on the famous Minecraft but in 2D and with varying differences.
Last Version: 0.3.5
Download:http://www.mediafire.com/download/orp2ed8apdpi8na/Square+World+0.3.5.rar
0.1
-movement (walking and jumping);
world-50x50;
-squares (earth, grass, stone);
add-squares;
-Eliminate squares;
inventory-3 objects;

0.1.3
-ground becomes grass in if you have nothing over;
-grass turns soil if it has something over it;
-noite/dia; Yes

0.1.5
-updated texture of squares;
increased to 100x50-world;
-added trees in the world;
-added flowers in the world;
-Squares (earth, grass, stone, wood, leaves, flowers (Rose));

0.1.6
- Bugs removed from the world generator;
- World increased to 150x50;
- Flowers suspended in air are automatically deleted;
- Grass becomes earth will have another square of grass on top;

0.1.8
New processing by eliminating squares;
World-increased to 200x50;
-Duration of night / day increased;
-Leaves are deleted if they dont have wood beside or underneath;


how to play:
- A and D to walk
- SPACE to jump
-ESCAPE to pause the game
-mouse left to delete squares
-mouse right to add squares
-scroll to change selected square in inventory

Please give me your opinion about the game Smiley
And sorry for my bad english (i am portuguese) :/

PS: The code was based on Ulixava Tutorial

Like a Boss Hacker
Offline trollwarrior1
« Reply #1 - Posted 2014-02-20 19:23:50 »

Please use something like dropbox or mediafire or whatever storing website that doesn't require random people to login in order to download things..
Offline death_angel
« Reply #2 - Posted 2014-02-20 19:35:38 »

I changed the download link  Smiley

Like a Boss Hacker
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #3 - Posted 2014-02-20 19:38:37 »

Isn't this from a tutorial on YouTube...?

Offline trollwarrior1
« Reply #4 - Posted 2014-02-20 19:41:30 »

Isn't this from a tutorial on YouTube...?

I thought the same. If I'm correct, it was ulixava or something like that.
Offline death_angel
« Reply #5 - Posted 2014-02-20 19:44:49 »

The base of the game i learn from Ulixava Tutorials. But the game is diferente from the ulixava  Smiley

Like a Boss Hacker
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #6 - Posted 2014-02-20 19:48:09 »

If you're using his code then it would be considerate to at least mention that you took it.

Offline death_angel
« Reply #7 - Posted 2014-02-20 19:50:57 »

No it is not his code. I just learn how to create a game like that and i create my own. The texture of character is from his tutorial but in version 0.2.0 i will change it

Like a Boss Hacker
Offline DazKins
« Reply #8 - Posted 2014-02-21 21:06:07 »

No it is not his code. I just learn how to create a game like that and i create my own. The texture of character is from his tutorial but in version 0.2.0 i will change it

Sounds a bit suspicious if you ask me, you should really just make your own art assets, I mean, these aren't exactly that hard to make o0

DazKins

Check out my Dev Blog: http://dazkins.tumblr.com
Offline death_angel
« Reply #9 - Posted 2014-02-21 23:24:08 »

Quote
Sounds a bit suspicious if you ask me, you should really just make your own art assets, I mean, these aren't exactly that hard to make o0
I know that and the next version all the texture are created by me  Cheesy

Like a Boss Hacker
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline death_angel
« Reply #10 - Posted 2014-02-22 00:13:18 »

Update 0.2.0:
-New Icon;
-Menu to start the game;
Menu InGame;
Squares - water added;
-Small/Medium Lakes are generated in the world;
-Created a new physics for the player to when in contact with water;
-Now Inventory contain 5 spaces;
New texture for the character;
World increased to 500x60;
You can use the numpad to select the squares;

Download: http://www.mediafire.com/download/qo3jgusecjqsox7/Square+World+0.2.0.rar

Like a Boss Hacker
Offline saucymeatman
« Reply #11 - Posted 2014-02-22 02:35:47 »

Nice man! Looks good.
Who cares if you based it off a tutorial?
Keep it up.
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #12 - Posted 2014-02-22 03:12:25 »

It's inconsiderate not to give credit where credit is due, that's why you should care.

Offline death_angel
« Reply #13 - Posted 2014-02-22 09:57:37 »

Quote
Nice man! Looks good.
Who cares if you based it off a tutorial?
Keep it up.
Thank's man, a apreciate  Cheesy

Quote
It's inconsiderate not to give credit where credit is due, that's why you should care.
I think the problem of credit has been solved Smiley

Like a Boss Hacker
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #14 - Posted 2014-02-22 12:51:32 »

Thank you, that's much better. I don't care if you actually put it in your post and bold it and all that, just mention it somewhere because people work hard making turorials, they deserve credit.

Offline death_angel
« Reply #15 - Posted 2014-02-22 13:06:02 »

Quote
Thank you, that's much better. I don't care if you actually put it in your post and bold it and all that, just mention it somewhere because people work hard making turorials, they deserve credit.
I think you are right. Now please people just comment about the game please Smiley

Like a Boss Hacker
Offline Gibbo3771
« Reply #16 - Posted 2014-02-22 13:12:00 »

Quote
Thank you, that's much better. I don't care if you actually put it in your post and bold it and all that, just mention it somewhere because people work hard making turorials, they deserve credit.
I think you are right. Now please people just comment about the game please Smiley

Does not crash, +1. Controls work, seems responsive but not accurate imo.

The camera needs some work, when you press space there is a weird jerk before you actually jump, same when you start to descend from a jump.

Collisions need a lot of work, but collisions are hard to work with if you are not using a library I get that.

Just stick at it, use it to learn. If you ever, ever stop working on it and start on something else, come back to it. You will be surprised just how much you have learned.

Not related to the game but important for future development, get yourself into some sort of repo, like bitbucket. It is basically free code hosting and file hosting, it's amazing Cheesy

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline death_angel
« Reply #17 - Posted 2014-02-22 13:21:55 »

Quote
The camera needs some work, when you press space there is a weird jerk before you actually jump, same when you start to descend from a jump.
I know that and i am working on. Since i write the water physics the jump got weird.
Quote
Collisions need a lot of work, but collisions are hard to work with if you are not using a library I get that.
I am not using any library so it's hard to create collisions.
Quote
Just stick at it, use it to learn. If you ever, ever stop working on it and start on something else, come back to it. You will be surprised just how much you have learned.

Not related to the game but important for future development, get yourself into some sort of repo, like bitbucket. It is basically free code hosting and file hosting, it's amazing
Thank's for the advice, i will see that Cheesy

Like a Boss Hacker
Offline death_angel
« Reply #18 - Posted 2014-02-22 22:08:21 »

Update 0.2.1
- Water can spread;
- New Square: Coal;
- Coal generated in the world;
- Night / Day duration increased;
- Player view improved;

Download Here: http://www.mediafire.com/download/fs62hr85edt6dd3/Square+World+0.2.1.rar

Enjoy and please comment Smiley

Like a Boss Hacker
Offline LiquidNitrogen
« Reply #19 - Posted 2014-02-23 02:00:52 »

looking good, ive noticed that when youre standing on a tree it works fine, but standing on the edge of water you start to sink even when one edge of the sprite is still standing on land. also now when i click play, i get nothing but a gray screen about 50% of the time.

can you add some velocity gravity to the player? it would be a quick way to increase the smoothness of the movement significantly

Offline death_angel
« Reply #20 - Posted 2014-02-23 12:06:38 »

Quote
ive noticed that when youre standing on a tree it works fine, but standing on the edge of water you start to sink even when one edge of the sprite is still standing on land.
Thanks for the reporting LiquidNitrogen Smiley . That is a problem in the collision and i will try to fix it.
Quote
also now when i click play, i get nothing but a gray screen about 50% of the time.
Unfortunately is a bug in the world generator.
Quote
can you add some velocity gravity to the player? it would be a quick way to increase the smoothness of the movement significantly
Yes of course. Next version i will increase the player speed Cheesy

Like a Boss Hacker
Offline death_angel
« Reply #21 - Posted 2014-02-23 19:38:40 »

Update 0.2.2
- Increased player speed;
- Bug collision (falling without being in collision with water) fixed;
- Bug the gray screen fixed;
- Now you can see the fps;
- Player view improved when in contact with water;
- Improvement in the character sprites;
- Bug game crashes when you add / remove squares on the edges of the world fixed;
- Bug Flower generated over the water;
- Bug fall in the world fixed;

Download: http://www.mediafire.com/download/eg2ratqqmqnurmq/Square+World+0.2.2.rar
Enjoy and give me your opinion Cheesy

Like a Boss Hacker
Offline saucymeatman
« Reply #22 - Posted 2014-02-23 21:26:32 »

Pretty good start!

The level generation is decent, but lacks terrain. Too flat.
I was pleasantly suprised at how good the water was! I would just make it a little darker, or maybe darker as the water gets deeper?

Where do you plan to go next? Inventory system? Biomes?
Offline death_angel
« Reply #23 - Posted 2014-02-23 21:50:40 »

Quote
Pretty good start!
Thanks men, i am working hard in this game Cheesy
Quote
The level generation is decent, but lacks terrain. Too flat.
The land will not always be flat. In the future I'll change that.
Quote
I was pleasantly suprised at how good the water was! I would just make it a little darker, or maybe darker as the water gets deeper?
Thank you very much. I'm thinking about creating a lighting system.
Quote
Where do you plan to go next? Inventory system? Biomes?

For now I'm correcting some bugs of the world generator, and am working on animation of breaking blocks.
I can already say that version 0.3.0 will be a version of seasons (rain, sun, snow).

Like a Boss Hacker
Offline Kefwar

Senior Member


Medals: 5
Projects: 1



« Reply #24 - Posted 2014-02-23 22:04:55 »

- Bug game crashes when you add / remove squares on the edges of the world fixed;

Does the world have an edge, or is it inifinte? Otherwise that might be something for an update Smiley
Offline death_angel
« Reply #25 - Posted 2014-02-23 22:30:13 »

Quote
Does the world have an edge, or is it inifinte? Otherwise that might be something for an update Smiley
Right now I'm not planning on creating an infinite world but i will create a large world Smiley

Like a Boss Hacker
Offline LiquidNitrogen
« Reply #26 - Posted 2014-02-24 04:09:29 »

good improvements! everything youve got in there seems to be working right now Smiley

what i meant by velocity gravity is:
have a velocity.y variable

when updating the player have something like:
1  
2  
3  
4  
5  
6  
    velocity.y += 0.1;
    player.y += velocity.y;
    if (tileUnderPlayerIsSolid){
       velocity.y = 0;
       makeSurePlayersFeetArentStuckInsideTile();
    }


to jump, just set velocity.y to a negative value.

this makes the jumping and falling move in a smooth curve like how real objects move. it does complicate the collision checking however, cos the player can end up falling too fast.

sorry if you already know about this, but its not in your game so im guessing you dont.

Offline Drenius
« Reply #27 - Posted 2014-02-24 16:32:07 »

Quote
it does complicate the collision checking however, cos the player can end up falling too fast
If you miss to implement a velocity limit.
Offline death_angel
« Reply #28 - Posted 2014-02-24 18:03:26 »

good improvements! everything youve got in there seems to be working right now Smiley

what i meant by velocity gravity is:
have a velocity.y variable

when updating the player have something like:
1  
2  
3  
4  
5  
6  
    velocity.y += 0.1;
    player.y += velocity.y;
    if (tileUnderPlayerIsSolid){
       velocity.y = 0;
       makeSurePlayersFeetArentStuckInsideTile();
    }


to jump, just set velocity.y to a negative value.

this makes the jumping and falling move in a smooth curve like how real objects move. it does complicate the collision checking however, cos the player can end up falling too fast.

sorry if you already know about this, but its not in your game so im guessing you dont.

Thanks men Smiley
The problem about player feet are stuck on the tile is related to the collision code. I didn't change the code yet but i will.
By now i am focused on some new things that i will add in next update.

Like a Boss Hacker
Offline kpars

JGO Wizard


Medals: 81
Projects: 4
Exp: 3 years


Extreme Typist.


« Reply #29 - Posted 2014-02-24 18:27:48 »

I haven't found that many bugs, but here's a list of some things I saw:
  • Flowers can spawn on top of water
  • Trees can spawn on top of water
  • Camera's glitch out while floating on top of water
  • If water is under a solid title, you still begin to fall in the water while on top of the solid tile.

On top of that I would probably just make your jumping less linear.

Looks like a solid start Smiley

If you need help with the 'engine' contact Ulixava. Just note that you are going to have to do a lot of refactoring in the future. His code isn't perfect, so don't be afraid to try new things.

- Jev

Pages: [1] 2 3 4
  ignore  |  Print  
 
 

 

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

The first screenshot will be displayed as a thumbnail.

Pippogeek (40 views)
2014-09-24 16:13:29

Pippogeek (31 views)
2014-09-24 16:12:22

Pippogeek (21 views)
2014-09-24 16:12:06

Grunnt (47 views)
2014-09-23 14:38:19

radar3301 (29 views)
2014-09-21 23:33:17

BurntPizza (65 views)
2014-09-21 02:42:18

BurntPizza (37 views)
2014-09-21 01:30:30

moogie (43 views)
2014-09-21 00:26:15

UprightPath (53 views)
2014-09-20 20:14:06

BurntPizza (55 views)
2014-09-19 03:14:18
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!