Questions tagged [source-code]

Question about games, libraries, etc. for which source code is available in some way.

Filter by
Sorted by
Tagged with
1
vote
1answer
28 views

Determining bordering irregular shapes from an image [closed]

Given only an image, I have to find a way of determining whether any two irregular bodies in that image are bordering one another. This is a map of districts, each with their own name, and my goal is ...
1
vote
0answers
42 views

How to find missing types of TArray-s of a script from Unreal docs? [duplicate]

I am trying to compile code from Unreal's official docs. Sadly, it just doesn't work out of the box. I noticed that the types params of all instances of the TArray variables are missing in the header, ...
9
votes
4answers
4k views

Switch statement efficiency in game code

Recently, I was digging into VVVVVVV's source code that was released on GitHub by Terry Cavanagh. I went into the Game.cpp file, and found that it contains an ...
2
votes
0answers
26 views

How can I distribute the source code of my project without the imported assets?

I have a Unity project that uses some assets that I downloaded for free in the Unity asset store. I would like to make my project open source and distribute its source code in GitHub. But, I do not ...
0
votes
1answer
18 views

Automation Tool Platform Error

I am trying to use the Automation tool, following the documentation. To create an Installed Build: Run the Installed Build Script by invoking the AutomationTool with the following command ...
0
votes
1answer
145 views

Deleting folders after a UE4 build

What folders, if any, can be safely deleted, after building UE4 from source? After the build, UE4 files occupy 65 GB of disk space, which is way above comfortable for me, since I only had 72 GB free. ...
0
votes
0answers
38 views

Implement a scale factor to apply to UCharacterMovementComponent::JumpZVelocity in Unreal Engine 4

I'm creating a my own movement component inherited by UCharacterMovementComponent. I should implement a scale factor (I called it JumpZVelocityScale) to apply the JumpZVelocity (and I don't want ...
0
votes
1answer
45 views

How to make changes to Pawn.cpp Unreal?

I am trying to figure out a problem related to CableComponents. As part of my learning and problem identification I'm trying to place some UE_LOGs/Debug Messages within Pawn.cpp and CableComponent....
-2
votes
1answer
105 views

What happens when a game is burned to a CD?

What is happening behind the scenes when you take a code base and "burn" it to a CD be read by a game console?
3
votes
3answers
4k views

How to create a delay/timer and fire an action once it expires in C# Monogame? [duplicate]

First off I'm somewhat new to C# but I'm working on a game in C# Monogame and I'm trying to get timers working. There was a similar question answered around here a while back but I found that the ...
-2
votes
2answers
211 views

What does this code mean in the source engine [closed]

I am working on a project in which I analyze acceleration in the Source engine. Being that I have very basic knowledge of computer science, I am not very proficient in understanding the syntax. The ...
1
vote
1answer
872 views

Compiling the Latest MonoGame.dll on GitHub

I've been searching for hours, but still I cannot find "How to compile the latest MonoGame source code from GitHub". I have tried cloning the GitHub project (develop branch) and I've been looking for ...
34
votes
3answers
15k views

Why don't game developers release their source code?

I was wondering why don't developers of AAA games release their source codes after their game has sold out and support is long gone? Of course there is this list, where you can find a lot of AAA ...
2
votes
1answer
209 views

How can I customize the DefaultInput.ini?

I need to make some bindings false. The ones are: .Bindings=(Name="W", Command="GBA_MoveForward") and the same for S, A, D, LEFT, RIGHT, and LeftControl.
5
votes
2answers
22k views

How can I modify PlayStation 1 games?

Is it possible to modify Sony PlayStation 1 games? For example I'm planning to modify a soccer game called Winning Eleven 3. What I'm exactly trying to modify is player properties such as speed, shot ...
2
votes
1answer
7k views

Structure of Visual C++ Projects in Visual Studio

In particular, I was wondering if it was possible for Visual Studio to treat source files in different directories as all in the same directory. I first saw this after purchasing the Introversion ...
0
votes
2answers
108 views

is a good practice to orgnize MVC classes in diferent packages? [closed]

