Search found 10 matches

by A Person
Thu Sep 23, 2010 10:17 pm
Forum: General/Off-Topic
Topic: ipad
Replies: 2
Views: 575

Re: ipad

I'm pretty sure there is a vnc viewer and server for the iphone that probably works on the ipad too. I know for sure you can control your ipad/iphone from the computer.
by A Person
Sun Aug 01, 2010 5:57 pm
Forum: Programming Discussion
Topic: The Word Game, C++ edition!
Replies: 15
Views: 1698

Re: The Word Game, C++ edition!

#include <iostream> #include <ctype.h> //tolower() anyone? ;) lol hellz yeah int main() { bool exit=false; int i = 100; while (exit == false) { std::cout << "Welcome to the Elysian Shadows Word Game!\n\n"; std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl; char ans...
by A Person
Sat Jul 31, 2010 7:14 pm
Forum: Programming Discussion
Topic: The Word Game, C++ edition!
Replies: 15
Views: 1698

Re: The Word Game, C++ edition!

#include <iostream> int main() { bool exit=false; while (exit == false) { std::cout << "Welcome to the Elysian Shadows Word Game!\n\n"; int i = 100; std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl; if(i <= 0) { exit = true; } } return 0; }
by A Person
Sat Jul 31, 2010 1:17 pm
Forum: Programming Discussion
Topic: The Word Game, C++ edition!
Replies: 15
Views: 1698

Re: The Word Game, C++ edition!

Code: Select all

#include <iostream>
int main()
{
    bool exit=false;
    while (exit == false)
    {
        std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
        int i = 100;
    }
    return 0;
}
by A Person
Wed Jul 14, 2010 11:33 am
Forum: Programming Discussion
Topic: Enemy movement
Replies: 14
Views: 1276

Re: Enemy movement

Perhaps it would be wiser in this situation to use absolute values: CODE: SELECT ALL if (LeftCollides()) { deltaX = abs(deltaX); } if (RightCollides()) { deltaX = -abs(deltaX); } ... x += deltaX; I'm pretty sure that would be unesscerary and may even cause a problem i would just stick to inverting ...
by A Person
Wed Jul 14, 2010 3:25 am
Forum: Programming Discussion
Topic: Enemy movement
Replies: 14
Views: 1276

Re: Enemy movement

To switch directions just before you add the velocity to the position invert the velocity like so.

Code: Select all

velocity.x = -velocity.x;
velocity.y = -velocity.y;
by A Person
Tue Jul 13, 2010 3:40 am
Forum: Programming Discussion
Topic: A small coding question
Replies: 16
Views: 1366

Re: A small coding question

I'm not quite sure exactly what your doing here but what i would do would be to have a point in circle function where you pass in the soccer position and the circle origin and radius or something. Then if the point is not in the circle undo the last movement of the ball. I'm not going to explain poi...
by A Person
Mon Jul 12, 2010 3:31 am
Forum: Programming Discussion
Topic: Programmer's Education Index
Replies: 63
Views: 62800

Re: Programmer's Education Index

Heres a good one for getting started on iPhone Development:

http://www.71squared.com/
http://www.71squared.com/community/
by A Person
Mon Jul 12, 2010 3:25 am
Forum: Programming Discussion
Topic: Objective-C Property Question
Replies: 3
Views: 419

Re: Objective-C Property Question

I don't ever retain my NSStrings but retain just adds +1 to the reference count so as to prevent EXC_BAD_ACCESS because of missing memory
by A Person
Mon Jul 12, 2010 3:22 am
Forum: Programming Discussion
Topic: Develop on Jailbroken iPhone iOS 4 without Developer Account
Replies: 17
Views: 2126

Re: Develop on Jailbroken iPhone iOS 4 without Developer Account

You can also buy Snow Leopard OS and then patch it to run on a PC as long as your PC is compatible but it's best to just buy a mac