Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Creating a 2D/3D Game Engine Program.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Game Development
View previous topic :: View next topic  
Author Message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Fri Aug 06, 2010 4:57 pm    Post subject: Creating a 2D/3D Game Engine Program. Reply with quote

I'm learning java, and now I'm creating a simple program for educational purposes. I am creating a 2D Game Engine(It will support 3D once I finish it) and its going to be a Java Applet so you can create your game online. The game engine is going to use its own Language Syntax, I know there are hundreds of game engines that use their own language... but I'm going to make mine unique and a lot simpler.

TL;DR -> Anyone have any ideas to make the Game Commands Simpler? I want it to be as easy as possible.

Code:
checkinit(); - Checks to see if the game engine has started
createtimer(TIMER_NAME, TICK_RATE, COMMANDS);
default(); - Sets all engine properties to default
drawline(VAR,X1,Y1,X2,Y2);
drawrectangle(VAR,X,Y,WIDTH,HEIGHT);
editline(VAR,X1,Y1,X2,Y2); -edits line, supports +#,-#,++,--,*#,/# Operators
editrectangle(VAR,X,Y,WIDTH,HEIGHT); -edits rectangle, supports +#,-#,++,--,*#,/# Operators
init(); - Starts the engine
lockscreen(BOOLEAN); - Prevents screen resize
renamevariable(OLDVAR,NEWVAR);
runGraphics(); - Starts the Engine Graphics System(Must be called before any drawing).
setgrid(X,Y); - Sets the extra +X & +Y to each drawing object
setscreensize(RES,HEIGHT,WIDTH);
settitle(TEXT);
setvariable(VAR,VAL);
setvisible(BOOLEAN); - Sets window visiblity

_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1888
Location: Canada

PostPosted: Sat Aug 07, 2010 12:16 pm    Post subject: Reply with quote

http://scientificninja.com/blog/write-games-not-engines
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Sat Aug 07, 2010 12:56 pm    Post subject: Reply with quote

Thats why I'm making an engine thats 100% Modifiable, so the user can change everything and add new things.
_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1888
Location: Canada

PostPosted: Sat Aug 07, 2010 1:03 pm    Post subject: Reply with quote

Jorghi wrote:
Thats why I'm making an engine thats 100% Modifiable, so the user can change everything and add new things.


You didn't read the article. The punchline is that you should not make a game engine without first making a few games, as you have no idea what the requirements are.
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Sat Aug 07, 2010 2:51 pm    Post subject: Reply with quote

Flyte wrote:
Jorghi wrote:
Thats why I'm making an engine thats 100% Modifiable, so the user can change everything and add new things.


You didn't read the article. The punchline is that you should not make a game engine without first making a few games, as you have no idea what the requirements are.


I've already made some games before, but in different languages.

I'll just add precise collision checking, variables, and custom events.

_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 195

Joined: 14 Jan 2009
Posts: 1848

PostPosted: Sun Aug 08, 2010 1:22 pm    Post subject: Reply with quote

Just make something like Phun but with coding ability so people can add their own entities and AI etc.
Back to top
View user's profile Send private message
bkbatman
How do I cheat?
Reputation: 0

Joined: 26 Aug 2009
Posts: 4
Location: computer

PostPosted: Sun Aug 15, 2010 5:37 am    Post subject: lmao Reply with quote

Flyte wrote:
Jorghi wrote:
Thats why I'm making an engine thats 100% Modifiable, so the user can change everything and add new things.


You didn't read the article. The punchline is that you should not make a game engine without first making a few games, as you have no idea what the requirements are.

lol he was way off topic though, he talking about what game he makeing.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
ClericX
Master Cheater
Reputation: 0

Joined: 03 Dec 2006
Posts: 360
Location: Too bad, I'm not telling.

PostPosted: Fri Oct 29, 2010 10:05 am    Post subject: Reply with quote

what about commands for loading textures? right now all you have are commands for drawing objects like lines...
_________________
So I herd u liek mudkipz.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Game Development All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites