I have decided to create a Web 3D mini game called Gravity Attack

Gravity Attack

Starting time: February 12th, 2026

Deadline: March 12, 2026

Finally upload to Poki.


Prototype

2 Likes

2026/2/12

Add a simple enemy model.

implement the logic and effect of player hitting enemy from high places.

2 Likes

I think you don’t know how strict Poki’s quality requirements are for games. Maybe Playgama is good start.

1 Like

Thank you. This is a great suggestion. I will try Playgama first.

2026/2/13

Implemented controlling the direction and strength of force through touch.

Implemented bullet time.

The original way of playing by clicking to apply force in the negative X direction wasn’t fun, so I changed it.

Implemented level switching.

During this process, I learned that good code design can really reduce repetitive work.

4 Likes

2026/2/14

The visualization of the angle and magnitude of force has been basically achieved using the sprite component

Add collision sound between player and wall, the stronger the collision, the louder the sound

Add collision sound between player and enemy, the stronger the collision, the louder the sound

4 Likes

2026/2/15

add some new levels !!!

I plan to release it for testing after designing up to level 30. If it performs well, I’ll design up to 50 or even 100 levels.

level3:

level4:

level5:

fixed level1 and level2 shadow

I guess the reason level 1 and level 2 didn’t have shadows before might be because the collision boxes were too big.

It’s interesting to deal with these problems.

before

after

Use figma to design a simple UI

I don’t really like using Photoshop because I don’t need so many features, and I don’t want to spend that much time learning them. I just need to create some simple and aesthetically pleasing UI.

Next Task : add more interesting block

Approximately every 5 levels, a new interesting block or gameplay is added

2 Likes

2026/2/16

Designed the next level UI

I plan to design four guis for this game.

4 Likes

2026/2/17

The design of the game guis has been basically completed.

I think I made a mistake. Time is limited, but I wasted a lot of time on UI design. I should have streamlined the UI design and left more time for gameplay.

I don’t need “Win Screen” and “Game Over Screen“.

I don’t need complicated UI.

I only need “pause button“, “restart button“, “Levels Screen“ and “Pause Screen“.

just keep simple, and focus on gameplay and level design.

2 Likes

2026/2/18

The UI has been preliminarily implemented in the game

4 Likes

2026/2/19

improved the UI.

The UI work is basically done, and I can finally focus on the gameplay.

Implemented the functions of some buttons: pause button, restart button, and resume button

It looks great.

Today I saw a lot of excellent 2D web mini-games. They load faster and are also very fun to play. I almost gave up on this 3D mini-game because of that, but since I’ve already started, I have to finish it. Let’s go! Let’s go!

2 Likes

What’s the size of your game? Have you optimized the bundle size?

1 Like

Thank you. The HTML bundle size is now 3.14MB. I haven’t optimized the bundle size yet, but I will try it later.

I just optimized the bundle size according to the documentation, and the HTML bundle size is now 3.00MB. It works!

I’ll try again to see if I can do better.

it’s 2.87MB now.

it’s 2.81MB now.

I compressed an audio file using Audacity.

I found that deleting a large number of comments doesn’t reduce the bundle size.

it’s 2.76MB now.

1 Like

Comments are stripped out from the scripts and Lua modules.

2 Likes

Thank you.

2026/2/20

Next, design at least one level each day

The pause button and restart button have been reduced in size, and they look good

add level6:

add level7:

add level8:

Implemented the interactive logic of the levels UI

4 Likes

2026/2/21

I have made up my mind today to persist in making 3D web games. Although 2D games are more popular on Poki, I feel that I still prefer developing 3D games.

I think that when developing web games, you must first accept a reality: you will be restricted in many ways. It’s impossible to realize every game idea.


add cooldown to “apply_force“.

When cooling: model become dark
Ready: back to normal

Make an obstacle that can move back and forth

2 Likes

I’m not sure this is necessarily true. Many of the “big icon” (ie popular) games on my Poki landing page are 3D at least.

Yeah, this is both a blessing and a curse. I think a lot of creativity can come from working within restrictions.

3 Likes

Thank you. This inspire me.

I also agree. Limitations can stimulate creativity.

2026/2/22

Today’s Tasks

Add a tutorial in the first level.
Optimize level one to level ten.
add a new item or feature every 5 levels.


add tutorial.

1 Like