Im,working on a project where the classes are organized by subject like gameplay, menus, utilities etc... Basically this 3 packages. is a good practice to organize classes in controller, view and ...
4
votes
3answers
335 views

How to understand huge code bases? [closed]

I read about game loops, read tutorials of simple games like Asteroids and programmed them by myself. Nevertheless if I try to start reading code of a game with many many thousand lines of code, I ...
2
votes
2answers
7k views

Is Minecraft's source code available? [closed]

I recall Mojang stating they would release the source code of Minecraft sooner or later, but searching both on google and on Minecraft sites I wasn't about to find it. So... is it available somewhere?...
1
vote
1answer
456 views

Pick and Drop the Ball Testing Without Replicating the Physics Frame

I am making a program that pick, drag, and drop the ball. In real life, once you pick the ball and drop it, whenever the available object is (what you see is what you get) will only be picked and ...
16
votes
2answers
21k views

What programming language were PS1 games written in?

Is there any common language that is used to create Play Station 1 Games? Or how can I find out what programming language is used for one of those games?
2
votes
1answer
2k views

Radiosity lightmap generation

Is there any working C++ source code for a lightmap generation algorithm using Radiosity or any other GI system? I've found technical papers only, but I can't really find any implementation.
2
votes
1answer
457 views

TF2 plugin signature (Source SDK)

I am working on the server plugin for TF2. I need it for getting some stats from game (no hacking and cheating). My problem: I got message "No valid signature found..." while testing my plugin. But I ...
1
vote
2answers
763 views

How is JS source protected in Chrome games?

I was playing a space arcade shooter https://moonbreakers.com/ and tried to see some of the JS and shader code. However, I was unable to find anything but some server communication code. Game code is ...
0
votes
1answer
487 views

Why wont SVN work on the Google Code Source? [closed]

I installed SVN Toroise. I then proceeded to the desktop and right clicked and clicked on SVN checkout. I then entered under the URL of Repository "http://apple-crunch.googlecode.com/svn/trunk/ ...
1
vote
2answers
2k views

How do I get the source code from a Google Code game project?

I'm trying to get the Hedgewars source code. When I went to the downloads tab, it doesn't specify which is the actual game. I tried downloading it using the SVN Checkout on Tortoise, but it seems ...
15
votes
9answers
21k views

What's a good Open Source game to learn from? [closed]

I want to download the source code of an Open Source game, so I can get familiar with game architecture. Does any one know of a game with source code that's legible, and easily understandable? Edit: ...
8
votes
2answers
2k views

Java code for client-server game on Android

I have developed a game on Android. Now I want to play it on wifi or 3G. I have game packets which I want to send form client (mobile) to server then to another client (mobile). I don't know how to ...
15
votes
4answers
4k views

Open source component-based game or engines?

I've read some about component-based game design but am still having some trouble figure out how exactly you'd go about implementing it. Are there any good examples of component-based games or game ...
16
votes
4answers
12k views

MUD source code [closed]

I haven't been able to find a lot of the old, open source mud source codes. I find the way they did things very applicable to text-based/browser based games, and I'd love to be able to skim through ...
3
votes
3answers
10k views

Learning to write a solitaire game [closed]

Many years ago I did some programming in TurboPascal (on DOS!), but have not programmed since. Since retiring, I have "invented" a few solitaire games that I have given to people who sell solitaire ...
15
votes
5answers
6k views

What is the best designed open source game engine to take example? [closed]

Possible Duplicate: Where can I find good (well organized) examples of game code? I have coded several C++ games and now I'm building my own game engine and editor. I have some doubts about the ...
5
votes
3answers
4k views

Are there any PS3 games whose source code is open source? [closed]

Random question, but are there any PlayStation 3 games whose source code is available to the public to view? I have no experience developing computer games (my experience is in developing websites ...
12
votes
1answer
2k views

How can one compile Darwinia under Linux? [closed]

Introversion is now offering the Darwinia+Multiwinia source for sale, stating Note: You will need Windows and Visual Studio 2008 to build the games. We have tested that the code compiles correctly ...