Jump to content
  • Advertisement

nunobarao

Member
  • Content Count

    41
  • Joined

  • Last visited

Community Reputation

185 Neutral

About nunobarao

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. nunobarao

    How should i manage intro animation

      I think you might've misunderstood me.    Just to be clear: I did not say that I'll get videos implemented anytime soon. I was merely pointing out to @achild that it's not so simple a task for a roughly average programmer to implement in a day without prior experience in that area. I suspect that, if and when I get around to it implementing it in my own project in a year or so, I'd guess it'd take me five to ten days to get it fully running.     My thank you goes to your information about 3rd party libs and about correcting achild information.  
  2. nunobarao

    How should i manage intro animation

      SFML itself doesn't have support for videos. There are third party libs that add support, but the two I tried in the past were buggy - one didn't work, the other I first had to update from SFML 1.x to SFML 2.x (easy enough), and then the video playback would stutter for reasons other than lag, and I didn't have time to debug it.   I just mention this because it's not as easy as "simply play the movie back using SFML". It is absolutely a programming issue. I still intend to get videos playing in my SFML project eventually, but whenever I do get around to it, it'll probably take me 10 days or so of work.   Thank you.
  3. nunobarao

    How should i manage intro animation

      Thank you
  4. nunobarao

    How should i manage intro animation

    The answer can and will depend on the type of intro animation. This is why L. Spiro suggested you post a video of a intro movie in the style you were thinking about, so more appropriate answers could be given.   Without that, you generally have a couple of options: - Prerendered movie -- potentially compressed with some movie codecs, or just a sequence of single images that are loaded and displayed in a simple/naive manner at a set pace. - In-game, scripted or AI driven -- a special "mode" in the game in which either a specific sequence of actions (including things like camera movement, sounds, dialogues, etc.) is played. This could also include recorded player input. Alternatively, driven by AI so it's not the same every time, or a variation of the two.   Depending on the type and quality of intro movie you're thinking about, there's a lot of different methods and tools to use in order to achieve your desired result. It's hard to give more concrete answers without more specific details.     I appreciate your answer in a way that conveys something where I can grab and research, and I realize that there may be several ways to get an animation of an intro, and forgive me my ignorance but I can not see how I can be clearer than I am already being. An animated intro, which tells a story of the game, an example: cut the rope game intro, or, angrybirds game intro. Link to cut the rope intro:  
  5. nunobarao

    How should i manage intro animation

    Why don’t you show an example of the type of animation for which you are looking? Most likely you aren’t looking for advice on making and playing movies.  For the rest, the answers vary wildly, from Flash to hard-coded sequences. You will need to show an example of the type of intro you want to make to get any meaningful responses.     L. Spiro     My dear L.spyro, you are right, I was a person very rude and formulated my question in a very unclear way. I will try again express my question in a more polite way and clear this time, I've noticed that a lot of people here are willing to correct others instead of helping, but this is only my opinion is worth what it's worth. Anyway, my intention is to know the process of making animation for the intro of a game, a perfect example to understand what I want exists in any game made today, but to be even specific and of course the best example would be the game "cut the rope", which has an animation to tell the story of the game for example. I am also aware that no one is obliged to work for anyone here, and my initial question was to find out whether someone could point me a source of information where I can begin to understand the process of doing this. thank you
  6. nunobarao

    How should i manage intro animation

      My Intent is to create an animation before load the menu, and make an animation before load the level and at end of the level as well. I´m using C++ with SFML. I´m also have my game structure setup, game loop, statestack, scenegraph etc, based on sfml book, and have been developing my gamelogic now, but it cross my mind i wanted those animations at this point, but that book doesn´t cover any type of information on this topic, so i´m kind a lost here, i have made a research and found poor information on the topic..
  7. nunobarao

    How should i manage intro animation

      My Intent is to create an animation before load the menu, and make an animation before load the level and at end of the level as well. I´m using C++ with SFML. I´m also have my game structure setup, game loop, statestack, scenegraph etc, based on sfml book, and have been developing my gamelogic now, but it cross my mind i wanted those animations at this point, but that book doesn´t cover any type of information on this topic, so i´m kind a lost here, i have made a research and found poor information on the topic..  
  8. Never realized how the animation intro of a game is done, I've thought that perhaps you have all the images of each frame of the animation, or have a video made and make the load. anyway, if it is made of any of these ways, What is the best way to do this? If anyone has an article or a good book on this, a really appreciate. Thank you.  
  9. nunobarao

    unique_ptr doubt

    Obrigado Álvaro.
  10. nunobarao

    unique_ptr doubt

      However, make_unique is a C++14 thing, so if your compiler does not implement it yet, you can use new directly as you did in your examples (or implement make_unique yourself; it's not terribly hard).   Thank you Josh.
  11. nunobarao

    unique_ptr doubt

    Yes that makes more sense to me know with inheritance. Problem solved Thank you.
  12. nunobarao

    unique_ptr doubt

      Ok now that you refer inheritance, i think that was my problem, i forgot to look at inheritance. Yes ClassB inherits from ClassA.  
  13. nunobarao

    unique_ptr doubt

    Hi, its been a while since my last post, i got some doubts with unique_ptr, and was thinking to request some help from you guys. So, if i had to make a std::unique_ptr<ClassA> foo(new ClassA()); i´m ok with that, i know that we are instantiate a new object with a unique pointer am i correct? correct me if i´m wrong. My problem begins when i want to create a std::unique_ptr<ClassA> foo(new ClassB()); Here i´m instantiate a new object from class B with a unique pointer to class A ??? I got confused here. If some one can give me a hint here or show me a good article or book on this topic i would appreciate a lot. thank you  
  14. nunobarao

    GameState, is this a good practice?

    Many thanks too both of you.
  15. nunobarao

    GameState, is this a good practice?

    Ok i think i got the answer, vectors... thank you .
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!