How do I write a comfy top-down perspective mmorpg entirely in C?

how do I write a comfy top-down perspective mmorpg entirely in C?

Attached: A_Link_to_the_Past_Overworld_Map_(Light_World).png (2007x2007, 2.96M)

Other urls found in this thread:

mapeditor.org/
github.com/id-Software/Quake-III-Arena
rpgmakerweb.com/
twitter.com/NSFWRedditGif

I'll start
#

Try turning it off and on

include

start simple
for example make a visual plugin for some music player in C first
add some buttons to press
it's how it happened to me

...

...

#include

Use SDL or SDL+GL and this: mapeditor.org/

...

>How do I design and build my own car

SDL

...

int main(){

...

is that a motherboard

double* the_double = (double*) malloc (sizeof (double)); // this is double

unsigned double monkey_poop_color;

>casting malloc

Attached: 1511488663495.jpg (447x456, 32K)

im start on the logo guys

*SDL2

BROKEN

it's not a mistake

...

...

#define SWORD 1

Imagine a top down action-rpg mmo like a link to the past.

:C

Why top down and not isometric?
Look up Jagged Alliance 2 source code. Great game and interesting code.

# Code of Conduct

...

it used to exist but then it died

...

WE DID IT REDDIT!

how's spring break kiddo?

pretty good do you think ill have enogh time to finish?

with java

...

realize you're too dumb to do it in c and write it in pygame instead

...

This

in what way is it not a mistake?

You can start by reading Quake III's source code which is mostly C.
github.com/id-Software/Quake-III-Arena

You're going to need, at a minimum, a very robust multi threading system that Q3 doesn't have. But a lot of things you can probably adapt from that game.

>You're going to need, at a minimum, a very robust multi threading system

the fuck are you talking about

Bottleneck for number of players on each server boils down to how good your multi threading is. You can put an MMO server on an OVH but unless your code is able to make use of those 20/40 cores the game is not an MMO.
Doom III BFG edition's source code has better multi core support but it's written in C++ and not C like Q3 arena

best zelda

learn SDL2 + C + OpenGL

isometric needs GREAT art and style to be successful
fite me

rpgmakerweb.com/

been there, done that

Attached: nexus-snow.jpg (1024x768, 278K)

>tfw played this shit when i was 13 before that disgusting graphics overhaul

CSFML

how do I write a comfy top-down perspective zelda clone

Take a Zelda ROM and replace the sprites.

Attached: 1497482408917.png (323x335, 183K)

>just copy the code and change the variables
Tried this one time in college, I got scolded by my lecturer. Should have made more sysout to obfuscate it.

It's literally called Graalonline, played it back when I was 10 in 2003.

__FILE__

>Quake

Any hints on how to read this code? Like where is the code that shows the main menu, or renders a map?

this

#error oopsie

struct Tile
{
float uv[2];
float size[2];
float position[2];
bool solid;
void (*collisionTrigger)(Tile& other);
void (*update)(float dt);
}

there that's 90% of your game done.

Has Sup Forums made any games? Would be comfy

have modded games because can't actually come up with new games

Malloc returns a pointer, nignog.

u can cast a pointer to a pointer of another type

I really miss my childhood. Had some great times. Now, adult life is just an endless symphony of misery.
>tfw will never get to experience Secret of Mana for the first time again
>tfw will never get to experience Secret of Evermore for the first time again
>tfw will never get to experience Chronotrigger for the first time again
>tfw will never get to experience Donkey Country 2: Diddy Kong's Quest for the first time again
>tfw will never get to experience Legend of Zelda: A Link to the Past for the first time again
>tfw will never get to experience Star Fox for the first time again
>tfw will never get to experience Ocarina of Time for the first time again
>tfw will never get to experience Final Fantasy 7 for the first time again
:(

Attached: 1505461946639.png (231x218, 7K)

agree, you should cast malloc

Start by writing a tile engine that cuts out blocks from a sprite sheet and pastes them on screen according to some input data.

You don't

Yes, but why would you do with malloc? It returns just a pointer to a place in memory.

Why not use void* pointers all the time to begin with?

I really don't. My parents had the great idea to limit how much I can play a day.
To 20-30 minutes. No surprise I barely finished any games.

The asterisk goes on the pointer. Dude, please explain why you need to cast a pointer to a memory address as a double.

>The asterisk goes on the pointer.
That's where you are wrong.

We're talking about C. Quit avoiding.

well since malloc returns a void * there is really no need to because the assignment is implicit but it doesn't really make a difference if you specify the cast or not. u need to give the pointer a type so the compiler can work out how to operate on the data... especially when working with objects

better explanation than , thank you

>We're talking about C. Quit avoiding.
I'm not avoiding .
Also, just because a great part of the C community does retarded shit like using autotools or create functionThatManipulatesHiddenGlobal() doesn't mean you have to follow those morons

Someone remembers that game, damn

Comfy, Top down, pick one faggot

Compile it you'll see....

>I got scolded by my lecturer
Why?

>better explanation than
This is not an explanation. It's a request; work in your critical thinking skills.
>Also, just because a great part of the C community does retarded shit like using autotools or create functionThatManipulatesHiddenGlobal() doesn't mean you have to follow those morons
What? You put asterisks on variables(pointers), not types.

This is a huge project. I estimate it would take a team of experienced professionals several years to produce a product of that scale.

You should start much smaller. Use an off-the-shelf product such as Game Maker to create something like a platformer, or a puzzle game. Then make the same game using C (I suggest SDL) to make sure you understand what's going on under the hood.

You will then need to secure funding and hire a team. Being both a programmer and a project manager is difficult- that's essentially what I'm doing right now (freelance webdev) and my work is far smaller in scope than an MMO.