sparkart's Profile User Rating: -----

Reputation: 113 Stalwart
Group:
Author w/DIC++
Active Posts:
692 (0.32 per day)
Joined:
16-February 09
Profile Views:
21,010
Last Active:
User is offline Today, 02:53 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Who Cares
Favorite Gaming Platform:
XBox
Your Car:
Who Cares
Dream Kudos:
1025

Latest Visitors

Icon   sparkart has not set their status

Posts I've Made

  1. In Topic: How to improve this bounding box collision so it looks more realistic?

    Posted 13 Dec 2014

    Basically all you do is check the position you want to move to before moving, and if it is free, then move. Perform the check individually for each direction:
    if (moveLeft)
    {
        if (collides(x-xx, y) == false)
            x -= xx;
    }
    
    


    So, to implement collides(), you want to check the bounding box of all of the collidables and see if the coordinates are within the bounding box.
    for (int i = 0; i < collidables.size(); i++)
    {
        vec2d v1, v2;
        v1 = collidables[i].getPosition();
        v2 = collidables[i].getSize();
    
        //Check if x and y are within bounds of collidable
        if (x > v1.getX() && x < v2.getX() && y > v1.getY() && y < v2.getY())
            return true;
        else
            return false;
    
    }    
    
    
  2. In Topic: Free engine for a 2D/2.5D MMORPG or with networking support?

    Posted 22 Nov 2014

    Cocos2d-X with something like Poco.

    Unreal Engine 4
  3. In Topic: confused by concept of making games C++. please help

    Posted 29 Oct 2014

    In my opinion, you should teach yourself how to learn new things. You can teach yourself how to program with the C++ language but it doesn't make you an expert at other things like an API or developing for a certain platform or developing a large scale project.

    You have to learn how to pick things up fast, like picking up the source code of a project or an API that you've never used before.

    Don't get caught up with the mentality of not being able to do something because you have no experience with it.


    My approach to anything is usually figuring out what the problem is and then figuring out the best approach to solve the problem. I don't think to myself that it has to be written in X because that's what I know.

    So I would say, don't look at it like you have to learn SDL or OpenGL or C++.... First ask yourself what you're trying to do. What is the end goal. Then work your way backwards on how to get to that goal.

    I think this is the best approach because it reveals what you do not know but is required for the end goal, opposed to spending so much time being proficient at something you would never know if you would use it or not.

    For example... you're so concerned about whether you should learn C++ or OpenGL or SDL. For what purpose? Let's say you learned one of the three... Now what?

    But lets say you're concerned with making a game... Work backwards to figure out how to do that... then you learn everything you need to make a game... then you have some experience with whatever you used to reach that goal. What you do doesn't matter too much to reach the end goal.
  4. In Topic: 2D game development from scratch...

    Posted 20 Feb 2013

    Based on your experience and end goal I would recommend you take a look at http://yoyogames.com/gamemaker

    It will take you time to learn C++.

My Information

Member Title:
D.I.C Addict
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Full Name:
Emmanuel Barroga
Years Programming:
5
Programming Languages:
breathing.

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

Page 1 of 1
  1. Photo

    vultren Icon

    03 Nov 2011 - 15:39
    It's tony. Been trying to get a hold of you, please call or get on skype!
  2. Photo

    ismail23 Icon

    24 May 2010 - 18:52
    Hi how are you, I have to program a game 'quiz' questions/answers in c++ and I want u to help me if it's possible.this's my e-mail:ismail.mzm@gmail.com
    there's 4 category in the game and the player can play in several one but he shouldn"tsurpass 10 questions.There's top10 of the game & category
  3. Photo

    doanviettrung Icon

    06 May 2010 - 03:00
    Hi Sparkart, I saw your name on the top10kudos list. Please read my post re machine consciousness in the Post-A-Job forum and tell me what you think, thanks.
  4. Photo

    4a4ik Icon

    07 Feb 2010 - 02:08
    EXPERT in c++ !!!!! :D
Page 1 of 1