Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

sethhope

Member Since 12 Jan 2013
Offline Last Active May 21 2013 07:38 AM
-----

Topics I've Started

Spectre Detector Update!

29 April 2013 - 03:40 PM

Spectre Detector is a top-down 2D shooter designed to allow anyone to just pick it up and enjoy themselves. It’s fast-paced, space shooting action confined to the 16 bit realm of an arcade machine. The game is under constant development, so new features are being added almost daily! Currently the game includes:

- 4 different weapons

- 6 power ups an in-game store reliant on entirely in-game money

- 16 different upgrades automatic saving of upgrades, high score, and money Whatever else you guys suggest!

- We are constantly developing Spectre Detector, therefore, new features will be added regularly.

 

This is the first update in a while due to the fact that I haven't had time to update because of the work that I have been doing with our new open source game engine.

This update includes:

- Improved bullet calculations for greater framerate

- Fixed memory leaks

- New enemy specs

 

You can download it at: http://spectredetector.jcamtech.com

 

Pics:

 

screen3.png
screen2.png
screen1.png
mainMenu.jpg
screen1.png

 

Video:


Level Loading Lark

27 April 2013 - 04:04 PM

I am beginning to create a simple level loader for my game engine. It has a simple syntax, so I figured it would be pretty easy to create... How wrong I was. 

 

Below is the code for decoding my level files:

void JTechScript::JLoadLevel(const char *filename)
{
	objects = 0;
	//initialize variables and get load file
	fileName = filename;
	std::ifstream levelFile(fileName);
	char letter;
	letter = levelFile.get();
	//begin insane nested loop stuffz
	//go until the end of file
	while(letter != END_FILE)
	{
		//check for new object character "#"
		if(letter == NEW_OBJECT)
		{
			//initialize more stuffz
			char tempObjectType[32];
			int x = 0;
			objects++;
			//read until end of line and make that the name of the object
			while(letter != END_LINE)
			{
				std::cout << letter;
				x++;
				tempObjectType[x] = letter;
				letter = levelFile.get();
			}
			std::string objectType(tempObjectType);


			//-------------------------------------------------------------------------
			// \/ \/ \/ \/ \/ custom object types here \/ \/ \/ \/ \/

			if(objectType == "CAMERA")
			{
				objParameter[objects][1] = 1;
			}
			else if(objectType == "WORLD")
			{
				objParameter[objects][1] = 2;
			}
			else if(objectType == "SPHERE")
			{
				objParameter[objects][1] = 3;
			}

			//END CUSTOM PARAMETERS
			//--------------------------------------------------------------------------


			//more initialization 
			int tempParameterNum;
			char buffer[32];
			int value = 2;
			//read until the end of the object
			while(letter != END_OBJECT)
			{
				tempParameterNum = 0;
				//read each line and make it a number
				if(letter != END_LINE)
				{
					std::cout << letter;
					buffer[tempParameterNum] = letter;
					tempParameterNum++;
				}else{

				//set the number as an object parameter
				value++;
				objParameter[objects][value] = atoi(buffer);
				//clear the buffer
				for(int i = 32;i < 32; ++i)
				{
					buffer[i] = 0;
				}
				}
				letter = levelFile.get();
			}
		}
		letter = levelFile.get();
	}
	//if you can figure this out, you deserve a medal. So... (1) <-- there... there is your medal.
	//................................................................SHUDDUP! I SUCK AT ASCII ART!
}

 

 

This is the file it is decoding

 

#CAMERA;
0;
100;
0;
|

#WORLD;
-100;
-10;
-100;
|
*

 

 

It seems to work fine, but when I try to retrieve the values for objParameter[1][1], it returns -842150451.. It returns the same number for objParameter[2][1] as well.

 

 

Please help... I have been working FOREVER on this.


New Open Source Engine on its Way!

15 April 2013 - 10:04 PM

Jcam Technologies has been working on a new custom game engine by the name of Jcam Engine 2. It is to be released as an open source engine.

 

So far, we have physics and lighting working in the engine. Model loading and terrain generation is on its way.

For now, you can check out this demo!

http://youtu.be/_WrMVlRO8n8

 

http://youtu.be/dMqcLyT0sqk

 

You can also support the development of this engine!

http://www.indiegogo.com/projects/jcam-engine-2

 

Thank you for reading! I will update this post with further announcements having to do with engine development. I also update the twitter daily! http://www.twitter.com/jcamtech


[SOLVED]Is this possible?

13 April 2013 - 09:27 AM

I am trying to create a class based system for rendering Bullet Physics objects in openGL, however, I run into problems with this:

		float mat[16];
		t.getOpenGLMatrix(mat);
		glPushMatrix();
			glMultMatrixf(mat); //translation,rotation
			glColor3f(red,green,blue);
			gluSphere(quad,r,40,40);
		glPopMatrix();

 

It is in a different file than my main.cpp... I figured that was what was causing the error.

 

I get an error: Unhandled exception at 0x69939161 in JTechEngine.exe: 0xC0000005: Access violation reading location 0xcdcdcdcd.

 
My question is: Is there any way to draw a gluSphere from within a separate file?

 


Feedback on title theme

11 April 2013 - 02:15 PM

I am currently producing a game called Time Machine. It is an intense, emotional story about two friends who, because of an accident, get stranded in time.

 

I have written a title theme for Time Machine and would like feedback from you guys! Good or bad, tell  me what you think!

 

SoundCloud link:

http://snd.sc/114kq8v


PARTNERS