PVE
Tính năng basic nhất của game
Clientside sẽ quyết định thắng/thua và send kết quả tới server
Server nhận được kết quả sẽ update reward và send tới client để diễn hoạt
Rủi ro: Flow này không có việc verify từ server vì logic battle PvE phức tạp, cần 1 giải pháp trọn vẹn hơn
PVE Level:
* Game has ${x} hard mode: Easy, Normal, Hard, Insane, Nightmare, Hell, Apocalypse, Void, Chaos,...
* Each hard mode has 10 ages I, II, III, IV, V, VI, VII, VIII, IX, X
* Each age has 10 maps 1, 2, 3, 4, 5, 6 , 7, 8, 9, 10
* Each map has 10 stages 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
* Each stage has 4 turns of mob and 1 turn of boss
* Inconclusion, we have to clear 1000 bosses each hard mode
* Basically, just make data as number then convert to hardmode/ages/map/stage of player now
* ------------------------------------------------
* Example 1: Player is at level 123
* Follow the string, it's Easy - II - 2 - 3
* Below is logic of PVE gameplay
* Player clear all chimera => go next stages, maps, ages
* Player die:
* - If player die at mob turn, player will start from 1st turn of stage
* - If player die at boss turn, game will change to looping mode, player has to start fighting from 1st turn
Với mỗi level máu/damage của quái vật sẽ tăng thêm theo 1 logic nào đó, default tạm để là 10%
Client side:
Parallax background
Moving when finish stage
Attack animation
Damage text spawner
Spell casting (basic 1-2 skills)
Tell to server that client finished the level (risky to cheat, considering)
Coin drop, collect coin effect
Enemy spawner (serverside gives pattern)
Damage formula: build the base first, detail will be designed soon
Server side:
Manage Character Stats
Manage Player rss: golds, exp, character level, game level,...
Push message get rss to Client side
Passive income
Last updated