Square World 0.3.5

[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.
[/quote]
Thanks for the reporting LiquidNitrogen :slight_smile: . 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.
[/quote]
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
[/quote]
Yes of course. Next version i will increase the player speed :smiley:

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 :smiley:

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?

[quote]Pretty good start!
[/quote]
Thanks men, i am working hard in this game :smiley:

[quote]The level generation is decent, but lacks terrain. Too flat.
[/quote]
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?
[/quote]
Thank you very much. I’m thinking about creating a lighting system.

[quote]Where do you plan to go next? Inventory system? Biomes?
[/quote]
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).

Does the world have an edge, or is it inifinte? Otherwise that might be something for an update :slight_smile:

[quote]Does the world have an edge, or is it inifinte? Otherwise that might be something for an update Smiley
[/quote]
Right now I’m not planning on creating an infinite world but i will create a large world :slight_smile:

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

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

when updating the player have something like:


    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.

[quote]it does complicate the collision checking however, cos the player can end up falling too fast
[/quote]
If you miss to implement a velocity limit.

Thanks men :slight_smile:
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.

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 :slight_smile:

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

What version did you play?
I think i have already removed some of that bugs ???

Aah, my bad.

Sorry, I was playing 0.2.1.

On another note, do you have any plans to implement a Title menu, Pause menu, and other GUI stuff?

  • Jev

Eheh no problem :stuck_out_tongue:
Yes i do have plans to implement Title menu, Pause menu :smiley:

Update 0.2.4

  • Animation added to break blocks;
  • Some squares take longer to break than others;
  • World increased to 600x60;
  • Bug trees generated above the water fixed;

Download:http://www.mediafire.com/download/3qs5y5t954qqw8o/Square+World+0.2.4.rar

Enjoy and give me your opinion :smiley:

As said, this really needs physics to improve movement. No man jumps with constant speed all the time.

What is the ultimate goal with this game?

[quote]As said, this really needs physics to improve movement. No man jumps with constant speed all the time.
[/quote]
I am working on it :slight_smile:

[quote]What is the ultimate goal with this game?
[/quote]
My ultimate goal is to make the World Square in a survival game

0.2.8

  • New Main Menu;
  • Fullsize Window;
  • Water takes longer to spread;
  • New Square: Sand;
  • Sand generated in the world;
  • Code organized;
  • You can add squares in water;
  • Physics in the sand;
  • Lighting system;
  • Bug fixed animation blocks;

Download: http://www.mediafire.com/download/5m1271z579p5t4s/Square+World+0.2.8.rar

Enjoy and please give me your opinion and report the bugs ;D

its come a long way since the first version! The frame rate is getting a bit low… if im up high with lots of sky its around 70, if im in the water with more blocks on the screen its about 40. seems like your rendering might be slowing it down.
Also, the trees are in the way, i suggest you make them be in the background, cos you cant walk anywhere without cutting down every single tree and thats probably not what most players would like to do.

[quote]its come a long way since the first version! The frame rate is getting a bit low… if im up high with lots of sky its around 70, if im in the water with more blocks on the screen its about 40. seems like your rendering might be slowing it down.
[/quote]
Thanks for the report.The rendering is slowing it down because of the lighting system. I will try to fix that :slight_smile:

[quote]Also, the trees are in the way, i suggest you make them be in the background, cos you cant walk anywhere without cutting down every single tree and thats probably not what most players would like to do.
[/quote]
I agree with that. Next version i will make the trees in the background but you will still able to break them

maybe you could make a background layer and a foreground layer, all could have breakable and non-breakable bricks… that would give you quite a lot more flexibility as to what sort of objects and structures can be created. it shouldnt cause frame-rate drop either, cos youd only draw the front-most tile.