Jump to content

My first HTML5 game


Joris
 Share

Recommended Posts

The game is fun. For a first game this is good. Well done.

 

If you want to improve the gameplay, you can change the amount of arrows to be more and more over time (start with a few like 3-5).

Add one more with every wave.

Also make the player smaller and have him grow with every wave.

If he gets hit, make him smaller again.

This way you have a small margin for error in the gameplay.

 

You could also change the speed of some arrows to make them look more random.

Give them a random speed (Math.random()*speedVariation + baseSpeed) when you spawn them.

 

Codewise I would recommend you check out Phaser, which would make your projects a lot easier and does not restrict much (you can still code everything you want by hand, but Phaser helps with premade functions).

You should also structure your code a bit more.

Add some comments to help understand what is happening in a function.

This might seem overkill in a small project but it will help a lot in bigger projects if you can make it a habit.

 

Keep coding and change up your projects (always doing the same kind of game might bore you eventually).

Link to comment
Share on other sites

Sorry it took me so long to respond i was really busy with school,

On 6/5/2017 at 2:00 AM, ThatGuyMiniB said:

Nice job for your first one!

One feedback I would give is possibly updating the art if you are able to. 

Thank you so much, i know the art isn't the best but right now i am mainly focusing on the programming.

On 6/6/2017 at 4:42 AM, samid737 said:

Died at 26.. I think if you can in some way speed up the game over time or after some score it would be more fun. The arrows and player are slow placed at the moment imho. Anyways great job!! 

On 6/9/2017 at 5:31 AM, SeelenGeier said:

The game is fun. For a first game this is good. Well done.

 

If you want to improve the gameplay, you can change the amount of arrows to be more and more over time (start with a few like 3-5).

Add one more with every wave.

Also make the player smaller and have him grow with every wave.

If he gets hit, make him smaller again.

This way you have a small margin for error in the gameplay.

 

You could also change the speed of some arrows to make them look more random.

Give them a random speed (Math.random()*speedVariation + baseSpeed) when you spawn them.

 

Codewise I would recommend you check out Phaser, which would make your projects a lot easier and does not restrict much (you can still code everything you want by hand, but Phaser helps with premade functions).

You should also structure your code a bit more.

Add some comments to help understand what is happening in a function.

This might seem overkill in a small project but it will help a lot in bigger projects if you can make it a habit.

 

Keep coding and change up your projects (always doing the same kind of game might bore you eventually).

Thank you so much for your feedback i will definitely look into that.

On 6/12/2017 at 4:00 PM, eribra said:

Nice first game! :D

On 6/9/2017 at 6:11 PM, 8Observer8 said:

I'm 30 and I've been studying HTML5 game development for 3 months. You have overtaken me :)

Thank you so much that really means a lot to me.

On 6/13/2017 at 3:31 AM, 8Observer8 said:

Who will set a new record?

I think i did :P

highscore.PNG

Link to comment
Share on other sites

30 minutes ago, 8Observer8 said:

I found a logic mistake in your code. When you start the game you have 15 bullets:


var bulletamount = 15;

But if you restart you have 20 bullets:


function restart()
{
    // ...
    bulletamount = 20;
    addBullet(bulletamount);
    // ...
}

 

Thank you so much for looking over my code,

i completely missed that bug i should probably use more variables next time to prevent that, I fixed it now

Link to comment
Share on other sites

7 hours ago, 8Observer8 said:

I replaced your 2D sprites on my 3D models: click to play

This is the pure WebGL 1.0. I use TypeScript instead JavaScript because it is easier to develop and debug. The models I created in Blender.

Bitballoon3D.png

 

BitballoonModels1.png

BitballoonModels2.png

Oh wow that looks awesome!!!! Thank you so much for taking the time to do this.

I added a link to it on the game page, hopefully i'll be able to make something like that one day.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...