wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 04 Dec 2011 01:42 AM |
[content deleted]
Check out my game engine :) completely written from scratch in C/++ using SDL and Lua not even close to being finished but still has quite a bit to offer :3 |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 04 Dec 2011 10:22 AM |
| Nice - is your game engine a rendering/physics/whatever engine, or have you used separate engines and added lua [whatever the word is, I think it's 'bindings' but you know what I mean) |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 04 Dec 2011 10:26 AM |
IGNORE ME I DIDN'T WATCH THE ENTIRE VIDEO
What did you use for the graphics? |
|
|
| Report Abuse |
|
|
wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 04 Dec 2011 10:37 AM |
| @pighead10 i used SDL the dreamcast port uses the dreamcast PVR and KGL |
|
|
| Report Abuse |
|
|
LocalChum
|
  |
| Joined: 04 Mar 2011 |
| Total Posts: 6906 |
|
|
| 04 Dec 2011 10:48 AM |
Looks very cool, except for the code...
Y U NO SPLIT TO MULTIPLE FILES? |
|
|
| Report Abuse |
|
|
geicogeko
|
  |
| Joined: 27 Apr 2010 |
| Total Posts: 2727 |
|
| |
|
wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 04 Dec 2011 11:02 AM |
| @Local Chum, i got all my classes in a header file hows that for splitting :3 but yeah i probably should its getting clustered with its 3584 lines. |
|
|
| Report Abuse |
|
|
wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 04 Dec 2011 11:04 AM |
| @geicko, not right now after i finish it and the level editor then were going to make a game realease that then after that make the entire project open source which includes the level editor, the engine and the dreamcast port of the engine. |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 04 Dec 2011 11:04 AM |
I just saw the code
WHAT THE Fmy code for my game in Ogre3D I'm making uses less lines than yours and is split into about 50 files |
|
|
| Report Abuse |
|
|
wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 04 Dec 2011 11:07 AM |
| @pighead10 probably because i have everything from a textbox system to like 50 different lua/c functions in that one file. Take note as well this is my first project back when i started i didn't know you could organize into 50 different files. |
|
|
| Report Abuse |
|
|
|
| 04 Dec 2011 11:08 AM |
| Y u no put all classes to separate files |
|
|
| Report Abuse |
|
|
wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 04 Dec 2011 11:10 AM |
| @Radioaktiivienen, as i said this was back when i was a bit more careless and wasn't that great of an organizer. |
|
|
| Report Abuse |
|
|
geicogeko
|
  |
| Joined: 27 Apr 2010 |
| Total Posts: 2727 |
|
|
| 04 Dec 2011 11:20 AM |
| @wii, awesome, I liked it. Did you just use c++ and lua? |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 04 Dec 2011 11:22 AM |
| This was going to be my starting project, and then I decided logic and efficiency were incredibly important in user created sandbox world engines which I had none of, so I decided to just make a simpler 3D game first, which doesn't matter so much about efficient coding. |
|
|
| Report Abuse |
|
|
wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 04 Dec 2011 11:36 AM |
| @geicko, yep i chose lua because its incredibly flexible and easy to embed once you know how. |
|
|
| Report Abuse |
|
|
wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 27 Jan 2012 07:53 PM |
v=27ZZPY-Ay0o
1080p this time. |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 08:24 PM |
| While I abhor some of your coding habits (lrn2#include & lrn2tab), I feel I must applaud you for your efforts. |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 27 Jan 2012 09:16 PM |
| I have to agree with Necro completely. It looked like a bunch of global functions on the Lua side. |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:17 PM |
>mfw so much of your code is Lua PAIN |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:21 PM |
Pokelover, it seems to be most of the C++ stuff is providing a game API, and the task of adding the content is delegated to Lua. Pretty decent strategy.
But gosh! Learn to indent your code! |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:23 PM |
| I noticed that, but my reaction is still PAIN to any API like that. LOVE2D, Pygame, etc. To me, they're all quite useless, because they lack all the things I favor about writing all my code lower level in C++ and C#. |
|
|
| Report Abuse |
|
|
wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 27 Jan 2012 10:54 PM |
| dont worry its indented, this video was made like 2 weeks ago, i recently tabbed all my lua ;). |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 28 Jan 2012 12:44 AM |
| It would be preferable if you made it more object oriented. Sorta like Roblox I guess or just give it a table with a bunch of functions, just don't clutter the global table. |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 28 Jan 2012 01:17 AM |
Watch your language, I don't think that video is very age appropriate for Roblox...
That aside, I find it pretty impressive that you managed to get to the point of being able to put that together while still using only one single file. |
|
|
| Report Abuse |
|
|
wii4
|
  |
| Joined: 27 Nov 2007 |
| Total Posts: 929 |
|
|
| 28 Jan 2012 01:37 PM |
| working on object orientation mainly for items and NPCs solely because thats the only area i can see my self using it plus this is well my first major project and im using this as a way to learn, i am 100% aware of all my mistakes and i actually have a notebook full of recorded mistakes and methods that i either like or reminders that i shouldn't do for my next projects. |
|
|
| Report Abuse |
|
|