i what to make a web game but i don't know were to start :?:

Dani AI

Generated

Thread context: asked about browser RPGs and , and raised the right high‑level points (genre, client tools, and server needs). The most practical path is to prove the game’s core loop with a tiny, testable MVP and then expand. Scope early: one character type, one repeatable action (fight or gather), persistent state, and clear UI feedback (timers/status).

Architectural checklist that fills gaps left by earlier replies:

  • Split concerns: a lightweight client for UI/animation and a server that owns game rules and persistence.
  • Minimal data model examples: players, characters, resources, action_queue, event_log. Keep actions immutable once queued and store the reason/timestamp for every state change.
  • Time-based resolution: use a background worker (not ad hoc page hits) to resolve queued actions so results are consistent and auditable.
  • Concurrency and anti‑cheat: enforce server-side validation, use DB transactions or row locking for resource updates, and make operations idempotent to survive retries.

A tiny worker pseudocode for resolving scheduled actions:

while true:
  actions = fetch_pending(now)
  for a in actions:
    begin transaction
      lock rows for affected players/objects
      if action still valid:
        apply effects (resources, hp, level)
        insert event_log
        mark action done
    commit
  sleep(short_interval)

Practical workflow suggestions: paper-design the mechanics, build a single‑player local prototype that simulates multiple players, then add persistence and a simple web UI. Add monitoring and a replayable event log early to debug disputes. Prioritize small, testable features rather than a full feature set at once—this makes development manageable and aligns with the “start small, iterate” theme raised earlier in the thread.

Recommended Answers

All 13 Replies

Well what sort of game do you want to make first...

A basic one and than i will work my way up to harder one's
what will i need to start the game? :?:

What genre?

a web browser game like avpvm, skylords, and other one's like them
plz help me :cry:

I've never heard of either of those games.. WHAT TYPE OF GAME DO YOU WANT TO MAKE.

SHOOTER
RPG
ACTION ADVENTURE
ECT ECT

you can use Flash or Director. With this tools you can create simple games but you have to know how to use this tools first!!!

i ment a web browser RPG go to one of these sites to find out what i ment ;)

and

Flash and Director was my suggestion because of your following post

A basic one and than i will work my way up to harder one's
what will i need to start the game? :?:

What this mean???
You have no idea where to start my friend! And need help :mrgreen:
So type in your browser google and key words like browser game, tutorial browser game etc and you find something for your self

Games do not just happen. You have to code every action, and everything that happens. It is lots of hard work.

i what to make a web game but i don't know were to start :?:

This is like saying "I want to climb mount Everest but I don't know where to start."
You didn't tell us if you know anything about climbing, have any gear, have the time and money and plan to work up to such a thing.

I played Earth2025 more than 10 years ago, before I got into web dev. With my knowledge now I can tell you doing something like this is not an easy undertaking. To create a game, before you can even think of programming, you need to have a plan. You need to figure out every aspect of the game and how these aspects interact. From a technical standpoint you'd need:
- HTML & CSS to design the site
- A scripting language to provide form processing. Earth2025 back when I played was a browser-based game that used simple links and text fields to accomplish actions. PHP is an example of a scripting language you could use.
- A database management system store player records, info about their "kingdoms," etc. MySQL is one example of a DBMS. You'd have to learn the language for the DB, and understand concepts such as indexing (for finding other players) and table locking.
- You'd need to understand how to set up cron jobs. These games are time-based, in relation to server times as well as the last time a user took an action. Cron jobs allow your server to perform certain tasks at certain times.

This is just scratching the surface of the know-how necessary to build a game like Earth2025 or Utopia or whatever. I don't mean to be a downer, but I think building something like this by yourself with no knowledge of web dev would be an ambitious undertaking.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.