Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

RedZombie125

@RedZombie125
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Naming trees...
    R RedZombie125

    This is probably a really weird question, but I've been working on a game in C++ for the past month or so, and I'm putting in a tree that runs away when the player talks/pokes it. So I came up with the name "Phil Collins" (First name that came to mind). Now I'm just wondering, is this a good name for a tree? :confused: Oh, I should probably point out that once this tree gets away, a message pops up which states that "[Tree's name] is watching you." *I can haz a cookie?*

    The Lounge question c++ game-dev data-structures

  • How to avoid Buffer Overrun?!
    R RedZombie125

    I don't actually know what you're trying to do with this, but a pretty common mistake is miscounting the number of elements you're trying to allocate, so while you might think you've allocated accurately, you could be one off, which causes lots of problems. :( For example: "Phil Collins" Has a total of 13 elements, even though there's actually 12 characters in "Phil Collins". A common mistake is to forget the '\0' character at the end of every C-style string, so the whole thing is thrown off. (BTW, I used "Phil Collins" because I named a tree after him in a video game I'm working on... Does Phil Collins work as a good name for a tree..?:confused:) I hope that helps; bits of source code would probably help though. *I can haz a cookie?*

    C / C++ / MFC performance tutorial question

  • What is your best code comment this year?
    R RedZombie125

    Mine's /*       This is the main file; it does almost nothing except start up       the application and keep the main message loop going. It's pretty       important despite that last sentence. That's why it's labeled       "main" and not something like "coconut" or "unimportant, delete on sight" */ :-O <---- What is this thing? :confused:

    The Lounge question database

  • Snow and physics
    R RedZombie125

    It's possible to use microwaves to melt snow, but you wouldn't be able to just turn the microwave oven inside out, that could take hours, if it did anything at all. :( As for the snowball, you would need A LOT of power to melt it that fast, and it would have to be focused all on the same point... Fun idea though :) Oh, another thing too, if you were planning on building something like this, just know that microwave ovens have gigantic capacitors in them (to create the radiation), which is not good if you happen to be taking one apart. :( That raccoon started it.

    The Lounge com game-dev tools question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups