Make game like worms

Started by
8 comments, last by poisonknight 5 years, 8 months ago

As said in title i want to make game like worms but i will some limits:

1.I can only draw terrarian using circles

2.Engine have very low performance -> only around 1000 circles allowed for normal fps

of course in 2D

Advertisement

I don't see any question here - and this definitely is not a Career advice question. Moving to a more appropriate forum.

-- Tom Sloper -- sloperama.com

2 hours ago, ggenije said:

1.I can only draw terrarian using circles

Is this some kind of homework project or challenge thing? Why circles?

2 hours ago, ggenije said:

2.Engine have very low performance -> only around 1000 circles allowed for normal fps

I will assume that it means you will be using circles to hide parts of the terrain, then using it as a mask. The trick here would be to use these circles to change the sprites at real time, then you can remove a old circle.

how big can your circles be?

Edit: OK, I now realize you are probably going the vector way. This is a good tutorial: http://antonior-software.blogspot.com/p/destructible-terrain-worms.html

That engine allows only circles ( you can draw triangle with circles but you'll need many circles)

because I'm doing in engine made in flash player intended for kids for 8 to 16 year

(this is somewhat challenge to me)

and circle is max 128 pixel radius

Why Adobe Flash? If its for the web you can use Javascript with canvas.

Regardless, Flash has no restriction on only circles or a 128px limit, so I am assuming this is an artistic decision? Do you have a picture (in paint/whatever) showing what you mean?

You can even try it and view the code

https://scratch.mit.edu/projects/237888143/

wor.png

15 hours ago, ggenije said:

because I'm doing in engine made in flash player intended for kids for 8 to 16 year

Are you using Scratch? Scratch can use sprites, you aren't limited to only using circles.

The original worms uses 2D sprites and mask, it doesn't actually "draw" parts. Collision is the same as many old games, like PacMan etc.

 

Edit: Do you know how to make a sprite transparent?

Yes I can use sprites but even with 100 sprites it's lagging and even number of sprites is limited to 300 

But I do not even know how to realize the base of game,

And it's very easy to make sprite transparent (in Scratch (sprite or circle(pen)))

 

On 8/3/2018 at 7:14 PM, ggenije said:

You can even try it and view the code

https://scratch.mit.edu/projects/237888143/

wor.png

Woah this is impressive and cute at the same time! Thanks for the share thou! It helps a lot for a newbie like me :) I will keep you guys updated on what I learned from you guys in a new post soon !

This topic is closed to new replies.

Advertisement