Jump to content

  • Log In with Google      Sign In   
  • Create Account

ByteTroll

Member Since 13 Sep 2012
Offline Last Active Yesterday, 07:49 PM

Posts I've Made

In Topic: Loading TMX files with SDL2 using Baylej's C library

26 March 2016 - 03:58 PM

What Fastcall is saying is that you make a call and store the result in a pointer, but then never do anything with that pointer. The data isn't lost until execution returns; in this case when you return true. When you check the value before return the value will still be valid as you are still within the lifetime of the routine. Your variable is null because you never store that value in the routine and then it returns execution.

In Topic: Building in a OS that you don't have (Cross-platform 2D engine)

16 March 2016 - 10:38 AM


Now I ask: Is it common for developers to build their projects in Virtual Machines or do I have to own physical Machines? Is there any other alternative for using VMs?

 

No, it is not common.  Most if not all of the developers I know have physical machines for testing.  Testing in a virtual machine is risky for many reasons; especially since a majority of your end users will not be running the build from within a virtual machine.  If you are going to build for Windows, have a native Windows machine with at least your bare minimum target hardware.


In Topic: Video Content in a Game

11 March 2016 - 11:42 AM

You will need a video library to open the video for you, and render the frame into a frame buffer for display. Same deal with the video's sound, except for a sound buffer or stream, it's usually streamed directly into what ever library you are using to control your sound.

This.

As a sidenote, I've worked on two games that use Adobe Flash for the cutscreens and the UI and I would recommend staying far away from Flash. The lack of tools aside, Flash is an absolute nightmare and you will spend more time fighting it then building on it.

In Topic: How C++ Programs Are Compiled (A Brief Look)

02 March 2016 - 03:39 PM

As someone who has written compilers, and who is currently writing a compiler, I found this blog post off. As Apoch said, most of it is skimmed, and in some places is wrong. With that being said, I found it to be an admirable attempt. To me, compilers aren't anything special. I would like to see some more in-depth coverage on linkers though. That is where the real magic happens, so to speak.

As far as advertising yourself, I recommend sticking the link in your profile quotes section (I know there is a name for it, but I am writing this from my phone and can't get to it).

In Topic: They called me crazy!

17 February 2016 - 05:40 PM

Actual (sanitized) quote from actual game source I've worked on:
 

#define NET_ERR_UNEXPECTED_SUCCESS                      DEF_ERROR(NET_ERR_BASE + 3)

 

Unexpected success, aye? To me, that sounds like an issue that only Guild Wars 2 would encounter smile.png


PARTNERS