Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 02 Dec 2012
Offline Last Active Dec 17 2013 12:48 AM

Posts I've Made

In Topic: What coding do you do outside of video games?

16 January 2013 - 01:38 AM

I've been learning programing for about 4 years and just a few months working on my first game. I study medicine so some of my apps are related to it. I've made a small program useful for the diagnosis of acid-base disorders, another one takes a sequence of nucleotides and gives the possible genes that can be obtained from it and their respective aminoacid sequences.

All of my projects are small, and most of them don't even have a GUI. I've worked on them for learning purposes.

I hope I can make a software for medical training with a database of questions and answers of common diseases, but first I have to finish my game (And I'm not even close to it).

In Topic: Blits per second

29 December 2012 - 09:04 AM

Thank you... 


So. if I want to do it could I do something like this:


int timerA = GetTime();   // GetTime returns miliseconds after the code started
int timerB;

  timerB = GetTime();

  if((TimerB - TimerA) >= 16)  // 16 is the aproximation to 1000 milisecs. / 60.
    blit(buffer, screen);
    timerA = GetTime();



Is there a better way to set the blitting at 60Hz (without using that aproximate value)? 

In Topic: Beginner Help

08 December 2012 - 12:23 AM

<BadEnglishAlert> Hi! You are young, and you have a nice path in front of you if you decide to keep working on this... You could start with more basic languages, even web or scripting ones... C/C++ might look really hard if you have no previous knowledge about programming, but there are a lot of good options that have a lot of documentation on the web, like Phyton. There are also tools like Blender that offer the posibility of integrate 3D design with game making...

Don't worry if you don't get it right now... You'll surely learn them later, just never give up if you enjoy this world.... </BadEnglishAlert>

In Topic: Dynamic memory and forced process closing

05 December 2012 - 06:01 PM

Thank you. I was thi.king that dynamic memory was not enough safe because of that.

In Topic: How To Save game

04 December 2012 - 07:15 PM

What if you make a file when you write all the information of the actual status of the game... Like the goals achieved, the position of the main character and enemies, and other specific information related to the game you are trying to make, like ammunition, health, weapons, etc. Then you can load that information, and set the values according to it...

I'm still a begginer, but I think it could work too... Posted Image