Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your help!

We need 7 developers from Canada and 18 more from Australia to help us complete a research survey.

Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!


Member Since 05 Jul 2002
Offline Last Active Yesterday, 08:28 PM

#5058010 I need functional language algorithm help

Posted by Alpha_ProgDes on 30 April 2013 - 02:48 AM

And the scheme/racket version of your code:


(define (insert-everywhere c string)
  (local [(define (recursive-insert string-before string-after)
            (local [(define new-word (append string-before (cons c string-after)))]
                [(empty? string-after) (list new-word)]
                [else (cons new-word 
                              (append string-before (list (first string-after))) 
                              (rest string-after)))])))]
  (recursive-insert empty string)))

(insert-everywhere "w" (list "e" "a" "r"))

#5057585 Scared that Nintendo will say that one word: "NO!" (need input)

Posted by Alpha_ProgDes on 28 April 2013 - 05:33 PM

Once you start using copyrighted material, the answer is gonna be 'no'. No matter how much credit you give them. You can make the game and show a YouTube video, but that's about it. Distributing a game, even for non-profit and "academic" purposes is gonna get a C&D letter from Nintendo. You're better off just making your own graphics, sounds, and music.


In short, you won't be getting a 'yes'. Ever.

#5057406 I need functional language algorithm help

Posted by Alpha_ProgDes on 27 April 2013 - 11:28 PM

First let me say this, this problem is from How To Design Programs, 2nd Edition (Chapter 4, Section 4.5.1).
Second, this is not homework. I'm self-learning.
Now, I've made two attempts at this problem. First and Second. My issue is that I know I'm doing something wrong. But I don't know what it is. My process of going through the problem is jacked somehow. In the first attempt, the code looks like right. I'm using recursion, following the steps the book has laid out (to the best of my understanding). But the result produced is the answer plus junk. In the second attempt, there is some recursion and helper functions. And the answers are correct. However, the code feels .... wrong. As if I didn't do it the Scheme way. It's like writing C with classes and not idiomatic C++. It's right, but it's wrong.
So any tips, hints, pointing in the right direction, would be greatly appreciated.

#5050428 Looking to get into sprite-based 2D game programming

Posted by Alpha_ProgDes on 05 April 2013 - 03:45 PM

As far as what direction to go, I would suggest: this article and this article.


As far as libraries and tutorials, I would suggest Lazy Foo's SDL or Seraph's SFML tutorials for starters.

#5050234 Finished my first C++ book, where to go from here?

Posted by Alpha_ProgDes on 05 April 2013 - 02:47 AM

Google "Lazy Foo SDL" and the article (link in my signature) below.

#5048141 What do you expect a Software Engineer to know?

Posted by Alpha_ProgDes on 29 March 2013 - 04:00 PM

How is that different from the similar question asked three weeks ago?


Honestly, I don't understand how it's similar. Secondly, I didn't even see that thread 3 weeks ago. That thread is talking about someone with a CS degree trying to make in the Game Dev industry. I'm talking about someone with a job title of SE doing work related to SE, not CS, not AI, not level design, not graphics.

#5048135 Education-related questions from a beginner.

Posted by Alpha_ProgDes on 29 March 2013 - 03:45 PM

MIT, Stanford and some others have free online courses on teaching programming. Also, if you don't have a degree, then having a portfolio is going to be very important. Having a couple of certifications wouldn't hurt either, but that's secondary to the portfolio. You should expect to devote at least 2 years to learning C++ (or any language for that matter). If you are aiming for game development, make sure you have polished games and well written code. And just as important, make sure you can understand and explain that code if asked what it does and why you chose to code it the way you did.

#5047926 Which is easier to program C# or Java?

Posted by Alpha_ProgDes on 29 March 2013 - 03:23 AM

I don't think that's right. Java has languages built on topof the JVM such as: groovy clojure and scala. IIRC, those languages are built on top of the jvm IL. Java is just capable as .NET. And Java is just as capable as C#. Though I agree that their libraries are a mess and their new lambda expressions don't impress, that's still a personal issue and not technical reason of why one is better than the other.

#5047116 Fire Magic

Posted by Alpha_ProgDes on 26 March 2013 - 08:45 PM

Fire walls, meteors, flamethrowers, fire dragons (ie. fire in the shape of dragons) are off the top of my head.

#5047076 Where Should I Start? [Noob]

Posted by Alpha_ProgDes on 26 March 2013 - 06:03 PM

Because this question is slightly different, I'll answer this way. Continue to make games in Game Maker. As for 3D, if you're sure that you are going to use Unity, then start reading the tutorials and such for Unity. As far as friendly articles go, you should check out the articles on this site.

#5046984 Where to start?

Posted by Alpha_ProgDes on 26 March 2013 - 12:33 PM

First, read me. That covers the technical bits and bobs. Including your language, book and environment questions.


Second, realize that even a SNES calibre 2D game is the work of months to years.  For your very first project think much smaller or you are setting yourself up for failure.


After you read his article --and you should-- read this article to get an idea of how to further proceed.

#5046722 Completly new

Posted by Alpha_ProgDes on 25 March 2013 - 07:26 PM

thank you guys you have all been helpfull i am learning and using c# as i am writing this lol, thanks especially to inuyashakagome16 i think is how you spell it :/ for that rb whitaker's link i found it incredibly helpfull but still nothing on how to make menus and things? :/ but you have all been fantastic help to me and if you do have any knowlege on how to make a menu i would most appreciate it as that is my first step in making my game. once agian thank you and i hope i can one day show you (when im more experienced) some of the work i will create big thank you to you guys please continue being a big help to poeple smile.png


That Super Mario link has 3 tutorials. One of the tutorials is how to make a menu :)

#5046375 Completly new

Posted by Alpha_ProgDes on 24 March 2013 - 05:53 PM

There's a Super Mario clone tutorial for XNA 4.0already up, if you want to look at that.

#5046227 Help me understand .cpp vs .h in C++

Posted by Alpha_ProgDes on 24 March 2013 - 09:21 AM


#include "sdl_functions.h"

class Level {

    int width, height;
    int map_grid[20][20];

    void display_grid();


Separate your .h and .cpp files again and use the version I have posted. Does this help any? Or change any of the errors?

#5046073 Tetris clone in BASH script

Posted by Alpha_ProgDes on 23 March 2013 - 04:50 PM

It's like HTML with variables...


Or Superman with no kryponite...