Menu

Tree [6cf664] master /
 History

HTTPS access


File Date Author Commit
 audio 2014-12-17 James Nakano James Nakano [21c6d2] more sound effects
 data 2014-12-20 James Nakano James Nakano [6cf664] major improvements to "scene" class
 graphics 2014-12-20 James Nakano James Nakano [6cf664] major improvements to "scene" class
 include 2014-12-20 James Nakano James Nakano [6cf664] major improvements to "scene" class
 src 2014-12-20 James Nakano James Nakano [6cf664] major improvements to "scene" class
 .gitattributes 2013-01-02 James Nakano James Nakano [2d4b7f] first commit
 .gitignore 2014-12-16 James Nakano James Nakano [a65945] updated the .gitignore
 license.txt 2014-09-09 James Nakano James Nakano [f26d76] code is now under GPLv3
 readme.txt 2014-12-18 James Nakano James Nakano [44bca7] more textures

Read Me

2DWorld
=======
by James Nakano A.K.A. "confuzedskull"

I. Troubleshooting
A. Windows
1. If the program doesn't run, then you must right click it and select "Run as Administrator"

B. Mac
1. If the message " "2dworld" was blocked from opening because it is not from an identified developer" pops up, do the following:
a. Go to System Preferences and click on Security & Privacy.
b. Somewhere near the bottom you'll see a message and then a button "Open Anyway". Click it.
c. A prompt will come up saying ""2dworld is a Unix applicaiton downloaded from the internet. Are you sure you want to open it?" Click open.

C. Linux
1. If you're using Linux, you can probably figure out how to get it running on your own.

II. Controls
A. Mouse
1. In-Game
a. left click an object to select it
b. left click empty space to deselect
2. RTS Objects (colored squares)
a. left drag down and right to create a selection box
b. right click empty space to set the rally point and make the selected object move to it
c. right click an object to make the selected object follow it
d. right drag to have the selected object follow the cursor
3. Draggable Objects (black squares)
a. left click and drag an object to move it around

B. Keyboard
1. Global
a. hold down or right arrow key to select next item in menu
b. hold up or left arrow key to select previous item in menu
c. press "enter" or "return" key to choose selected item in menu
2. In-Game
a. press 'i' to toggle information overlay
b. press 'esc' to pause/resume game
c. press "delete" to delete selected object
d. press "insert" to create object of previous selection
3. Physics Objects (gray squares)
a. hold 'W','A','S','D' to move up,left,down,right, respectively
b. hold 'Q' and 'E' to rotate

III. Known Bugs:
A. Global
1. The "insert" key doesn't work on Macs.
2. When navigating menus with the arrow keys, the selector sometimes gets stuck.
3. Some objects appear to twitch when moving.
4. Some textures have a blue hue.
B. Draggable Objects
1. While dragging, an object may get stuck on top of another object when they collide.
C. Physics Objects
1. Some of the object's physics values do not zero out when object is at rest.

Disclaimer:
This program uses the OpenGL Utility Toolkit(A.K.A."GLUT") created by Mark Kilgard.
Thanks to his work, creating cross-platform OpenGL applications is much easier.
Since GLUT is not open source, I have not touched any of the source files.
Instead, I have linked the library to the executable and included glut32.dll in the project directory.
For more information on GLUT, visit https://www.opengl.org/resources/libraries/glut/
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.