Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Scipi

Pages: 1 ... 94 95 [96] 97 98 ... 139
1426
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: October 25, 2011, 08:30:27 pm »
2280: Making 10 games a week for Omni to recognize u

2288. You have like 10 projects that have no hype (sad, but true)

2289. You know they'll be epic when finished though

1427
Other Calculators / Re: Guess the news!
« on: October 25, 2011, 01:49:03 pm »
Did you manage to downgrade the calc OS? Perhaps even through Lua?

1428
Other Calculators / Re: Guess the news!
« on: October 25, 2011, 01:45:39 pm »
Um... ndless?

New boot code or new version of the Nspire? :S

1429
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: October 25, 2011, 09:17:10 am »
2264: You used ReCode back in the days before Grammar

2265: You make a program that runs in Axe and Grammar

1430
Introduce Yourself! / Re: Haven't gotten around to introducing myself!
« on: October 24, 2011, 07:34:22 pm »
Hello pokemonrules. I actually saw you before in the members list and saw you joined a while ago. :D

Oh, and I've got a question

Spoiler For Spoiler:
How do you juggle? :P

That's pretty impressive! O_O

Hope to see you around the forums :D

1431
Computer Programming / Re: Small bug that I need help fixing
« on: October 24, 2011, 03:02:33 pm »
Ok, well. Since it appears that no one can figure out the bug, is there a way I could make smooth animations for moving without freezing the entire program in a while loop? I don't want to do threads but the way I do it now doesn't seem to work properly. :S

1432
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: October 24, 2011, 06:40:18 am »
2249: You brain has a 42.0 USB port

2250: You upgrade it to 9001.0

1433
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: October 23, 2011, 07:11:52 pm »
2244: You did it from your calc :P

1434
Computer Programming / Small bug that I need help fixing
« on: October 23, 2011, 11:29:54 am »
Hello,

I'm nearly finished the movement engine for Daemons but I'm running into a bug. The view is moving faster than the character, particularly moving up/left.

Here's the code:

http://pastebin.com/5BhjsFN9

Edit: Here's the project if you want to see the bug yourself/look at the entire source :D http://dl.dropbox.com/u/10573921/Daemons.zip

1435
Computer Programming / Re: Help with C++
« on: October 22, 2011, 02:50:33 pm »
Oh. I want to help as well. I need a project to do, lol ^^

1436
Computer Programming / Re: Help with C++
« on: October 22, 2011, 02:30:25 pm »
SFML or SDL. OpenGL is very complex and takes a lot to learn.

1437
Computer Programming / Re: Reading tilemap algorithm
« on: October 22, 2011, 02:23:44 pm »
You are reading from a text file, so what you are reading is going to be a char data type. However, the array is an int so there's going to be issues there. I use the code:

Code: [Select]
MapData[i] = (int)mapblock[i];

to fix that in my file loading as it changes the char to an int. (Also, the function posted above is quite fast, speed won't be a problem between C/C++) ;)

1438
Computer Programming / Re: Reading tilemap algorithm
« on: October 22, 2011, 02:13:18 pm »
Are you casting to an int after you read from the file? Because that might be the problem.

In Daemons I read from a binary file and I read to a memblock equal to the size of the file - 2 bytes for size data.

I then copy that memblock to a vector for use in the game. ;)

Perhaps you could try that. (Is this only going to be C or C++?)

EDIT: Here's my code:

Code: [Select]
fstream map;
    string map_path;//Holds the path to the files

    try
    {


        map_path = "data/maps/visual/" + mapID;

        map.open(map_path.c_str(), ios::in|ios::binary);
        char memblock[2];
        //char* mapblock;
        if(map.is_open())
        {
            //memblock = new char [2];
            //map.seekg(0, ios::beg);
            map.read(memblock, 2);

            MapWidth = memblock[0];
            MapHeight = memblock[1];
            //delete[] memblock;
            char mapblock[MapWidth * MapHeight];
            MapData.resize(MapWidth * MapHeight);
            //map.seekg(2, ios::beg);
            map.read(mapblock, MapWidth * MapHeight);
            for(int i = 0; i < (MapWidth * MapHeight); i++)
                MapData[i] = (int)mapblock[i];
            //cout << MapData[0];
            //cout << map_path.c_str();

            map.close();
        }

}
    catch(exception& e)
        {cout << e.what() << "\n";}
    return;

1439
Computer Programming / Re: Help with C++
« on: October 22, 2011, 01:45:35 pm »
Ok, a good compiler that's easy to set up is called MinGW. Download the installer here

Then run the installer and install MinGW to a directory without spaces. The best place is the default C:/MinGW/

After that, go ahead and add it to your path by right clicking on "My Computer" then "Properties" then "Advanced System Settings" and finally, "Environment Variables". In the System variables field scroll down till you find "PATH". Click on it and then hit edit. Copy/Paste the directory to MinGW/bin/ onto the end of the path and add a semicolon.

And you have your compilation. :) A good IDE to use is code::blocks. Just download the windows installer and run it and you can compile with F9.

For drawing on the screen, use a library such as SFML or SDL. Just add the files in the "include" folder inside the libraries to "MinGW/include" and the same for "lib".

Hope that helps! :D

EDIT: Ninja'd :P

1440
Portal X / Re: Portal X
« on: October 20, 2011, 07:07:22 pm »
I would also like to be a beta tester for this, when you are ready to release a closed-beta. I actually have experience as a beta tester actually :P
* HOMER-16 is currently under a NDA... Fun ^_^

Pages: 1 ... 94 95 [96] 97 98 ... 139