Jump to content

  • Log In with Google      Sign In   
  • Create Account


infectedbrain

Member Since 21 Aug 2010
Offline Last Active Dec 30 2012 10:55 PM
-----

#5015777 How should I approach my first random map generator?

Posted by infectedbrain on 30 December 2012 - 10:36 AM

it'd be easier to help you if you told us a bit more about the gameplay mechanics, instead of us tossing out random information that may, or may not help you.

 

The game I am making now is more or less a top down, real-time clone of Fallout 1. It will have the same style and kind of levels, junkyards filled with crappy cars, ruined cities with buildings, and deserts with nothing but rocks.

 

This project is just for me to learn how to generate levels so it isn't going to be as extensvie as Fallout so the levels don't need to be amazing. I am guessing I will need a different level generation algorithm for each type of level but I assume that if I learn how to make it for one, the rest shouldn't be that hard.

 

I just in game generate rooms on a plane and then use a star to interconnect these with each other. Seeing my game is cube based I actually do this for multiple levels and then afterwards generate the geometry, collision information and room items from that in memory map. this will only allow you to generate grid aligned paths or rooms but generally works fairly well for a find the exit type of game. I also do not care whether paths cross each other, I do have to mention.

 

What do you mean by "use a star to connect them"?




#5000782 Ideas for Lua integration in a game engine.

Posted by infectedbrain on 13 November 2012 - 10:20 PM

So basically I would write functions into the C++ classes (components) and just make lua bindings for them then call them in lua? that sounds.... genius.


#5000645 Ideas for Lua integration in a game engine.

Posted by infectedbrain on 13 November 2012 - 01:32 PM

I am working on my first ACTUAL game enigne and I wanted some advice from the good people who roam these fourms.

I plan on using LuaJIT as a scripting language for the game but I am not sure how it is usually integrated. I can come up with some simple way to get it in the engine but what I wanted some advice on was.. really what to use Lua for.

In what systems should I integrate Lua (I know AI is one but that's it) and, if you don't mind, could you spare some tips for integrating it?

Thanks in advance,
Dartos


#4990048 How can my program detect if the player hits a wall/floor ceiling

Posted by infectedbrain on 14 October 2012 - 08:37 AM

I am making a little side scroller where this little guy bounce off of walls.

I am having this pretty big problem where I can't tell if the player is bouncing off a wall/floor/ceiling.

can anyone help me out with this?

thanks in advance,
Dartos


#4976082 Game Scripting question

Posted by infectedbrain on 03 September 2012 - 08:59 AM

You would need to make a whole library that would parse your script. Making a script is kind of like making a whole new programming language except making a script parser is easier than making a compiler but it's still much faster if you use a premade one. If you really want to use a scripting language (especially if you are just starting using scripts) you should use lua or python because they are premade to work with C++ (actually lua is made for C but it works for C++ if you read the readme)

Lua is super fast and python has more functionality. Just in case you wanted to know the difference


#4954745 How do I make a voxel renderer?

Posted by infectedbrain on 01 July 2012 - 09:17 PM

So I'm torn because when posters such as yourself ask a question like this in this way, I think to myself "what he's trying to do is waaaaaaaaaaay past his skill level. He should start with something smaller/easier." However, I don't want to push you away from experimenting and learning new things.

So I'll ask this, what research have you done on voxels and voxel renderers?


I know what a voxel renderer is and how it compares to a traditional polygon renderer. There is nothing wrong with asking an advance question. If I find it too hard to do I will simply not do it until I can. There is no reason to say "I'm not going to help you because I think you don't know enough." So please don't post things like that again. Its kinda hurtful.


#4948243 How do I make a voxel renderer?

Posted by infectedbrain on 11 June 2012 - 12:54 PM

What do i need to know, or what tools do i need, to program a voxel renderer. Do i need openGl or something different?

I want to make one for a school project. I just need to render a sphere in a voxel renderer but i have no idea where to begin.

Thanks in advance,
Dartos


PARTNERS