Mojoc is open-source
, cross-platform
, pure C
game engine. It is based on OpenGLES3 and written in C99
. It works on IOS
and Android
currently, but easily extended to other platforms
, and will support more platforms
in the future.
-
Version number [
0.0.0
] means =>Big Move
.Function Changes
.Bug Fix Numbers
-
Released version
will be here releases. -
Release changes
will be here changelog. -
Documents
will be here wiki.- Chinese docs here δΈζζζ‘£.
Mojoc is licensed under the MIT License.
Less
is more, Simple
is best, More complex
thinking keep less and simple.
- The only need programming skill is
C language
withC99
. - In platform-independent code, the
C Standard Library
is only tool that Mojoc used, in others Mojoc build everything. - Mojoc has own unique
code style
. - Mojoc use extremely lightweight
OOC (Object Oriented C)
programing model. - Mojoc application architecture based on
Component
,State-Machine
,Message-Driven
. - More
feature
details see
Mojoc has made a cross-platform android
and ios
game on the App Store
and Google Play
. And I will use Mojoc to make more games.
Super Little Red
is bow and arrow shooting game, verychallenging
your operation.
The samples are complete
, can play
, present the Mojoc features
game demo. Each platform provides its own platform editor
for project build. For example, android use AndroidStudio
, ios use XCode
, windows use Visual Studio
.
Now there is only one sample, which is the simplfied version
of published game Super Little Red.
-
-
IOS Folder is
XCode project
that all set up well, just open it with XCode. The only thing need to be set is switch Mojocplatform macro
in Platform.h.#define PLATFORM_TARGET PLATFORM_IOS
-
Android Folder is
AndroidStudio project
that all set up well, just open it with AndroidStudio. The only thing need to be set is switch Mojocplatform macro
in Platform.h.#define PLATFORM_TARGET PLATFORM_ANDROID
-
Code Folder is sample code
shared
between android and ios.
-
-
- There are
plenty
of C++ game engines, but pure C game engines are muchrarer
. I don't want torepeat
, I hope to bedifferently
. - The
core idea
of game engine I want to create isless
andsimple
, which is consistent with theC
language. - At the
beginning
, I had aidea
of how to build acomplex
project with pureC
language. I want to test thefeasibility
of theidea
, that isMojoc
. - The C language is
simple
butpowerful
, it can implement a lot ofinteresting
things. Why not C ?
- There are
-
Mojoc = Mojo + c
The
c
means theC language
. -
Yes, I
designed
. The logo is aunknown creature
made up of'Mojoc'
letters.M : ears OO: eyes J : body C : tail
-
Mojoc
started in2012
as aspare
time project. At first, the Mojochosted
inGoogle Code
website, and useEclipse + CDT + ADT
development, focus onandroid
platform. Everyday after mydaytime
work, usually at 10 night, I spentone or two
hours to develop Mojoc. After5
years, Mojoc became basicallyavailable
and developed thefirst
mobile game.In the time of
development
, Iexperienced
a lot ofrepetition
andthinking
. For a long time, I was not very sure and clear how to use C language tosimulate OOP
and keep itsimple and uniform
. So Itried
a lot of ideas,repeated
the process,write code
,modify
,refactor
,change ideas
,delete code
,rewrite again
and so on.But
in the end
, I developed unique rules Mojoc Code Style and Mojoc OOC Model that make me feelright
andgreat
, when follow this rules to develop Mojoc.In 2017, through long time
hard work
, Mojoc becomes asimple
,easy
andsmall
game engine, and released thefirst
version. -
For now, it is
not recommended
to use Mojoc make game. Be honest Mojoc isnot yet
quite perfect. There are manyimprovements
andrefinements
, and I'mworking
on it. But now, Mojoc'scode architecture
andprogramming model
have been established. So Mojoc verysuitable
forlearning
andunderstanding
how to use C language to build game engine. -
The
short term goal
is use Mojoc make more games.
Thelong term goal
iseditor
,workflow
,visual game development
. -
- It's my
coding passion
.
- It's my
The Mojoc Roadmap gives the direction
of the Mojoc development.
In short
, my programming
work started in 2008
, and 3
years java server
development, 6
years mobile game
development. Finally, in 2017
, became an independent
game developer and created
my own game engine Mojoc
.
Welcome fork, issues, star
, watch
. Any questions
, suggestions
or ideas
, can send mail to me scott.cgi@qq.com
. If Mojoc inspired
you, valuable
to you, if you like it
, enjoy
it, if you want to support
it, you can
=>
Play
Mojoc Published Games.Donation
via Paypal, ifbuy
me a coffee, I willturn
thecoffee
intocode
. π
βοΈπ +
πβ +
π»π =
π
=>
(:loop:)